Texas Instruments MSP430x1xx User Manual page 399

Texas instruments modules and peripherals user's guide
Table of Contents

Advertisement

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
CONSEQx = 11
SHS = 0
ENC = 1 or
ADC10SC =
If x = 0 then x = INCH
else x = x −1
MSC = 1
and
(ENC = 1
or
x ≠ 0)
x = input channel Ax
ADC10
Off
ADC10ON = 1
ENC =
x = INCHx
Wait for Enable
ENC =
and
and
Wait for Trigger
SAMPCON =
Sample
Input Channel Ax
Convert
Conversion
Completed,
Result to ADC10MEM,
ADC10IFG is Set
ENC =
(4/8/16/64) x ADC10CLK
If x = 0 then x = INCH
else x = x −1
12 x ADC10CLK
MSC = 0
and
(ENC = 1
or
x ≠ 0)
1 x ADC10CLK
ADC10 Operation
ENC = 0
and
x = 0
ADC10
18-13

Advertisement

Table of Contents
loading

Table of Contents