beautypg.com

1 gpio register definitions, Gpio register definitions -2, General-purpose i/o block diagram -2 – Intel STRONGARM SA-1100 User Manual

Page 72: Figure 9-1

background image

9-2

SA-1100

Developer’s Manual

System Control Module

9.1.1

GPIO Register Definitions

There are a total of eight registers within the GPIO control block: one is used to monitor pin state;
two are used to control pin state; one is used to control pin direction; two are used to specify a pin’s
edge type that should be detected; and one is used to flag when specified edge types are detected on
pins. The last register indicates whether a pin is used as normal GPIO or whether it is taken over by
the alternate function. Note that the pin direction register (GPDR) is the only register that is
initialized by reset. The values in all other GPIO registers are unknown following reset and must be
initialized by software.

Figure 9-1.

General-Purpose I/O Block Diagram

Edge
Detect

GPIO Pin

Pin Direction

Register

Pin Set and

Clear Registers

Alternate Function

(Output)

Alternate Function

(Input)

Edge Detect

Status Register

Pin-Level

Register

0

1

Alternate Function

Register

Rising Edge Detect

Enable Register

Falling Edge Detect

Enable Register