Datasheet
PIC18F47J13 FAMILY
DS39974A-page 160 Preliminary 2010 Microchip Technology Inc.
10.7.3.2 Output Mapping
In contrast to inputs, the outputs of the PPS options are
mapped on the basis of the pin. In this case, a control reg-
ister associated with a particular pin dictates the periph-
eral output to be mapped. The RPORx registers are used
to control output mapping. The value of the bit field corre-
sponds to one of the peripherals and that peripheral’s
output is mapped to the pin (see Table 10-14).
Because of the mapping technique, the list of
peripherals for output mapping also includes a null value
of ‘00000’. This permits any given pin to remain discon-
nected from the output of any of the pin selectable
peripherals.
TABLE 10-14: SELECTABLE OUTPUT SOURCES (MAPS FUNCTION TO OUTPUT)
Function
Output Function
Number
(1)
Output Name
NULL 0 NULL
(2)
C1OUT 1 Comparator 1 Output
C2OUT 2 Comparator 2 Output
C3OUT 3 Comparator 3 Output
TX2/CK2 6 EUSART2 Asynchronous Transmit/Asynchronous Clock Output
DT2 7 EUSART2 Synchronous Transmit
SDO2 10 SPI2 Data Output
SCK2 11 SPI2 Clock Output
SSDMA 12 SPI DMA Slave Select
ULPOUT 13 Ultra Low-Power Wake-up Event
CCP1/P1A 14 ECCP1 Compare or PWM Output Channel A
P1B 15 ECCP1 Enhanced PWM Output, Channel B
P1C 16 ECCP1 Enhanced PWM Output, Channel C
P1D 17 ECCP1 Enhanced PWM Output, Channel D
CCP2/P2A 18 ECCP2 Compare or PWM Output
P2B 19 ECCP2 Enhanced PWM Output, Channel B
P2C 20 ECCP2 Enhanced PWM Output, Channel C
P2D 21 ECCP2 Enhanced PWM Output, Channel D
CCP3/P3A 22 ECCP3 Compare or PWM Output
P3B 23 ECCP3 Enhanced PWM Output, Channel B
P3C 24 ECCP3 Enhanced PWM Output, Channel C
P3D 25 ECCP3 Enhanced PWM Output, Channel D
Note 1: Value assigned to the RP<4:0> pins corresponds to the peripheral output function number.
2: The NULL function is assigned to all RPn outputs at device Reset and disables the RPn output function.