Datasheet

PIC12(L)F1840
DS40001441D-page 294 2011-2013 Microchip Technology Inc.
TABLE 27-3: SUMMARY OF REGISTERS ASSOCIATED WITH CAPACITIVE SENSING
REGISTER 27-2: CPSCON1: CAPACITIVE SENSING CONTROL REGISTER 1
U-0 U-0 U-0 U-0 U-0 U-0 R/W-0/0 R/W-0/0
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-2 Unimplemented: Read as0
bit 1-0 CPSCH<1:0>: Capacitive Sensing Channel Select bits
If CPSON =
0:
These bits are ignored. No channel is selected.
If CPSON = 1:
11 = channel 3, (CPS3)
10 = channel 2, (CPS2)
01 = channel 1, (CPS1)
00 = channel 0, (CPS0)
Name Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
Register
on Page
ANSELA —ANSA4 ANSA2 ANSA1 ANSA0
106
CPSCON0 CPSON
CPSRM CPSRNG<1:0> CPSOUT T0XCS
293
CPSCON1
CPSCH<1:0>
294
INTCON GIE PEIE TMR0IE
INTE IOCIE TMR0IF INTF IOCIF
74
OPTION_REG
WPUEN INTEDG TMR0CS TMR0SE PSA PS<2:0> 151
T1CON TMR1CS<1:0> T1CKPS<1:0> T1OSCEN T1SYNC
—TMR1ON
161
TRISA
TRISA5 TRISA4 TRISA3 TRISA2 TRISA1 TRISA0
105
Legend: — = Unimplemented locations, read as ‘0’. Shaded cells are not used by the CPS module.