EasyManua.ls Logo

Texas Instruments MSP430x1xx - Page 397

Texas Instruments MSP430x1xx
432 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
ADC10 Operation
18-11
ADC10
Sequence-of-Channels Mode
A sequence of channels is sampled and converted once. The sequence
begins with the channel selected by INCHx and decrements to channel A0.
Each ADC result is written to ADC10MEM. The sequence stops after
conversion of channel A0. Figure 18−6 shows the sequence-of-channels
mode. When ADC10SC triggers a sequence, successive sequences can be
triggered by the ADC10SC bit . When any other trigger source is used, ENC
must be toggled between each sequence.
Figure 18−6. 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 =
SAMPCON =
Convert
12 x ADC10CLK
Conversion
Completed,
Result to ADC10MEM,
ADC10IFG is Set
1 x ADC10CLK
ADC10ON = 1
CONSEQx = 01
MSC = 1
and
x 0
x = 0
If x > 0 then x = x −1
MSC = 0
and
x 0
(4/8/16/64) x ADC10CLK
If x > 0 then x = x −1
x = input channel Ax

Table of Contents

Related product manuals