Ports c, d, e, g, h) -4 – Cirrus Logic EP93xx User Manual

Page 794

Advertising
background image

28-4

DS785UM1

Copyright 2007 Cirrus Logic

GPIO Interface
EP93xx User’s Guide

2

8

2

8

28

In order to stop any spurious interrupts that may occur during the programming of the
GPIOxINTTYPEx registers, the following sequence should be observed:

1. Disable interrupt by writing to GPIO Interrupt Enable register.

2. Set interrupt type by writing GPIOxINTTYPE1/2 register.

3. Clear interrupt by writing to GPIOxEOI register.

4. Enable interrupt by writing to GPIO Interrupt Enable register.

Figure 28-2

and

Figure 28-3

illustrate the signal connections for GPIO and EGPIO.

Figure 28-2. Signal Connections Within the Standard GPIO Port Control Logic

(Ports C, D, E, G, H)

DDR

OE[7:0]

OE

Standard GPIO Ports C, D, E, G, and H

DR

DATA

DATA[7:0]

EP[7:0]

TISR

OE

to PRDATA[7:0]

Register
Read
Select

TESTINPSEL

TESTRDSEL

0

1

1

0

Advertising