English
Language : 

C8051F970-A-GM Datasheet, PDF (144/454 Pages) Silicon Laboratories – Low Power Capacitive Sensing MCU with up to 32 kB of Flash
C8051F97x
Register 18.2. CS0CF: Capacitive Sense 0 Configuration
Bit
7
6
5
Name CS0SMEN
CS0CM
Type
RW
RW
Reset
0
0
0
SFR Page = 0x0; SFR Address: 0xAA
4
3
2
1
0
CS0MCEN
CS0ACU
R
RW
0
0
0
0
0
Bit
Name
Function
7
CS0SMEN CS0 Channel Scan Masking Enable.
0: The AMUX0 register contents are ignored.
1: The AMUX0 registers determine which channels will be included in the scan.
6:4
CS0CM CS0 Start of Conversion Mode Select.
000: Conversion initiated on every write of 1 to CS0BUSY.
001: Conversion initiated on overflow of Timer 0.
010: Conversion initiated on overflow of Timer 2.
011: Conversion initiated on overflow of Timer 1.
100: Conversion initiated on overflow of Timer 3.
101: When CS0SMEN is set to 1, the converter completes a Single Scan of the channels
selected by the AMUX0 registers. This setting is invalid when CS0SMEN is cleared to 0.
110: Conversion initiated continuously on the channel selected by CS0MX after writing 1
to CS0BUSY.
111: When CS0SMEN is set to 1, the converter enters Auto Scan Mode and continuously
scans the channels selected by the AMUX0 registers. When CS0SMEN is cleared to 0,
the converter scans continuously on channels from CS0SS to CS0SE after firmware
writes 1 to CS0BUSY.
3
CS0MCEN CS0 Multiple Channel Enable.
0: Multiple channel feature is disabled.
1: Channels selected by the AMUX0 registers are internally shorted together and the
combined node is selected as the CS0 input. This mode can be used to detect a capaci-
tance change on multiple channels using a single conversion.
2:0
CS0ACU CS0 Accumulator Mode Select.
000: Accumulate 1 sample.
001: Accumulate 4 samples.
010: Accumulate 8 samples.
011: Accumulate 16 samples
100: Accumulate 32 samples.
101: Accumulate 64 samples.
110-111: Reserved.
144
Rev 1.0