User manual

Table Of Contents
Zynq-7000 AP SoC Technical Reference Manual www.xilinx.com 1358
UG585 (v1.11) September 27, 2016
Appendix B: Register Details
Register DIRM_0 Details
This register controls whether the IO pin is acting as an input or an output. Since the input logic is always
enabled, this effectively enables/disables the output driver.
Each bit of the bank is independently controlled.
This register controls bank0, which corresponds to MIO[31:0].
Register (gpio) OEN_0
Register OEN_0 Details
When the IO is configured as an output, this controls whether the output is enabled or not. When the
output is disabled, the pin is tri-stated.
NOTE: The MIO driver setting (slcr.MIO_PIN_xx.TRI_ENABLE field) must be disabled (i.e. set to 0) for
this field to be operational. When the MIO tri-state is enabled, the driver is disabled regardless of this GPIO
setting.
This register controls bank0, which corresponds to MIO[31:0].
Width 32 bits
Access Type rw
Reset Value 0x00000000
Description Direction mode (GPIO Bank0, MIO)
Field Name Bits Type Reset Value Description
DIRECTION_0 31:0 rw 0x0 Direction mode
0: input
1: output
Each bit configures the corresponding pin within
the 32-bit bank
NOTE: bits[8:7] of bank0 cannot be used as inputs.
The DIRM bits can be set to 0, but reading
DATA_RO does not reflect the input value. See
the GPIO chapter for more information.
Name OEN_0
Software Name OUTEN
Relative Address 0x00000208
Absolute Address 0xE000A208
Width 32 bits
Access Type rw
Reset Value 0x00000000
Description Output enable (GPIO Bank0, MIO)