Philips LPC213 Series User Manual page 79

Table of Contents

Advertisement

8.1 Features
8.2 Applications
8.3 Pin description
Table 62:
GPIO pin description
Pin
Type
P0.0-P.31
Input/
P1.16-P1.31
Output
8.4 Register description
LPC2131/2/4/6/8 has two 32-bit General Purpose I/O ports. Total of 30 input/output and a
single output only pin out of 32 pins are available on PORT0. PORT1 has up to 16 pins
available for GPIO functions. PORT0 and PORT1 are controlled via two groups of 4
registers as shown in
Table 63:
GPIO register map
Generic
Description
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.
User manual
UM10120
Chapter 8: General Purpose Input/Output ports (GPIO)
Rev. 01 — 24 June 2005
Direction control of individual bits
Separate control of output set and clear
All I/O default to inputs after reset
General purpose I/O
Driving LEDs, or other indicators
Controlling off-chip devices
Sensing digital inputs
Description
General purpose input/output. The number of GPIOs actually available depends on the
use of alternate functions.
Table
Rev. 01 — 24 June 2005
63.
Access Reset
[1]
value
R/W
NA
User manual
PORT0
PORT1
Address & Name
Address & Name
0xE002 8000
0xE002 8010
IO0PIN
IO1PIN
© Koninklijke Philips Electronics N.V. 2005. All rights reserved.
79

Advertisement

Table of Contents
loading

This manual is also suitable for:

Lpc2131Lpc2132Lpc2134Lpc2136Lpc2138

Table of Contents