GPIO Module and I/O Multiplexer (IOMUX)
GPIO Module
32.2 GPIO Module Overview
Most of this chapter focuses on the GPIO module, which provides general purpose I/O capability to the
device. The GPIO module communicates with the ARM920T processor through an IPBUS interface
connected as an IP peripheral. The complete module controls 110 bidirectional port pins. Software
configurability allows each I/O to be configured as general purpose input (optionally routed to two
different destinations) or general purpose output (from one out of four selectable sources).
32.2.1 GPIO Module Features
The GPIO module features include:
•
110 direction-configurable port pins
•
Software controllable input/output selection through four 32-bit direction registers
•
Software control for multiplexing one of four different sources (a data register and three peripheral
modules on the MC9328MX1) for every output pin
•
Software control for routing every input to other modules
•
Input data sampling on each clock
•
Software control of the IOMUX module through four 32-bit general purpose registers
•
Configurability of each input port pin interrupt as positive edge triggered, negative edge triggered,
positive level sensitive, negative level sensitive or as a masked interrupt
•
Ability to logically OR each port's 32 interrupt lines to a single interrupt to the ARM920T processor
•
Software reset
32-2
Pin Primary Function
Pin Alternate Function
GPR_X [i]
GPR_X
GPIO functions
GIUS_X [i]
GIUS_X
Figure 32-1. Top Level of Circuitry for Port X, Pin [i]
MC9328MX1 Reference Manual
IOMUX Module
0
1
0
Pad
i
1
PUEN_X [i]
PUEN_X
Pin Port X [i]
MOTOROLA