Texas Instruments MSP430x1xx User Manual page 369

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

Advertisement

Single-Channel Single-Conversion Mode
A single channel is sampled and converted once. The ADC result is written to
the ADC12MEMx defined by the CSTARTADDx bits. Figure 17−6 shows the
flow of the Single-Channel, Single-Conversion mode. When ADC12SC
triggers a conversion, successive conversions can be triggered by the
ADC12SC bit. When any other trigger source is used, ENC must be toggled
between each conversion.
Figure 17−6. Single-Channel, Single-Conversion Mode
CONSEQx = 00
ENC = 0
x = pointer to ADC12MCTLx
†Conversion result is unpredictable
ADC12
off
x = CSTARTADDx
Wait for Enable
SHSx = 0
and
ENC = 1 or
and
Wait for Trigger
ADC12SC =
SAMPCON =
ENC = 0
Sample, Input
Channel Defined in
ADC12MCTLx
ENC = 0
SAMPCON =
Convert
Conversion
Completed,
Result Stored Into
ADC12MEMx,
ADC12IFG.x is Set
ADC12ON = 1
ENC =
ENC =
ENC =
SAMPCON = 1
12 x ADC12CLK
1 x ADC12CLK
ADC12 Operation
ADC12
17-11

Advertisement

Table of Contents
loading

Table of Contents