Each I/O pin has an 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. These peripherals include:
Although every pin has its own RxyPPS peripheral selection register, the selections are identical for every pin as shown in the following table.
RxyPPS | Pin Rxy Output Source | PORT To Which Output Can Be Directed | ||
---|---|---|---|---|
0x13 | ADGRDB | A | — | C |
0x12 | ADGRDA | A | — | C |
0x11 | DSM | A | — | C |
0x10 | CLKR | — | B | C |
0x0F | TMR0 | — | B | C |
0x0E | MSSP1 (SDO/SDA) | — | B | C |
0x0D | MSSP1 (SCK/SCL) | — | B | C |
0x0C | CMP2 | A | — | C |
0x0B | CMP1 | A | — | C |
0x0A | EUSART1 (DT) | — | B | C |
0x09 | EUSART1 (TX/CK) | — | B | C |
0x08 | PWM4 | A | — | C |
0x07 | PWM3 | A | — | C |
0x06 | CCP2 | — | B | C |
0x05 | CCP1 | — | B | C |
0x04 | CWG1D | — | B | C |
0x03 | CWG1C | — | B | C |
0x02 | CWG1B | — | B | C |
0x01 | CWG1A | — | B | C |
0x00 | LATxy | A | B | C |