7.5.5.1.3 Remappable Input Example
The following figure illustrates the remappable pin selection for the EXTINT0 input. In order to remap the EXTINT0 input to a particular pin, program the EXTINT0R remap register. EXTINT0 is in Group 1; therefore, it can be mapped to any pin that is in Group 1 (RPA0, RPA6, RPA11, RPB0, RPB6, RPB11 and so on).
To map EXTINT0 to RPB0, program the value 4 (5’b00100) into the EXINTR0R SFR
register. See the Input Pin Selection Group 1 table in the Input Mapping
in PIC32CX-BZ6 Family of Devices
from Related Links.
1’).