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
RxyPPS Output Source
0x2D PWM2
0x2C PWM1
0x2B CLBPPSOUT7
0x2A CLBPPSOUT6
0x29 CLBPPSOUT5
0x28 CLBPPSOUT4
0x27 CLBPPSOUT3
0x26 CLBPPSOUT2
0x25 CLBPPSOUT1
0x24 CLBPPSOUT0
0x23 ADGRDB
0x22 ADGRDA
0x21 Reserved
0x20 Reserved
0x1F TMR0
0x1E Reserved
0x1D Reserved
0x1C SDA1/SDO1(1)
0x1B SCL1/SCK1(1)
0x1A C2OUT
0x19 C1OUT
0x18-0x16 Reserved
0x15 DT1
0x14 Reserved
0x13 TX1/CK1
0x12-0x0B Reserved
0x0A CCP2
0x09 CCP1
0x08-0x05 Reserved
0x04 CLC4OUT
0x03 CLC3OUT
0x02 CLC2OUT
0x01 CLC1OUT
0x00 LATxy
Note:
  1. Bidirectional pin. The corresponding input must select the same pin.