ADC10 Operation
18-13
ADC10
Repeat-Sequence-of-Channels Mode
A sequence of channels is sampled and converted repeatedly. The sequence
begins with the channel selected by INCHx and decrements to channel A0.
Each ADC result is written to ADC10MEM. The sequence ends after
conversion of channel A0, and the next trigger signal re-starts the sequence.
Figure 18−8 shows the repeat-sequence-of-channels mode.
Figure 18−8. Repeat-Sequence-of-Channels Mode
ADC10
Off
x = INCHx
Wait for Enable
ENC =
Wait for Trigger
Sample
Input Channel Ax
ENC =
ENC =
SHS = 0
and
ENC = 1 or
and
ADC10SC =
Convert
12 x ADC10CLK
Conversion
Completed,
Result to ADC10MEM,
ADC10IFG is Set
1 x ADC10CLK
ADC10ON = 1
CONSEQx = 11
MSC = 1
and
(ENC = 1
or
x ≠ 0)
ENC = 0
and
x = 0
MSC = 0
and
(ENC = 1
or
x ≠ 0)
If x = 0 then x = INCH
else x = x −1
(4/8/16/64) x ADC10CLK
If x = 0 then x = INCH
else x = x −1
x = input channel Ax
SAMPCON =