GPIO 135 May 03, 2004
Philips Semiconductors Preliminary User Manual
LPC2119/2129/2194/2292/2294ARM-based Microcontroller
Table 68: GPIO Register Map
Generic
Name
Description Access
Reset
Value
PORT0
Address &
Name
PORT1
Address &
Name
PORT2
Address &
Name
PORT3
Address &
Name
IOPIN
GPIO Port Pin value register. The
current state of the GPIO configured
port pins can always be read from this
register, regardless of pin direction
and mode.
Activity on non-GPIO configured pins
will not be reflected in this register.
Read
Only
NA
0xE0028000
IO0PIN
0xE0028010
IO1PIN
0xE0028020
IO2PIN
0xE0028030
IO3PIN
IOSET
GPIO Port Output set register. This
register controls the state of output
pins in conjunction with the IOCLR
register. Writing ones produces highs
at the corresponding port pins. Writing
zeroes has no effect.
Read/
Write
0x0000
0000
0xE0028004
IO0SET
0xE0028014
IO1SET
0xE0028024
IO2SET
0xE0028034
IO3SET
IODIR
GPIO Port Direction control register.
This register individually controls the
direction of each port pin.
Read/
Write
0x0000
0000
0xE0028008
IO0DIR
0xE0028018
IO1DIR
0xE0028028
IO2DIR
0xE0028038
IO3DIR
IOCLR
GPIO Port Output clear register. This
register controls the state of output
pins. Writing ones produces lows at
the corresponding port pins and
clears the corresponding bits in the
IOSET register. Writing zeroes has no
effect.
Write
Only
0x0000
0000
0xE002800C
IO0CLR
0xE002801C
IO1CLR
0xE002802C
IO2CLR
0xE002803C
IO3CLR