Texas Instruments CC2650DK Benutzerhandbuch

Seite von 1570
AUX – Sensor Controller Registers
17.8.2.2 STAT Register (Offset = 4h) [reset = X]
STAT is shown in
and described in
.
Status
Figure 17-11. STAT Register
31
30
29
28
27
26
25
24
RESERVED
R-X
23
22
21
20
19
18
17
16
RESERVED
R-X
15
14
13
12
11
10
9
8
RESERVED
R-X
7
6
5
4
3
2
1
0
SAT
DONE
STATE
R-X
R-X
R-6h
Table 17-30. STAT Register Field Descriptions
Bit
Field
Type
Reset
Description
31-8
RESERVED
R
X
Software should not rely on the value of a reserved. Writing any
other value than the reset value may result in undefined behavior.
7
SAT
R
X
Saturation flag for TDC measurement 0: Conversion has not
saturated 1: Conversion stopped due to saturation This field is
cleared when starting new measurement or setting CTL.CMD to
CLR_RESULT
6
DONE
R
X
Measurement complete flag 0: Measurement not yet complete 1:
Measurement complete This field is cleared when starting new
measurement or setting CTL.CMD to CLR_RESULT
5-0
STATE
R
6h
TDC internal state machine status
0h = Current state is TDC_STATE_WAIT_START
4h = Current state is TDC_STATE_WAIT_STARTSTOPCNTEN
6h = Current state is TDC_STATE_IDLE
7h = Current state is TDC_STATE_CLRCNT
8h = Current state is TDC_STATE_WAIT_STOP
Ch = Current state is TDC_STATE_WAIT_STOPCNTDOWN
Eh = Current state is TDC_STATE_GETRESULTS
Fh = Current state is TDC_STATE_POR
16h = Current state is TDC_STATE_WAIT_CLRCNT_DONE
1Eh = Current state is TDC_WAIT_STARTFALL
2Eh = Current state is TDC_FORCESTOP
1223
SWCU117A – February 2015 – Revised March 2015
AUX – Sensor Controller with Digital and Analog Peripherals
Copyright © 2015, Texas Instruments Incorporated