Datasheet
PIC12(L)F1822/PIC16(L)F1823
DS41413C-page 320 2010-2012 Microchip Technology Inc.
REGISTER 27-2: CPSCON1: CAPACITIVE SENSING CONTROL REGISTER 1
U-0 U-0 U-0 U-0 R/W-0/0
(1)
R/W-0/0 R/W-0/0 R/W-0/0
— — — — CPSCH<3:2>
(2)
CPSCH<1:0>
bit 7 bit 0
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as ‘0’
u = Bit is unchanged x = Bit is unknown -n/n = Value at POR and BOR/Value at all other Resets
‘1’ = Bit is set ‘0’ = Bit is cleared
bit 7-4 Unimplemented: Read as ‘0’
bit 3-0 CPSCH<3:0>: Capacitive Sensing Channel Select bits
If CPSON =
0:
These bits are ignored. No channel is selected.
If CPSON = 1:
0000 = channel 0, (CPS0)
0001 = channel 1, (CPS1)
0010 = channel 2, (CPS2)
0011 = channel 3, (CPS3)
0100 = channel 4, (CPS4)
(1)
0101 = channel 5, (CPS5)
(1)
0110 = channel 6, (CPS6)
(1)
0111 = channel 7, (CPS7)
(1)
1000 = Reserved. Do not use.
•
•
•
1111 = Reserved. Do not use.
Note 1: These channels are only implemented on the PIC16(L)F1823.
2: PIC16(L)F1823 only.