Datasheet

PIC16(L)F1934/6/7
DS41364E-page 324 2008-2011 Microchip Technology Inc.
REGISTER 26-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: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)
0101 = channel 5, (CPS5)
0110 = channel 6, (CPS6)
0111 = channel 7, (CPS7)
1000 = channel 8, (CPS8
(1)
)
1001 = channel 9, (CPS9
(1)
)
1010 = channel 10, (CPS10
(1)
)
1011 = channel 11, (CPS11
(1)
)
1100 = channel 12, (CPS12
(1)
)
1101 = channel 13, (CPS13
(1)
)
1110 = channel 14, (CPS14
(1)
)
1111 = channel 15, (CPS15
(1)
)
Note 1: These channels are not implemented on the PIC16(L)F1936.
2: This bit is not implemented on PIC16(L)F1936, read as ‘0