NuMicro® NUC029LEE/NUC029SEE
32-bit Arm
®
Cortex
®
-M0 Microcontroller
Aug, 2018
Page
473
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
6.17.3 Block Diagram
12-bit DAC
A
/D
S
ta
tu
s
R
e
g
is
te
r
(A
D
S
R
)
Analog Control
Logics
Successive
Approximations
Register
A
/D
D
a
ta
R
e
g
is
te
r
0
(A
D
D
R
0
)
A
/D
D
a
ta
R
e
g
is
te
r
1
(A
D
D
R
1
)
A
/D
D
a
ta
R
e
g
is
te
r
1
1
(A
D
D
R
1
1
)
:
.
+
-
Digital Control Logics
&
ADC Clock Generator
A
/D
C
o
n
tr
o
l
R
e
g
is
te
r
(A
D
C
R
)
A
/D
C
h
a
n
n
e
l
E
n
a
b
le
R
e
g
is
te
r
(A
D
C
H
E
R
)
A
/D
C
o
m
p
a
re
R
e
g
is
te
r
(A
D
C
M
P
R
)
..
.
ADC0
ADC1
ADC11
1
6
t
o
1
A
n
a
lo
g
M
U
X
Sample and Hold
Comparator
PDMA
request
RSLT[11:0]
ADC_INT
STADC
Analog Macro
A
D
C
c
lo
c
k
a
n
d
A
D
C
s
ta
rt
s
ig
n
a
l
V
REF
A
D
C
c
h
a
n
n
e
l
s
e
le
c
t
A
P
B
B
u
s
VALID & OVERRUN
ADF
A
D
C
c
o
n
v
e
rs
io
n
f
in
is
h
ADC7
V
BG
00
01
PRESEL[1:0]
V
TEMP
Reserved
10
11
AIN[7]*
..
.
* AIN[7] source is selected by PRESEL[1:0]
Figure 6.17-1 ADC Controller Block Diagram
6.17.4 Basic Configuration
The ADC Controller clock source is enabled by ADC_EN bit (CLK_APBCLK[28]). After user change
the GPA_MFP, GPB_MFP and GPC_MFP register to ADC analog input, user need set OFFD
(GPIOA_OFFD [23:16], GPIOB_OFFD [31], GPIOC_OFFD [23:22], GPIOC_OFFD [31:30]) = 1 to
disable digital input path.