ADC12 Operation
26-12
ADC12
Sequence-of-Channels Mode
A sequence of channels is sampled and converted once. The ADC results are
written to the conversion memories starting with the ADCMEMx defined by the
CSTARTADDx bits. The sequence stops after the measurement of the
channel with a set EOS bit. Figure 26−7 shows the sequence-of-channels
mode. When ADC12SC triggers a sequence, successive sequences can be
triggered by the ADC12SC bit. When any other trigger source is used, ENC
must be toggled between each sequence.
Figure 26−7. Sequence-of-Channels Mode
ADC12
off
x = CSTARTADDx
Wait for Enable
ENC =
Wait for Trigger
Sample, Input
Channel Defined in
ADC12MCTLx
ENC =
ENC =
SHSx = 0
and
ENC = 1 or
and
ADC12SC =
SAMPCON =
SAMPCON = 1
Convert
SAMPCON =
12 x ADC12CLK
Conversion
Completed,
Result Stored Into
ADC12MEMx,
ADC12IFG.x is Set
1 x ADC12CLK
ADC12ON = 1
CONSEQx = 01
MSC = 1
and
SHP = 1
and
EOS.x = 0
EOS.x = 1
If x < 15 then x = x + 1
else x = 0
If x < 15 then x = x + 1
else x = 0
(MSC = 0
or
SHP = 0)
and
EOS.x = 0
x = pointer to ADC12MCTLx
Summary of Contents for MSP430x4xx Family
Page 1: ...MSP430x4xx Family 2007 Mixed Signal Products User s Guide SLAU056G ...
Page 2: ......
Page 6: ...vi ...
Page 114: ...3 76 RISC 16 Bit CPU ...
Page 304: ...5 20 FLL Clock Module ...
Page 340: ...7 8 Supply Voltage Supervisor ...
Page 348: ...8 8 16 Bit Hardware Multiplier ...
Page 372: ...9 24 32 Bit Hardware Multiplier ...
Page 400: ...10 28 DMA Controller ...
Page 428: ...13 10 Basic Timer1 ...
Page 466: ...15 24 Timer_A ...
Page 522: ...17 30 USART Peripheral Interface UART Mode ...
Page 544: ...18 22 USART Peripheral Interface SPI Mode ...
Page 672: ...23 12 Comparator_A ...
Page 692: ...24 20 LCD Controller ...
Page 746: ...26 28 ADC12 ...