18.3 PPS Outputs

Each digital peripheral has a dedicated Pin Rxy Output Source Selection (RxyPPS) register with which the pin output source is selected. With few exceptions, the port TRIS control associated with that pin retains control over the pin output driver. Peripherals that control the pin output driver as part of the peripheral operation will override the TRIS control as needed. The I2C module is an example of such a peripheral.

Important: The notation ‘Rxy’ is a placeholder for the pin identifier. The ‘x’ holds the place of the PORT letter and the ‘y’ holds the place of the bit number. For example, Rxy = RA0 for the RA0PPS register.

The table below shows the output codes for each peripheral, as well as the available Port selections.

Table 18-2. PPS Output Selection Table
RxyPPSOutput SourceAvailable Output Ports
28-Pin Devices40-Pin Devices
0x1CADGRDBACAC
0x1BADGRDAACAC
0x1ANCO1ACAD
0x19TMR0BCBC
0x18SDA2/SDO2(1)BCBD
0x17SCL2/SCK2(1)BCBD
0x16SDA1/SDO1(1)BCBC
0x15SCL1/SCK1(1)BCBC
0x14C1OUTACAD
0x13DT2BCBD
0x12Reserved
0x11TX2/CK2BCBD
0x10DT1BCBC
0x0FReserved
0x0ETX1/CK1BCBC
0x0DPWM5ACAC
0x0CPWM4BCBD
0x0BPWM3BCBD
0x0ACCP2BCBC
0x09CCP1BCBC
0x08CWG1DBCBD
0x07CWG1CBCBD
0x06CWG1BBCBD
0x05CWG1ABCBC
0x04CLC4OUTBCBD
0x03CLC3OUTBCBD
0x02CLC2OUTACAC
0x01CLC1OUTACAC
0x00LATxyABCABCDE
Note:
  1. Bidirectional pin. The corresponding input must select the same pin.