ADC12 Operation
20-13ADC12
Repeat-Single-Channel Mode
A single channel is sampled and converted continuously. The ADC results are
written to the ADC12MEMx defined by the CSTARTADDx bits. It is necessary
to read the result after the completed conversion because only one
ADC12MEMx memory is used and is overwritten by the next conversion.
Figure 20−8 shows repeat-single-channel mode
Figure 20−8. Repeat-Single-Channel Mode
ADC12
off
x = CSTARTADDx
Wait for Enable
ENC =
Wait for Trigger
Sample, Input
Channel Defined in
ADC12MCTLx
ENC =
ENC =
SHSx = 0
and
ENC = 1 or
and
ADC12SC =
SAMPCON =
SAMPCON = 1
Convert
SAMPCON =
12 x ADC12CLK
Conversion
Completed,
Result Stored Into
ADC12MEMx,
ADC12IFG.x is Set
1 x ADC12CLK
ADC12ON = 1
CONSEQx = 10
MSC = 1
and
SHP = 1
and
ENC = 1
ENC = 0
(MSC = 0
or
SHP = 0)
and
ENC = 1
x = pointer to ADC12MCTLx