Datasheet

2010-2012 Microchip Technology Inc. DS41440C-page 121
PIC16(L)F1825/1829
REGISTER 12-1: APFCON0: ALTERNATE PIN FUNCTION CONTROL REGISTER 0
R/W-0/0 R/W-0/0 R/W-0/0 U-0 R/W-0/0 R/W-0/0 U-0 U-0
RXDTSEL SDO1SEL SS1SEL
T1GSEL TXCKSEL
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 RXDTSEL: Pin Selection bit
For 14 Pin Devices (
PIC16(L)F1825):
0 = RX/DT function is on RC5
1 = RX/DT function is on RA1
For 20 Pin Devices (
PIC16(L)F1829):
0 = RX/DT function is on RB5
1 = RX/DT function is on RC5
bit 6 SDO1SEL: Pin Selection bit
For 14 Pin Devices (
PIC16(L)F1825):
0 = SDO1 function is on RC2
1 = SDO1 function is on RA4
For 20 Pin Devices (PIC16(L)F1829):
Bit is read-only, ‘0
SDO1 function is always on RC7.
bit 5 SS1SEL: Pin Selection bit
For 14 Pin Devices (PIC16(L)F1825):
0 = SS1
function is on RC3
1 = SS1
function is on RA3
For 20 Pin Devices (
PIC16(L)F1829):
Bit is read-only, ‘0
SS1
function is always on RC6.
bit 4 Unimplemented: Read as0
bit 3 T1GSEL: Pin Selection bit
0 = T1G function is on RA4
1 = T1G function is on RA3
bit 2 TXCKSEL: Pin Selection bit
For 14 Pin Devices (
PIC16(L)F1825):
0 = TX/CK function is on RC4
1 = TX/CK function is on RA0
For 20 Pin Devices (PIC16(L)F1829):
0 = TX/CK function is on RB7
1 = TX/CK function is on RC4
bit 1-0 Unimplemented: Read as0