ADC12 Operation
20-12 ADC12
Sequence-of-Channels Mode

A sequence of channels is sampled and converted once. The ADC results are

written to the conversion memories starting with the ADCMEMx defined by the

CSTARTADDx bits. The sequence stops after the measurement of the

channel with a set EOS bit. Figure 207 shows the sequence-of-channels

mode. When ADC12SC triggers a sequence, successive sequences can be

triggered by the ADC12SC bit. When any other trigger source is used, ENC

must be toggled between each sequence.

Figure 207. Sequence-of-Channels 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 = 01
MSC = 1
and
SHP = 1
and
EOS.x = 0
EOS.x = 1
If x < 15 then x = x + 1
else x = 0 If x < 15 then x = x + 1
else x = 0
(MSC = 0
or
SHP = 0)
and
EOS.x = 0
x = pointer to ADC12MCTLx