Intel® PXA255 Processor Developer’s Manual
4-7
System Integration Unit
Note:
Write zeros to all reserved bits and ignore all reads from these bits.
Note:
All GPIO registers are initialized to 0x0 at reset, which results in all GPIO pins being initialized as
inputs.
4.1.3.1
GPIO Pin-Level Registers (GPLR0, GPLR1, GPLR2)
Check the state of each of the GPIO pins by reading the GPIO Pin Level register (GPLR). Each bit
in the GPLR corresponds to one pin in the GPIO. GPLR0[31:0] correspond to GPIO[31:0],
GPLR1[31:0] correspond to GPIO[63:32] and GPLR2[16:0] correspond to GPIO[84:64]. Use the
GPLR0
–
2 read-only registers to determine the current value of a particular pin (regardless of the
programmed pin direction). For reserved bits, reads return zero.
This is read/write register. Ignore reads from reserved bits. Write zeros to reserved bits.
GRER
Detect Rising/Falling
Edge
GRER0
GRER1
GRER2
GFER
GFER0
GFER1
GFER2
GEDR
Detect Edge Type
GEDR0
GEDR1
GEDR2
GAFR
Set Alternate Functions
GAFR0_L
GAFR0_U
GAFR1_L
GAFR1_U
GAFR2_L
GAFR2_U
NOTE:
For the alternate function registers, the designator _L signifies that the lower 16 GPIOs’ alternate functions are configured
by that register and _U designates that the upper 16 GPIOs’ alternate functions are configured by that register.
Table 4-2. GPIO Register Definitions (Sheet 2 of 2)
Register
Type
Register Function
GPIO[15:0]
GPIO[31:16]
GPIO[47:32] GPIO[63:48] GPIO[79:64]
GPIO[80:84]
Table 4-3. GPLR0 Bit Definitions
Physical Address
0x40E0_0000
GPLR0
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
PL3
1
PL3
0
PL2
9
PL2
8
PL2
7
PL2
6
PL2
5
PL2
4
PL2
3
PL2
2
PL2
1
PL2
0
PL1
9
PL1
8
PL1
7
PL1
6
PL1
5
PL1
4
PL1
3
PL1
2
PL1
1
PL1
0
PL9
PL8
PL7
PL6
PL5
PL4
PL3
PL2
PL1
PL0
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:0>
PL[x]
GPIO Pin Level ‘x’ (where x = 0 to 31).
This read-only field indicates the current value of each GPIO.
0 – Pin state is low
1 – Pin state is high
Содержание PXA255
Страница 1: ...Intel PXA255 Processor Developer s Manual January 2004 Order Number 278693 002 ...
Страница 24: ...xxiv Intel PXA255 Processor Developer s Manual Contents ...
Страница 30: ...1 6 Intel PXA255 Processor Developer s Manual Introduction ...
Страница 310: ...7 46 Intel PXA255 Processor Developer s Manual LCD Controller ...
Страница 330: ...8 20 Intel PXA255 Processor Developer s Manual Synchronous Serial Port Controller ...
Страница 358: ...9 28 Intel PXA255 Processor Developer s Manual I2 C Bus Interface Unit ...
Страница 488: ...13 36 Intel PXA255 Processor Developer s Manual AC 97 Controller Unit ...
Страница 572: ...16 30 Intel PXA255 Processor Developer s Manual Network SSP Serial Port ...
Страница 599: ...Intel PXA255 Processor Developer s Manual 17 27 Hardware UART ...
Страница 600: ......