Publication No. PPC11A-HRM/1
Control and Status Registers 81
5.16
GPIO (7-0) Registers
In the following descriptions, bits 7 to 0 of each register map to GPIO pins 7 to 0
respectively.
7
6
5
4
3
2
1
0
GPIO7
GPIO6
GPIO5
GPIO4
GPIO3
GPIO2
GPIO1
GPIO0
5.16.1 GPIO (7-0) Out Register (Offset 0x670)
The value of the bit in this register is driven onto the appropriate GPIO pin when the
corresponding direction is set to output. The default is 0x00.
5.16.2 GPIO (7-0) In Register (Offset 0x671)
The value of the bit in this register returns the status of the appropriate GPIO pin,
regardless of the corresponding direction. The default is 0xFF.
5.16.3 GPIO (7-0) Direction Register (Offset 0x672)
For each GPIO:
1 = Output
0 = Input (default)
5.16.4 GPIO (7-0) Interrupt Enable Register (Offset 0x673)
For each GPIO:
1 = Interrupt enabled
0 = Interrupt masked (default)
If any GPIO interrupt is configured as non-maskable (see the
Non-Maskable Register (Offset 0x67A)
) and enabled, then no further changes to any
settings that affect that GPIO can be made (except for GPIO_TEST and GPIO_OUT).
5.16.5 GPIO (7-0) Interrupt Level/Edge Register (Offset 0x674)
For each GPIO:
1 = Edge
0 = Level (default)
5.16.6 GPIO (7-0) Interrupt Polarity Register (Offset 0x675)
For each GPIO, this register sets the interrupt detection sensitivity of each interrupt
pin (active high/low or rising/falling edge depending on the level/edge mode):
1 = Active high/rising edge
0 = Active low/falling edge (default)