Philips LPC214 Series User Manual page 84

Table of Contents

Advertisement

Philips Semiconductors
Volume 1
Table 68:
GPIO port 1 Direction register (IO1DIR - address 0xE002 8018) bit description
Bit
Symbol
Value Description
31:0
P1xDIR
0
1
Table 69:
Fast GPIO port 0 Direction register (FIO0DIR - address 0x3FFF C000) bit description
Bit
Symbol
Value Description
31:0
FP0xDIR
0
1
Table 70:
Fast GPIO port 1 Direction register (FIO1DIR - address 0x3FFF C020) bit description
Bit
Symbol
Value Description
31:0
FP1xDIR
0
1
Aside from the 32-bit long and word only accessible FIODIR register, every fast GPIO port
can also be controlled via several byte and half-word accessible registers listed in
Table 71
these additional registers allow easier and faster access to the physical port pins.
Table 71:
Fast GPIO port 0 Direction control byte and half-word accessible register description
Register
Register
name
length (bits)
& access
FIO0DIR0
8 (byte)
FIO0DIR1
8 (byte)
FIO0DIR2
8 (byte)
FIO0DIR3
8 (byte)
FIO0DIRL
16
(half-word)
FIO0DIRU
16
(half-word)
User manual
Slow GPIO Direction control bits. Bit 0 in IO1DIR controls P1.0 ... Bit 30 in
IO1DIR controls P1.30.
Controlled pin is input.
Controlled pin is output.
Fast GPIO Direction control bits. Bit 0 in FIO0DIR controls P0.0 ... Bit 30 in
FIO0DIR controls P0.30.
Controlled pin is input.
Controlled pin is output.
Fast GPIO Direction control bits. Bit 0 in FIO1DIR controls P1.0 ... Bit 30 in
FIO1DIR controls P1.30.
Controlled pin is input.
Controlled pin is output.
and
Table
72, too. Next to providing the same functions as the FIODIR register,
Address
Description
0x3FFF C000
Fast GPIO Port 0 Direction control register 0. Bit 0 in FIO0DIR0
register corresponds to P0.0 ... bit 7 to P0.7.
0x3FFF C001
Fast GPIO Port 0 Direction control register 1. Bit 0 in FIO0DIR1
register corresponds to P0.8 ... bit 7 to P0.15.
0x3FFF C002
Fast GPIO Port 0 Direction control register 2. Bit 0 in FIO0DIR2
register corresponds to P0.16 ... bit 7 to P0.23.
0x3FFF C003
Fast GPIO Port 0 Direction control register 3. Bit 0 in FIO0DIR3
register corresponds to P0.24 ... bit 7 to P0.31.
0x3FFF C000
Fast GPIO Port 0 Direction control Lower half-word register. Bit 0 in
FIO0DIRL register corresponds to P0.0 ... bit 15 to P0.15.
0x3FFF C002
Fast GPIO Port 0 Direction control Upper half-word register. Bit 0 in
FIO0DIRU register corresponds to P0.16 ... bit 15 to P0.31.
Rev. 01 — 15 August 2005
UM10139
Chapter 8: GPIO
Reset value
0x0000 0000
Reset value
0x0000 0000
Reset value
0x0000 0000
Reset
value
0x00
0x00
0x00
0x00
0x0000
0x0000
© Koninklijke Philips Electronics N.V. 2005. All rights reserved.
84

Advertisement

Table of Contents
loading

This manual is also suitable for:

Lpc2148Lpc2141Lpc2142Lpc2144Lpc2146

Table of Contents