PIC16F/LF1946/47
REGISTER 25-1: CPSCON0: CAPACITIVE SENSING CONTROL REGISTER 0
R/W-0/0
CPSON
R/W-0/0
CPSRM
U-0
—
U-0
—
R/W-0/0
R/W-0/0
R-0/0
R/W-0/0
T0XCS
CPSRNG<1:0>
CPSOUT
bit 7
bit 0
Legend:
R = Readable bit
W = Writable bit
x = Bit is unknown
‘0’ = Bit is cleared
U = Unimplemented bit, read as ‘0’
-n/n = Value at POR and BOR/Value at all other Resets
u = Bit is unchanged
‘1’ = Bit is set
bit 7
bit 6
CPSON: Capacitive Sensing Module Enable bit
1= Capacitive sensing module is enabled
0= Capacitive sensing module is disabled
CPSRM: Capacitive Sensing Reference Mode bit
1= Capacitive Sensing module is in high range. DAC and FVR provide oscillator voltage references.
0= Capacitive Sensing module is in the low range. Internal oscillator voltage references are used.
bit 5-4
bit 3-2
Unimplemented: Read as ‘0’
CPSRNG<1:0>: Capacitive Sensing Current Range
If CPSRM = 0 (low range):
00= Oscillator is off
01= Oscillator is in Low Range. Charge/Discharge Current is nominally 0.1 µA
10= Oscillator is in Medium Range. Charge/Discharge Current is nominally 1.2 µA
11= Oscillator is in High Range. Charge/Discharge Current is nominally 18 µA
If CPSRM = 1 (high range):
00= Oscillator is on. Noise Detection mode. No Charge/Discharge current is supplied.
01= Oscillator is in Low Range. Charge/Discharge Current is nominally 9 µA
10= Oscillator is in Medium Range. Charge/Discharge Current is nominally 30 µA
11= Oscillator is in High Range. Charge/Discharge Current is nominally 100 µA
bit 1
bit 0
CPSOUT: Capacitive Sensing Oscillator Status bit
1= Oscillator is sourcing current (Current flowing out of the pin)
0= Oscillator is sinking current (Current flowing into the pin)
T0XCS: Timer0 External Clock Source Select bit
If TMR0CS = 1:
The T0XCS bit controls which clock external to the core/Timer0 module supplies Timer0:
1= Timer0 clock source is the capacitive sensing oscillator
0= Timer0 clock source is the T0CKI pin
If TMR0CS = 0:
Timer0 clock source is controlled by the core/Timer0 module and is FOSC/4
2010 Microchip Technology Inc.
Preliminary
DS41414A-page 323