Chapter 8: General Purpose Input/Output Ports (Gpio); Features; Applications; Pin Description - Philips LPC214 Series User Manual

Table of Contents

Advertisement

8.1 Features

8.2 Applications

8.3 Pin description

Table 64:
GPIO pin description
Pin
Type
P0.0-P.31
Input/
P1.16-P1.31
Output

8.4 Register description

LPC2141/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
Legacy registers shown in
devices, using existing code. The functions and relative timing of older GPIO
implementations is preserved.
User manual
UM10139

Chapter 8: General Purpose Input/Output ports (GPIO)

Rev. 01 — 15 August 2005
Every physical GPIO port is accessible via either the group of registers providing an
enhanced features and accelerated port access or the legacy group of registers
Accelerated GPIO functions:
– GPIO registers are relocated to the ARM local bus so that the fastest possible I/O
timing can be achieved
– Mask registers allow treating sets of port bits as a group, leaving other bits
unchanged
– All registers are byte and half-word addressable
– Entire port value can be written in one instruction
Bit-level set and clear registers allow a single instruction set or clear of any number of
bits in one port
Direction control of individual bits
All I/O default to inputs after reset
Backward compatibility with other earlier devices is maintained with legacy registers
appearing at the original addresses on the VPB bus
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 65
Rev. 01 — 15 August 2005
and
Table
66.
Table 65
allow backward compatibility with earlier family
User manual
© Koninklijke Philips Electronics N.V. 2005. All rights reserved.
81

Advertisement

Table of Contents
loading

This manual is also suitable for:

Lpc2148Lpc2141Lpc2142Lpc2144Lpc2146

Table of Contents