NuMicro® NUC029LEE/NUC029SEE
32-bit Arm
®
Cortex
®
-M0 Microcontroller
Aug, 2018
Page
491
of
497
Rev 1.00
N
U
MICRO
®
N
UC02
9L
E
E
/N
UC029
S
E
E
T
E
CHN
ICA
L R
E
F
E
R
E
NC
E
M
A
NU
A
L
ADC Status Register (ADSR)
Register
Offset
R/W
Description
Reset Value
ADSR
0x30
R/W
ADC Status Register
0x0000_0000
31
30
29
28
27
26
25
24
OVERRUN1
VALID1
23
22
21
20
19
18
17
16
OVERRUN0
15
14
13
12
11
10
9
8
VALID0
7
6
5
4
3
2
1
0
CHANNEL
BUSY
CMPF1
CMPF0
ADF
Bits
Description
[31:28]
OVERRUN1
Overrun Flag
It is a mirror to OVERRUN bit (ADDR8~11[16]).
It is read only.
[27:24]
VALID1
Data Valid Flag
It is a mirror of VALID bit (ADDR8~11[17]).
It is read only.
[23:16]
OVERRUN0
Overrun Flag
It is a mirror to OVERRUN bit (ADDR0~7[16]).
It is read only.
[15:8]
VALID0
Data Valid Flag
It is a mirror of VALID bit (ADDR0~7[17]).
It is read only.
[7:4]
CHANNEL
Current Conversion Channel
This field reflects the current conversion channel when BUSY = 1 (ADSR[3]). When BUSY
= 0, it shows the number of the next converted channel.
It is read only.
[3]
BUSY
BUSY/IDLE
0 = A/D converter is in idle state.
1 = A/D converter is busy at conversion.
This bit is mirror of as ADST bit (ADCR[11]).
It is read only.
[2]
CMPF1
Compare Flag
When the selected channel A/D conversion result meets setting condition in ADCMPR1
then this bit is set to 1. And it is cleared by writing 1 to self.
0 = Conversion result in ADDR does not meet ADCMPR1 setting.
1 = Conversion result in ADDR meets ADCMPR1 setting.