88
connected to the
GPIO1
controller in HPS. The behavior of the GPIO controller is controlled by the
register in the GPIO controller. The registers can be accessed by application software through the
memory-mapped device driver, which is built into Altera SoC Linux.
Figure 6-1 Block Diagram of GPIO Demonstration
GPIO Interface Block Diagram
The HPS provides three general-purpose I/O (GPIO) interface modules.
Figure 6-2
shows the block
diagram of the GPIO Interface. GPIO[28..0] is controlled by GPIO0 controller and GPIO[57..29] is
controlled by GPIO1 controller. GPIO[70..58] and input-only GPI[13..0] are controlled by GPIO2
controller.
Figure 6-2 Block Diagram of GPIO Interface