NuMicro® NUC029LEE/NUC029SEE
32-bit Arm
®
Cortex
®
-M0 Microcontroller
Aug, 2018
Page
476
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
ADST
(ADCR[11])
sample
CHANNEL[3:0]
0000b
0010b
0011b
1000b
ADDR0
ADDR2
ADDR3
ADDR8
Single-cycle scan on channel 0, 2, 3 and 8 (ADCHER[12:0] = 0000100001101b)
SAR[12:0]
R0
R0
R2
R3
R8
R2
R3
R8
Figure 6.17-4 Single-Cycle Scan on Enabled Channels Timing Diagram
6.17.5.4 Continuous Scan Mode
In continuous scan mode, A/D conversion is performed sequentially on the specified channels
that enabled by CHEN bits (ADCHER[12:0] ). The operations are as follows:
1.
When the ADST bit (ADCR[11]) is set to 1 by software, A/D conversion starts on the
channel with the smallest number.
2.
When A/D conversion for each enabled channel is completed, the result of each enabled
channel is stored in the A/D data register corresponding to each enabled channel.
3.
When A/D converter completes the conversions of all enabled channels sequentially, the
ADF bit (ADSR[0]) will be set to 1. If the ADC interrupt function is enabled, the ADC
interrupt occurs. The conversion of the enabled channel with the smallest number will
start again if software has not cleared the ADST bit.
4.
As long as the ADST bit remains at 1, the step 2 ~ 3 will be repeated. When ADST is
cleared to 0, ADC controller will stop conversion.
An example timing diagram for continuous scan on enabled channels (0, 2, 3 and 9) is shown
below: