10.5.15 ADCSSMUX0 Register (Offset = 0x40) [reset = 0x0]
ADC Sample Sequence Input Multiplexer Select 0 (ADCSSMUX0)
This register, along with the ADCSSEMUX0 register, defines the analog input configuration for each sample in a sequence executed with Sample Sequencer 0. If the corresponding EMUXn bit in the ADCSSEMUX0 register is set, the MUXn field in this register selects from AIN[23:16]. When the corresponding EMUXn bit is clear, the MUXn field selects from AIN[15:0]. This register is 32 bits wide and contains information for eight possible samples.
NOTE
Channels AIN[31:24] do not exist on this microcontroller. Configuring MUXn to be 0x8 -0xF when the corresponding EMUXn bit is set results in undefined behavior.
ADCSSMUX0 is shown in Figure 10-29 and described in Table 10-22.
Return to Summary Table.
Figure 10-29 ADCSSMUX0 Register
31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
MUX7 |
MUX6 |
MUX5 |
MUX4 |
MUX3 |
MUX2 |
MUX1 |
MUX0 |
R/W-0x0 |
R/W-0x0 |
R/W-0x0 |
R/W-0x0 |
R/W-0x0 |
R/W-0x0 |
R/W-0x0 |
R/W-0x0 |
|
Table 10-22 ADCSSMUX0 Register Field Descriptions
Bit |
Field |
Type |
Reset |
Description |
31-28 |
MUX7 |
R/W |
0x0 |
8th Sample Input Select.
The MUX7 field is used during the eighth sample of a sequence executed with the sample sequencer.
It specifies which of the analog inputs is sampled for the analog-to-digital conversion.
The value set here indicates the corresponding pin, for example, a value of 0x1 when EMUX7 is clear indicates the input is AIN1.
A value of 0x1 when EMUX7 is set indicates the input is AIN17.
If differential sampling is enabled (the D7 bit in the ADCSSCTL0 register is set), this field must be set to the pair number "i", where the paired inputs are "2i and 2i+1".
|
27-24 |
MUX6 |
R/W |
0x0 |
7th Sample Input Select.
The MUX6 field is used during the seventh sample of a sequence executed with the sample sequencer.
It specifies which of the analog inputs is sampled for the analog-to-digital conversion.
|
23-20 |
MUX5 |
R/W |
0x0 |
6th Sample Input Select.
The MUX5 field is used during the sixth sample of a sequence executed with the sample sequencer.
It specifies which of the analog inputs is sampled for the analog-to-digital conversion.
|
19-16 |
MUX4 |
R/W |
0x0 |
5th Sample Input Select.
The MUX4 field is used during the fifth sample of a sequence executed with the sample sequencer.
It specifies which of the analog inputs is sampled for the analog-to-digital conversion.
|
15-12 |
MUX3 |
R/W |
0x0 |
4th Sample Input Select.
The MUX3 field is used during the fourth sample of a sequence executed with the sample sequencer.
It specifies which of the analog inputs is sampled for the analog-to-digital conversion.
|
11-8 |
MUX2 |
R/W |
0x0 |
3rd Sample Input Select.
The MUX2 field is used during the third sample of a sequence executed with the sample sequencer.
It specifies which of the analog inputs is sampled for the analog-to-digital conversion.
|
7-4 |
MUX1 |
R/W |
0x0 |
2nd Sample Input Select.
The MUX1 field is used during the second sample of a sequence executed with the sample sequencer.
It specifies which of the analog inputs is sampled for the analog-to-digital conversion.
|
3-0 |
MUX0 |
R/W |
0x0 |
1st Sample Input Select.
The MUX0 field is used during the first sample of a sequence executed with the sample sequencer.
It specifies which of the analog inputs is sampled for the analog-to-digital conversion.
|