7.5.1 Remappable Pin Groupings
The remappable pins, as well as the available input and output functions, are divided into six groups. The remappable pins of Group k can be assigned pin functions only from Group k, k = 1, 2, 3, 4, 5, 6. The pins used by each peripheral are spread across all five groups when possible to maximize flexibility.