Texas Instruments MSP430x1xx User Manual page 371

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

Advertisement

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 17−8 shows repeat-single-channel mode
Figure 17−8. Repeat-Single-Channel Mode
CONSEQx = 10
SHSx = 0
and
ENC = 1 or
and
ADC12SC =
SAMPCON =
MSC = 1
and
SHP = 1
and
ENC = 1
x = pointer to ADC12MCTLx
ADC12
off
ADC12ON = 1
ENC =
x = CSTARTADDx
Wait for Enable
ENC =
ENC =
Wait for Trigger
SAMPCON =
SAMPCON = 1
Sample, Input
Channel Defined in
ADC12MCTLx
12 x ADC12CLK
Convert
1 x ADC12CLK
Conversion
Completed,
Result Stored Into
ADC12MEMx,
ADC12IFG.x is Set
ADC12 Operation
ENC = 0
(MSC = 0
or
SHP = 0)
and
ENC = 1
ADC12
17-13

Advertisement

Table of Contents
loading

Table of Contents