26.5.8 ADCn_SCANMASK - Scan Sequence Input Mask Register
Offset
Bit Position
0x020
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
Reset
0x00000000
Access
R
W
Name
Bit
Name
Reset
Access Description
31:0
SCANINPUTEN
0x00000000
RW
Scan Sequence Input Mask
Set one or more bits in this mask to select which inputs are included in scan sequence in either single ended or differential
mode. This works with SCANINPUTSEL register. The SCANINPUTSEL chooses 32 possible channels for single-ended or
32 pairs of possible channels for differential scanning from BUSes. These chosen channels are referred as ADCn_INPUTx
in the description. Four even inputs from first group of 8 ADCn_INPUTx and four odd inputs from second group of 8
ADCn_INPUTx have programmable NEGSEL, defined in SCANNEGSEL register. If the SCANMASK is set to 0 and scan
conversion is triggered, ADC will do a conversion with garbage results since no inputs were enabled for conversion.
Mode
Value
Description
DIFF = 0
INPUT0
xxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxx1
ADCn_INPUT0 included in mask
INPUT1
xxxxxxxxxxxxxxxxxxxxx
xxxxxxxxx1x
ADCn_INPUT1 included in mask
INPUT2
xxxxxxxxxxxxxxxxxxxxx
xxxxxxxx1xx
ADCn_INPUT2 included in mask
INPUT3
xxxxxxxxxxxxxxxxxxxxx
xxxxxxx1xxx
ADCn_INPUT3 included in mask
INPUT4
xxxxxxxxxxxxxxxxxxxxx
xxxxxx1xxxx
ADCn_INPUT4 included in mask
INPUT5
xxxxxxxxxxxxxxxxxxxxx
xxxxx1xxxxx
ADCn_INPUT5 included in mask
INPUT6
xxxxxxxxxxxxxxxxxxxxx
xxxx1xxxxxx
ADCn_INPUT6 included in mask
INPUT7
xxxxxxxxxxxxxxxxxxxxx
xxx1xxxxxxx
ADCn_INPUT7 included in mask
...
................
.........................
INPUT31
1xxxxxxxxxxxxxxxxxxxx
xxxxxxxxxx
ADCn_INPUT31 included in mask
DIFF = 1
INPUT0INPUT0NEG-
SEL
xxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxx1
(Positive input: ADCn_INPUT0 Negative input: chosen by IN-
PUT0NEGSEL) included in mask
Reference Manual
ADC - Analog to Digital Converter
silabs.com
| Building a more connected world.
Rev. 1.1 | 892