Microchip Technology DM160214 Data Sheet

Page of 478
 2010-2012 Microchip Technology Inc.
DS41414D-page 129
PIC16(L)F1946/47
12.2
Register Definitions: Alternate Pin Function Control
REGISTER 12-1:
APFCON: ALTERNATE PIN FUNCTION CONTROL REGISTER
R/W-0/0
R/W-0/0
R/W-0/0
R/W-0/0
R/W-0/0
R/W-0/0
R/W-0/0
R/W-0/0
P3CSEL
P3BSEL
P2DSEL
P2CSEL
P2BSEL
CCP2SEL
P1CSEL
P1BSEL
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
P3CSEL: CCP3 PWM C Output Pin Selection bit
0 = P3C function is on RE3/P3C/COM0
1 = P3C function is on RD3/P3C/SEG3
bit 6
P3BSEL: CCP3 PWM B Output Pin Selection bit
0 = P3B function is on RE4/P3B/COM1
1 = P3B function is on RD4/P3B/SEG4
bit 5
P2DSEL: CCP2 PWM D Output Pin Selection bit
0 = P2D function is on RE0/P2D/VLCD1
1 = P2D function is on RD0/P2D/SEG0
bit 4
P2CSEL: CCP2 PWM C Output Pin Selection bit
0 = P2C function is on RE1/P2C/VLCD2
1 = P2C function is on RD1/P2C/SEG1
bit 3
P2BSEL: CCP2 PWM B Output Pin Selection bit
0 = P2B function is on RE2/P2B/VLCD3
1 = P2B function is on RD2/P2B/SEG2
bit 2
CCP2SEL: CCP2 Input/Output Pin Selection bit
0 = CCP2/P2A function is on RC1/CCP2/P2A/T1OSI/SEG32
1 = CCP2/P2A function is on RE7/CCP2/P2A/SEG31
bit 1
P1CSEL: CCP1 PWM C Output Pin Selection bit
0 = P1C function is on RE5/P1C/COM2
1 = P1C function is on RD5/P1C/SEG5
bit 0
P1BSEL: CCP1 PWM B Output Pin Selection bit
0 = P1B function is on RE6/P1B/COM3
1 = P1B function is on RD6/P1B/SEG6