18 (PPS) Peripheral Pin Select Module
The Peripheral Pin Select (PPS) module connects peripheral inputs and outputs to the device I/O pins. Only digital signals are included in the selections. All analog inputs and outputs remain fixed to their assigned pins. Input and output selections are independent as shown in the figure below.
The peripheral input is selected with the peripheral xxxPPS18.9.1 Peripheral xxx Input Selection register, and the peripheral output is selected with the PORT RxyPPS18.9.2 Pin Rxy Output Source Selection Register register . For example, to select PORTC[7] as the EUSART RX input, set RXxPPS to 0x17 as shown in the input table, and to select PORTC[6] as the EUSART TX output set RC6PPS to 0x09 as shown in the output table.