![Marvell PXA300 Скачать руководство пользователя страница 132](http://html.mh-extra.com/html/marvell/pxa300/pxa300_developers-manual_1734615132.webp)
69rlq62d-f714peg4 * Memec (Headquar
ter
s) - Unique
Tec
h,
Insight,
Impact
MAR
VELL CONFIDENTIAL,
UNDER ND
A# 12101050
69rlq62d-f714peg4 * Memec (Headquar
ter
s) - Unique
Tec
h,
Insight,
Impact
MAR
VELL CONFIDENTIAL,
UNDER ND
A# 12101050
69r
lq62d-f714peg4 * Memec (Headquar
ters) - Unique
T
ech, Insight, Impact * UNDER ND
A# 12101050
MAR
VELL CONFIDENTIAL - UNA
UTHORIZED DISTRIB
UTION OR USE STRICTL
Y PR
OHIBITED
PXA300 Processor and PXA310 Processor
Vol. I: Timer and System Configuration Developers Manual
Doc. No. MV-TBD-00 Rev. A
CONFIDENTIAL
Copyright © 12/13/06 Marvell
Page 132
Document Classification: Proprietary Information
December 13, 2006
Not approved by Document Control. For review only.
the port transitions from logic level low to logic level high. Likewise, GFERx is used to set the corresponding
GEDRx status bit when a transition from logic level high to logic level low occurs. When the corresponding bits
are set in both registers, either a falling- or a rising-edge transition causes the corresponding GEDRx status bit to
be set.
The GRERx registers contain one rising-edge detect control bit for each of the 128 ports.
•
GRER0 [31:0] correspond to GPIO<31:0>
•
GRER1[31:0] correspond to GPIO<63:32>
•
GRER2[31:0] correspond to GPIO<95:64>
•
GRER3[31:0] correspond to GPIO<127:96>
shows the rising-edge enable bit locations corresponding to all 32 ports of GRER0.
A pair of set/clear registers are also provided to enable the setting and clearing of individual bits of the GRERx
registers.
5.3.7
GPIO Bit-Wise Set Rising-Edge (GSRERx) and GPIO
Bit-wise Clear Rising-Edge (GCRERx) Detect-Enable
Registers
Change the programming of GRERx by writing to GSRERx and GCRERx.
The GSRERx registers contain one detection-level set control bit for each of the 128 ports. If a bit is programmed
to a 1, the corresponding bit in GRERx is set and the GPIO function is configured to cause a GEDRx status bit to
be set when the port transitions from logic level zero (0) to logic level one (1) If it is programmed to a 0, no
change in the GPIO functionality or the GRERx Register occurs.
Table 5-8. GRERx Bit Definitions
Physical Address
0x40E0_0030
0x40E0_0034
0x40E0_0038
0x40E0_0130
GRER0
GRER1
GRER2
GRER3
GPIO Controller
User
Settings
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
RE[31:0]
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
Access
Name
Description
n
R/W
RE{n}
GPIO port n rising-edge detect enable (where n = 0 through 31)
0 – Disable rising-edge detect enable
1 – Set corresponding GEDR status bit when a rising edge is detected on
the GPIO port