User manual

Table Of Contents
Zynq-7000 AP SoC Technical Reference Manual www.xilinx.com 380
UG585 (v1.11) September 27, 2016
Chapter 14
General Purpose I/O (GPIO)
14.1 Introduction
The general purpose I/O (GPIO) peripheral provides software with observation and control of up to
54 device pins via the MIO module. It also provides access to 64 inputs from the Programmable Logic
(PL) and 128 outputs to the PL through the EMIO interface. The GPIO is organized into four banks of
registers that group related interface signals.
Each GPIO is independently and dynamically programmed as input, output, or interrupt sensing.
Software can read all GPIO values within a bank using a single load instruction, or write data to one
or more GPIOs (within a range of GPIOs) using a single store instruction. The GPIO control and status
registers are memory mapped at base address 0xE000_A000.
14.1.1 Features
Key features of the GPIO peripheral are summarized as follows:
54 GPIO signals for device pins (routed through the MIO multiplexer)
°
Outputs are 3-state capable
192 GPIO signals between the PS and PL via the EMIO interface
°
64 Inputs, 128 outputs (64 true outputs and 64 output enables)
The function of each GPIO can be dynamically programmed on an individual or group basis
Enable, bit or bank data write, output enable and direction controls
Programmable interrupts on individual GPIO basis
°
Status read of raw and masked interrupt
°
Selectable sensitivity: Level-sensitive (High or Low) or edge-sensitive (positive, negative, or
both)