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 Source
0x2DPWM2
0x2CPWM1
0x2BCLBPPSOUT7
0x2ACLBPPSOUT6
0x29CLBPPSOUT5
0x28CLBPPSOUT4
0x27CLBPPSOUT3
0x26CLBPPSOUT2
0x25CLBPPSOUT1
0x24CLBPPSOUT0
0x23ADGRDB
0x22ADGRDA
0x21Reserved
0x20Reserved
0x1FTMR0
0x1EReserved
0x1DReserved
0x1CSDA1/SDO1(1)
0x1BSCL1/SCK1(1)
0x1AC2OUT
0x19C1OUT
0x18-0x16Reserved
0x15DT1
0x14Reserved
0x13TX1/CK1
0x12-0x0BReserved
0x0ACCP2
0x09CCP1
0x08-0x05Reserved
0x04CLC4OUT
0x03CLC3OUT
0x02CLC2OUT
0x01CLC1OUT
0x00LATxy
Note:
  1. Bidirectional pin. The corresponding input must select the same pin.