6.2.7.2 Remappable Input Priority

Only a single pin can be selected for any of the remappable peripheral inputs; therefore, priority encoding is not needed for RP inputs.

Note: A remappable input function does not have any control over the output of the RPx pin.

In this way, it is possible to drive a remappable output function on an RPx pin and a completely different remappable input function on the same pin. This can be useful, for instance, in driving an EVSYS output back into a Timer clock or gating input by assigning both functions to the same remap pin.

Note: To allow flexibility on 32 or 48-pin devices, the same input functions are repeated in multiple groups. Therefore, in order to differentiate between them, the “Off” code is provided in the Input Pin Selection Group 1, Input Pin Selection Group 2, Input Pin Selection Group 3 and Input Pin Selection Group 4 tables. See these tables in the Remappable Input Example from Related Links.

The software must ensure that the unused group register offset of a (repeated) input function is programmed to 4’h0 for proper operation. Failure to do so will lead to unknown behavior.