English
Language : 

PIC18F47J53 Datasheet, PDF (161/586 Pages) Microchip Technology – 28/44-Pin, High-Performance USB Microcontrollers with nanoWatt XLP Technology
PIC18F47J53 FAMILY
10.7.3.1 Input Mapping
The inputs of the PPS options are mapped on the basis
of the peripheral; that is, a control register associated
with a peripheral dictates the pin it will be mapped to. The
RPINRx registers are used to configure peripheral input
mapping (see Register 10-6 through Register 10-23).
Each register contains a 5-bit field which is associated
with one of the pin selectable peripherals. Programming
a given peripheral’s bit field with an appropriate 5-bit
value maps the RPn pin with that value to that peripheral.
For any given device, the valid range of values for any of
the bit fields corresponds to the maximum number of
Peripheral Pin Selections supported by the device.
TABLE 10-13: SELECTABLE INPUT SOURCES (MAPS INPUT TO FUNCTION)(1)
Input Name
Function Name
Register
External Interrupt 1
INT1
RPINR1
External Interrupt 2
INT2
RPINR2
External Interrupt 3
INT3
RPINR3
Timer0 External Clock Input
T0CKI
RPINR4
Timer3 External Clock Input
T3CKI
RPINR6
Timer5 External Clock Input
T5CKI
RPINR15
Input Capture 1
CCP1
RPINR7
Input Capture 2
CCP2
RPINR8
Input Capture 3
CCP3
RPINR9
Timer1 Gate Input
T1G
RPINR12
Timer3 Gate Input
T3G
RPINR13
Timer5 Gate Input
T5G
RPINR14
EUSART2 Asynchronous Receive/Synchronous
Receive
RX2/DT2
RPINR16
EUSART2 Asynchronous Clock Input
CK2
RPINR17
SPI2 Data Input
SDI2
RPINR21
SPI2 Clock Input
SCK2IN
RPINR22
SPI2 Slave Select Input
SS2IN
RPINR23
PWM Fault Input
FLT0
RPINR24
Note 1: Unless otherwise noted, all inputs use the Schmitt Trigger input buffers.
Configuration
Bits
INTR1R<4:0>
INTR2R<4:0>
INTR3R<4:0>
T0CKR<4:0>
T3CKR<4:0>
T5CKR<4:0>
IC1R<4:0>
IC2R<4:0>
IC3R<4:0>
T1GR<4:0>
T3GR<4:0>
T5GR<4:0>
RX2DT2R<4:0>
CK2R<4:0>
SDI2R<4:0>
SCK2R<4:0>
SS2R<4:0>
OCFAR<4:0>
 2010 Microchip Technology Inc.
Preliminary
DS39964B-page 161