UM10208_2
© NXP B.V. 2007. All rights reserved.
User manual
Rev. 02 — 1 June 2007
335 of 362
NXP Semiconductors
UM10208
Chapter 26: LPC2800 GPIO
5.1.1 Port 0 (EMC) registers
The registers listed in
have the bit assignments shown in
5.1.2 Port 1 (EMC) Registers
The registers listed in
have the bit assignments shown in
MODE1C[0:7]
MODE1 Clear Registers.
Writing 1s to these registers
clears the corresponding bits in the MODE1 register.
0s written to these registers have no effect. The state
of the m1 bits can be read from this register.
R/W
0
0x8000 3028, 0x8000 3068,
0x8000 30A8, 0x8000 30E8,
0x8000 3128, 0x8000 3168,
0x8000 31A8, 0x8000 31E8
MODE0C[0:7]
MODE0 Clear Registers.
Writing 1s to these registers
clears the corresponding bits in the MODE0 register.
0s written to these registers have no effect. The state
of the m0 bits can be read from this register.
R/W
all 1s
(within
used bits)
0x8000 3018, 0x8000 3058,
0x8000 3098, 0x8000 30D8,
0x8000 3118, 0x8000 3158,
0x8000 3198, 0x8000 31D8
PINS[0:7]
Pin State Registers.
The current state of all the pins
in each group (port) can be read from these registers,
regardless of whether the pins are configured for GP
input, GP output, or functional I/O.
RO
pin state
for inputs;
see
module
desc for
outputs
0x8000 3000, 0x8000 3040,
0x8000 3080, 0x8000 30C0,
0x8000 3100, 0x8000 3140,
0x8000 3180, 0x8000 31C0
Table 368. I/O configuration register descriptions
Names
Description
Access Reset
value
Addresses
Table 369. Port 0 (EMC) registers
Register
Address
MODE1_0
0x8000 3020
MODE0_0
0x8000 3010
MODE1S_0
0x8000 3024
MODE0S_0
0x8000 3014
MODE1C_0
0x8000 3028
MODE0C_0
0x8000 3018
PINS_0
0x8000 3000
Table 370. Bit/Signal correspondence in Port 0 (EMC) registers
Bit
31
30
29
28
27
26
25
24
Signal
A15/P0.31
A14/P0.30
A13/P0.29
A12/P0.28
A11/P0.27
A10/P0.26
A9/P0.25
A8/P0.24
Bit
23
22
21
20
19
18
17
16
Signal
A7/P0.23
A6/P0.22
A5/P0.21
A4/P0.20
A3/P0.19
A2/P0.18
A1/P0.17
A0/P0.16
Bit
15
14
13
12
11
10
9
8
Signal
D15/P0.15
D14/P0.14
D13/P0.13
D12/P0.12
D11/P0.11
D10/P0.10
D9/P0.9
D8/P0.8
Bit
7
6
5
4
3
2
1
0
Signal
D7/P0.7
D6/P0.6
D5/P0.5
D4/P0.4
D3/P0.3
D2/P0.2
D1/P0.1
D0/P0.0