2006-2019 Microchip Technology Inc. DS30009711C-page 13
I/O Ports with PPS
4.3.2 OUTPUT MAPPING
In contrast to inputs, the outputs of the Peripheral Pin Select options are mapped on the basis of
the pin. In this case, a bit field associated with a particular pin dictates the peripheral output to
be mapped. The RPORy registers contain sets of 6-bit fields, with each set associated with one
RPn pin (see Register 4-4). The value of the bit field corresponds to one of the peripherals and
that peripheral’s output is mapped to the pin (see Table 4-1 and Figure 4-3).
The peripheral outputs that support Peripheral Pin Selection have no default pins. Since the
RPORy registers reset to all ‘0’s, the outputs are all disconnected in the device’s default (Reset)
state,
The list of peripherals for output mapping also includes a null value of ‘000000’, because of the
mapping technique. This permits any given pin to remain unconnected from the output of any of
the pin-selectable peripherals.
Figure 4-3: Multiplexing of Remappable Output for RPn
0
3
RPnR<5:0>
I/O TRISx Setting
U1TX Output Enable
U1RTS Output Enable
4
22
OC5 Output Enable
0
3
I/O LAT/PORT Content
U1TX Output
U1RTS Output
4
22
OC5 Output
Output Enable
Output Data
RPn