Cirrus Logic EP93xx User Manual

Page 804

Advertising
background image

28-14

DS785UM1

Copyright 2007 Cirrus Logic

GPIO Interface
EP93xx User’s Guide

2

8

2

8

28

GPIOxEOI

Address:

GPIOAEOI: 0x8084_0098 - Write Only
GPIOBEOI: 0x8084_00B4 - Write Only
GPIOFEOI: 0x8084_0054 - Write Only

Definition:

In order to clear an edge sensitive interrupt that can occur over port A/B/F, the user must
write a data value of “1” to the corresponding bit in the GPIOxEOI register bit. The user must
clear an interrupt before changing Port A/B/F from interrupt mode to GPIO mode as the
interrupts are cleared once this change has occurred. Once an interrupt has occurred and the
interrupt service routine has started, one of the first instructions should be a write to this
location in order to clear the interrupt so that subsequent interrupts on the same line are not
missed.

Bit Descriptions:

RSVD:

Reserved. Unknown During Read.

PxINTC:

Clears Interrupts

GPIOxDB

Address:

GPIOADB: 0x8084_00A8 - Read/Write
GPIOBDB: 0x8084_00C4 - Read/Write
GPIOFDB: 0x8084_0064 - Read/Write

Definition:

For each port, if interrupts are enabled, it is possible to debounce the input signal. Setting a
bit in this register enables debouncing for the corresponding interrupt signal; clearing the bit
disables debouncing. Debouncing is implemented by passing the input signal through a 2-bit
shift register clocked by a 128 Hz clock.

31

30

29

28

27

26

25

24

23

22

21

20

19

18

17

16

RSVD

15

14

13

12

11

10

9

8

7

6

5

4

3

2

1

0

RSVD

PxINTC

31

30

29

28

27

26

25

24

23

22

21

20

19

18

17

16

RSVD

15

14

13

12

11

10

9

8

7

6

5

4

3

2

1

0

RSVD

PxINTDB

Advertising