![Marvell PXA300 Скачать руководство пользователя страница 126](http://html.mh-extra.com/html/marvell/pxa300/pxa300_developers-manual_1734615126.webp)
69rlq62d-f714peg4 * Memec (Headquar
s) - Unique
Tec
Insight,
Impact
MAR
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 126
Document Classification: Proprietary Information
December 13, 2006
Not approved by Document Control. For review only.
•
8 registers control port state:
— GPSRx (write-only)—Sets GPIO output port
— GPCRx (write-only)—Clears GPIO output port
Section 5.3.5, “GPIO Pin Output Set Registers (GPSRx) and Pin Output Clear Registers (GPCRx)”
•
12 registers indicate if a rising edge should be detected:
— 4 GRERx - (read/write), see
Section 5.3.6, “GPIO Rising-Edge Detect-Enable Registers (GRERx)” on
— 4 bit-wise set registers GSRERx (write-only)—Modifies value of GRER
— 4 bit-wise clear registers GCRERx (write-only)—Modifies value of GRER
Section 5.3.7, “GPIO Bit-Wise Set Rising-Edge (GSRERx) and GPIO Bit-wise Clear Rising-Edge
(GCRERx) Detect-Enable Registers” on page 5-132
•
12 registers indicate if a falling edge should be detected:
— 4 GFERx - (read/write), see
Section 5.3.8, “GPIO Falling-Edge Detect-Enable Registers (GFERx)” on
— 4 bit-wise set registers GSFERx (write-only)—Modifies value of GFER
— 4 bit-wise clear registers GCFERx (write-only)—Modifies value of GFER
Section 5.3.9, “GPIO Bit-Wise Set Falling-Edge (GSFERx) and GPIO Bit-wise Clear Falling-Edge
(GCFERx) Detect-Enable Registers” on page 5-134
.
•
4 registers indicate when specified edge types have been detected on ports
— (GEDRx), see
Section 5.3.10, “GPIO Edge Detect Status Register (GEDRx)” on page 5-136
Note (1): The Pin Direction register (GPDRx) is initialized by reset, thus assuring that at reset, all ports
appear as GPIO input ports. All other GPIO registers are also initialized to 0x0000_0000 at
reset.
Note (2): Multi-function pins GPIO56 and GPIO<62:59> have no GPIO function assigned to these
pads.
5.3.1
GPIO Pin-Level Registers (GPLRx)
The state of each of the GPIO ports is visible through the GPIO Pin-Level register (GPLRx). Each bit
corresponds to the port number.
•
GPLR0 [31:0] correspond to GPIO<31:0>
•
GPLR1[31:0] correspond to GPIO<63:32>
•
GPLR2[31:0] correspond to GPIO<95:64>
•
GPLR3[31:0] correspond to GPIO<127:96>.
These read-only registers determine the current value of a particular port (regardless of the programmed port
direction).