Table 4-14. gpcr2 register bitmap, Table 4-14 – Intel PXA26X User Manual

Page 121

Advertising
background image

Intel® PXA26x Processor Family Developer’s Manual

4-13

System Integration Unit

4.1.3.4

GPIO Rising Edge Detect Enable Registers (GRER0, GRER1, GRER2)
and Falling Edge Detect Enable Registers (GFER0, GFER1, GFER2)

Each GPIO can also be programmed to detect a rising-edge, falling-edge, or either transition on a
pin. When an edge is detected that matches the type of edge programmed for the pin, a status bit is
set. The interrupt controller can be programmed so that an interrupt is signalled to the core when
any of these status bits are set. Additionally, the interrupt controller can be programmed so that a
subset of the status bits causes the processor to wake from sleep mode when they are set. Refer to

Section 3.4.9, “Sleep Mode” on page 3-15

and

Section 3.5.6, “Power Manager GPIO Edge Detect

Status Register (PEDR)” on page 3-28

for more information on which status bits can cause a wake

up from sleep mode.

Use the GPIO Rising Edge Detect Enable Register (GRER) and Falling Edge Detect Enable
Register (GFER) to select the type of transition on a GPIO pin that causes a bit within the GPIO
Edge Detect Enable Status Register (GEDR) to be set. For a given GPIO pin, its corresponding
GRER bit is set causing a GEDR status bit to be set when the pin transitions from logic level zero
to logic level one. Likewise, use GFER to set the corresponding GEDR status bit when a transition
from logic level one to logic level zero occurs. When the corresponding bits are set in both
registers, either a falling- or a rising-edge transition causes the corresponding GEDR status bit to
be set.

Note:

The minimum pulse width duration to guarantee edge detection is 1

µ

S.

Table 4-15

through

Table 4-17

show the bitmaps of the GPIO Rising Edge Detect Enable registers.

Table 4-18

through

Table 4-20

show the bitmaps of the GPIO Falling Edge Detect Enable registers.

Table 4-14. GPCR2 Register Bitmap

Physical Address

0x40E0_002C

GPIO Pin Output Clear Register2

(GPCR2)

System Integration Unit

Bit

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9

8

7

6

5

4

3

2

1

0

Reserved

PC

8

9

PC

8

8

PC

8

7

PC

8

6

PC

8

5

PC

8

4

PC

8

3

PC

8

2

PC

8

1

PC

8

0

PC

7

9

PC

7

8

PC

7

7

PC

7

6

PC

7

5

PC

7

4

PC

7

3

PC

7

2

PC

7

1

PC

7

0

PC

6

9

PC

6

8

PC

6

7

PC

6

6

PC

6

5

PC

6

4

Reset

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

Bits

Name

Description

<31:26>

Reserved

<25:0>

PC[x]

GPIO Pin ‘x’ Output Pin Clear (where x = 64 through 89).

0 – Pin level unaffected.

1 – If pin configured as an output, clear pin level low (zero).

Advertising