User's Manual

GPIO
36 
Digi Connect Wi-EM 9210 Hardware Reference
GPIO [15:0] Control Register
There is one GPIO control Register that governs all 16 GPIO pins. When a GPIO pin is
configured as a GPIO output, the corresponding bit in the GPIO Control Register is driven
out the GPIO pin. In all configurations, the CPU has read/write access to these registers.
Register bits D31:16 are unused GPIO pins. These pins are being used as memory data bits
15:00. It is safest to read all 32 bits, modify the bit(s) corresponding to the GPIO(s) of
interest, and then write back the full 32 bits. In this way the behavior of the other GPIO
lines will be preserved.
GPIO [15:0] Status Register
There is one GPIO Status Register. This register contains the status information for each of
the 16 GPIO pins. Bits D31:16 are used as memory data therefore their status will not be
meaningful. In all configurations, the value on the GPIO input pin is brought to the status
register and the CPU has read-only access to this register.
Register D31:24 D23:D16 D15:08 D07:00
A090 206C GPIO [31:24]
not used]
GPIO [23:16]
not used
GPIO [15:8] GPIO [7:0]
Register D31:24 D23:D16 D15:08 D07:00
A090 207C GPIO [31:24]
not used]
GPIO [23:16]
not used
GPIO [15:8] GPIO [7:0]