English
Language : 

LM3S316 Datasheet, PDF (228/421 Pages) List of Unclassifed Manufacturers – Microcontroller
Analog-to-Digital Converter (ADC)
Register 12: ADC Sample Sequence Control 0 (ADCSSCTL0), offset 0x044
This register contains the configuration information for each sample for a sequence executed with
Sample Sequencer 0. When configuring a sample sequence, the END bit must be set at some
point, whether it be after the first sample, last sample, or any sample in between.
This register is 32-bits wide and contains information for eight possible samples.
ADC Sample Sequence Control 0 (ADCSSCTL0)
Offset 0x044
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
Type
Reset
TS7
R/W
0
15
IE7 END7 D7
R/W
R/W
R/W
0
0
0
14
13
12
TS6
R/W
0
11
IE6 END6 D6
R/W
R/W
R/W
0
0
0
10
9
8
TS5
R/W
0
7
IE5 END5 D5
R/W
R/W
R/W
0
0
0
6
5
4
TS4
R/W
0
3
IE4 END4 D4
R/W
R/W
R/W
0
0
0
2
1
0
Type
Reset
TS3
R/W
0
IE3 END3 D3
R/W
R/W
R/W
0
0
0
TS2
R/W
0
IE2 END2 D2
R/W
R/W
R/W
0
0
0
TS1
R/W
0
IE1 END1 D1
R/W
R/W
R/W
0
0
0
TS0
R/W
0
IE0 END0 D0
R/W
R/W
R/W
0
0
0
Bit/Field
31
Name
TS7
30
IE7
29
END7
28
D7
27
TS6
26
IE6
25
END6
Type
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Reset
0
0
0
0
0
0
0
Description
The TS7 bit is used during the eighth sample of the sample
sequence and specifies the input source of the sample. If set,
the temperature sensor is read. Otherwise, the input pin
specified by the ADCSSMUX register is read.
The IE7 bit is used during the eighth sample of the sample
sequence and specifies whether the raw interrupt signal (INR0
bit) is asserted at the end of the sample's conversion. If the
MASK0 bit in the ADCIM register is set, the interrupt is
promoted to a controller-level interrupt. When this bit is set, the
raw interrupt is asserted, otherwise it is not. It is legal to have
multiple samples within a sequence generate interrupts.
The END7 bit indicates that this is the last sample of the
sequence. It is possible to end the sequence on any sample
position. Samples defined after the sample containing a set
END are not requested for conversion even though the fields
may be non-zero. It is required that software write the END bit
somewhere within the sequence. (Sample Sequencer 3,
which only has a single sample in the sequence, is hardwired
to have the END0 bit set.)
Setting this bit indicates that this sample is the last in the
sequence.
The D7 bit indicates that the analog input is to be differentially
sampled. The corresponding ADCSSMUXx nibble must be set
to the pair number "i", where the paired inputs are "2i and 2i+1".
The temperature sensor does not have a differential option.
When set, the analog inputs are differentially sampled.
Same definition as TS7 but used during the seventh sample.
Same definition as IE7 but used during the seventh sample.
Same definition as END7 but used during the seventh sample.
228
April 27, 2007
Preliminary