27.4.2 Operation
Each I/O pin Pxn can be controlled by the registers in PORT. Each PORT group x has its own set of PORT registers, with a base address at (PORT + 0x80 × group index) (A corresponds to group index 0, B to 1, etc.). Within each set of registers, the pin index is n, ranging from 0 to 31.
The number of PORT groups depends on the package type and the number of pins. Refer to the Pinout chapter for details on the available pin configurations and PORT groups.
