English
Language : 

PIC16LF1454 Datasheet, PDF (130/418 Pages) Microchip Technology – 14/20-Pin Flash, 8-Bit USB Microcontrollers with XLP Technology
PIC16(L)F1454/5/9
12.1 Alternate Pin Function
The Alternate Pin Function Control register is used to
steer specific peripheral input and output functions
between different pins. The APFCON register is shown
in Register 12-1. For this device family, the following
functions can be moved between different pins.
• CLKR
• SDO
• SS
• T1G
• P2
These bits have no effect on the values of any TRIS
register. PORT and TRIS overrides will be routed to the
correct pin. The unselected pin will be unaffected.
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
U-0
R/W-0/0
R/W-0/0
U-0
CLKRSEL SDOSEL(1) SSSEL
—
T1GSEL
P2SEL(1)
—
bit 7
U-0
—
bit 0
Legend:
R = Readable bit
u = Bit is unchanged
‘1’ = Bit is set
W = Writable bit
x = Bit is unknown
‘0’ = Bit is cleared
U = Unimplemented bit, read as ‘0’
-n/n = Value at POR and BOR/Value at all other Resets
bit 7
bit 6
bit 5
bit 4
bit 3
bit 2
bit 1-0
CLKRSEL: Pin Selection bit
1 = CLKR function is on RC3
0 = CLKR function is on RA4
SDOSEL: Pin Selection bit(1)
1 = SDO function is on RA4
0 = SDO function is on RC2
SSSEL: Pin Selection bit
For 14-Pin Devices (PIC16(L)F1454/5):
1 = SS function is on RA3
0 = SS function is on RC3
For 20-Pin Devices (PIC16(L)F1455/9):
1 = SS function is on RA3
0 = SS function is on RC6
Unimplemented: Read as ‘0’
T1GSEL: Pin Selection bit
1 = T1G function is on RA3
0 = T1G function is on RA4
P2SEL: Pin Selection bit(1)
1 = T1G function is on RA5
0 = T1G function is on RC3
Unimplemented: Read as ‘0’
Note 1: PIC16(L)F1454/5 only.
DS41639A-page 130
Preliminary
 2012 Microchip Technology Inc.