
NUC126
Aug. 08, 2018
Page
283
of 943
Rev 1.03
NUC12
6 S
E
RI
E
S
T
E
CH
NI
CA
L R
E
F
E
RE
NCE
MA
NUA
L
ADC Status Register0 (ADC_ADSR0)
Register
Offset
R/W
Description
Reset Value
ADC_ADSR0
0x90
R/W
ADC Status Register0
0x0000_0000
31
30
29
28
27
26
25
24
CHANNEL
Reserved
23
22
21
20
19
18
17
16
Reserved
OVERRUNF
15
14
13
12
11
10
9
8
Reserved
VALIDF
7
6
5
4
3
2
1
0
BUSY
Reserved
CMPF1
CMPF0
ADF
Bits
Description
[31:27]
CHANNEL
Current Conversion Channel (Read Only)
When BUSY=1, this filed reflects current conversion channel. When BUSY=0, it
shows the number of the next converted channel.
[26:17]
Reserved
Reserved.
[16]
OVERRUNF
Overrun Flag (Read Only)
If any one of OVERRUN (ADDRx[16]) is set, this flag will be set to 1.
Note:
When ADC is in burst mode and the FIFO is overrun, this flag will be set to 1.
[15:9]
Reserved
Reserved.
[8]
VALIDF
Data Valid Flag (Read Only)
If any one of VALID (ADDRx[17]) is set, this flag will be set to 1.
Note:
When ADC is in burst mode and any conversion result is valid, this flag will be
set to 1.
[7]
BUSY
BUSY/IDLE (Read Only)
This bit is a mirror of ADST bit in ADCR register.
0 = A/D converter is in idle state.
1 = A/D converter is busy at conversion.
[6:3]
Reserved
Reserved.
[2]
CMPF1
Compare Flag 1
When the A/D conversion result of the selected channel meets setting condition in
ADCMPR1 register then this bit is set to 1; it is cleared by writing 1 to it
0 = Conversion result in ADDR does not meet ADCMPR1 setting.
1 = Conversion result in ADDR meets ADCMPR1 setting.
[1]
CMPF0
Compare Flag 0
When the A/D conversion result of the selected channel meets setting condition in
ADCMPR0 register then this bit is set to 1. This bit is cleared by writing 1 to it.
0 = Conversion result in ADDR does not meet ADCMPR0 setting.
1 = Conversion result in ADDR meets ADCMPR0 setting.