16.2 PPS Outputs
Each I/O pin has a PPS 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. These peripherals include:
- EUSART (synchronous operation)
- MSSP (I2C)
Although every pin has its own PPS peripheral selection register, the selections are identical for every pin as shown in RxyPPS.
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.
Table 16-3 shows detailed output routing options for each peripheral.
RxyPPS Register Value | Output Signal Name | Remappable to Any PORT (14-pin devices) | Remappable to Any PORT (20-pin devices) |
---|---|---|---|
10 0000 | ADCGRDB | X | X |
01 1111 | ADCGRDA | X | X |
01 1110 | CWG2D | X | X |
01 1101 | CWG2C | X | X |
01 1100 | CWG2B | X | X |
01 1011 | CWG2A | X | X |
01 1010 | DSM1OUT | X | X |
01 1001 | CLKR | X | X |
01 1000 | NCO1OUT | X | X |
01 0111 | TMR0OUT | X | X |
01 0110 | SDO2/SDA2 | X | |
01 0101 | SCK2/SCL2 | X | |
01 0100 | SDO1/SDA1 | X | X |
01 0011 | SCK1/SCL1 | X | X |
01 0010 | C2OUT | X | X |
01 0001 | C1OUT | X | X |
01 0000 | DT1 | X | X |
00 1111 | CK1/TX1 | X | X |
00 1110 | PWM7OUT | X | X |
00 1101 | PWM6OUT | X | X |
00 1100 | CCP4OUT | X | X |
00 1011 | CCP3OUT | X | X |
00 1010 | CCP2OUT | X | X |
00 1001 | CCP1OUT | X | X |
00 1000 | CWG1D | X | X |
00 0111 | CWG1C | X | X |
00 0110 | CWG1B | X | X |
00 0101 | CWG1A | X | X |
00 0100 | CLC4OUT | X | X |
00 0011 | CLC3OUT | X | X |
00 0010 | CLC2OUT | X | X |
00 0001 | CLC1OUT | X | X |