UM10462
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2016. All rights reserved.
User manual
Rev. 5.5 — 21 December 2016
156 of 523
NXP Semiconductors
UM10462
Chapter 9: LPC11U3x/2x/1x GPIO
GPIO port addresses can be read and written as bytes, halfwords, or words.
[1]
“ext” in this table and subsequent tables indicates that the data read after reset depends on the state of the pin, which in turn may
depend on an external source.
Table 139. Register overview: GPIO GROUP1 interrupt (base address 0x4006 0000)
Name
Access Address
offset
Description
Reset
value
Reference
CTRL
R/W
0x000
GPIO grouped interrupt control
register
0
PORT_POL0 R/W
0x020
GPIO grouped interrupt port 0 polarity
register
0xFFFF
FFFF
PORT_POL1 R/W
0x024
GPIO grouped interrupt port 1 polarity
register
0xFFFF
FFFF
PORT_ENA0 R/W
0x040
GPIO grouped interrupt port 0 enable
register
0
PORT_ENA1 R/W
0x044
GPIO grouped interrupt port 1 enable
register
0
Table 140. Register overview: GPIO port (base address 0x5000 0000)
Name
Access
Address
offset
Description
Reset
value
Width
Reference
B0 to B23
R/W
0x0000 to 0x0018
Byte pin registers port 0; pins
PIO0_0 to PIO0_23
ext
byte (8 bit)
B32 to B63
R/W
0x0020 to 0x002F
Byte pin registers port 1
ext
byte (8 bit)
W0 to W23
R/W
0x1000 to 0x1060
Word pin registers port 0
ext
word (32 bit)
W32 to W63
R/W
0x1080 to 0x10FC
Word pin registers port 1
ext
word (32 bit)
DIR0
R/W
0x2000
Direction registers port 0
0
word (32 bit)
DIR1
R/W
0x2004
Direction registers port 1
0
word (32 bit)
MASK0
R/W
0x2080
Mask register port 0
0
word (32 bit)
MASK1
R/W
0x2084
Mask register port 1
0
word (32 bit)
PIN0
R/W
0x2100
Port pin register port 0
ext
word (32 bit)
PIN1
R/W
0x2104
Port pin register port 1
ext
word (32 bit)
MPIN0
R/W
0x2180
Masked port register port 0
ext
word (32 bit)
MPIN1
R/W
0x2184
Masked port register port 1
ext
word (32 bit)
SET0
R/W
0x2200
Write: Set register for port 0
Read: output bits for port 0
0
word (32 bit)
SET1
R/W
0x2204
Write: Set register for port 1
Read: output bits for port 1
0
word (32 bit)
CLR0
WO
0x2280
Clear port 0
NA
word (32 bit)
CLR1
WO
0x2284
Clear port 1
NA
word (32 bit)
NOT0
WO
0x2300
Toggle port 0
NA
word (32 bit)
NOT1
WO
0x2304
Toggle port 1
NA
word (32 bit)