Datasheet
DR
AFT
DR
AFT
DRAFT
DR
D
RAFT
DRAFT
DRA
F
T DRAF
D
RAFT DRAFT DRAFT DRAFT DRAFT D
DRAFT
D
RAFT DRA
F
T DRAFT DRAFT DRAFT DRA
LPC3152_3154 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2010. All rights reserved.
Preliminary data sheet Rev. 0.12 — 27 May 2010 29 of 88
NXP Semiconductors
LPC3152/3154
6.17 Input/Output configuration module (IOCONFIG)
The General Purpose Input/Output (GPIO) pins can be controlled through the register
interface provided in the IOCONFIG module. Next to several dedicated GPIO pins, most
digital IO pins can also be used as GPIO if they are not required for their normal,
dedicated function.
This module has the following features:
• Provides control for the digital pins that can double as GPIO (next to their normal
function). The pinning list in Table 4
indicates which pins can double as GPIO.
• Each controlled pin can be configured for 4 operational modes:
– Normal operation (i.e. controlled by a function block).
– Driven low.
– Driven high.
– High impedance/input.
• A GPIO pin can be observed (read) in any mode.
• The register interface provides set and clear access methods for choosing the
operational mode.
6.18 10-bit Analog-to-Digital Converter (ADC10B)
This module is a 10-bit successive approximation Analog-to-Digital Converter (ADC) with
an input multiplexer to allow for multiple analog signals on its input. A common use of this
module is to read out multiple keys on one input from a resistor network.
This module has the following features:
• Three analog input channels, selected by an analog multiplexer. A fourth channel is
connected internally to the analog die to measure the battery level.
• Programmable ADC resolution from 2 bit to 10 bit.
• The maximum conversion rate is 400 ksample/s for 10 bit resolution and
1500 ksample/s for 2 bit resolution.
• Single A/D conversion scan mode and continuous A/D conversion scan mode.
• Power-down mode.
Fig 7. Block diagram of the Watchdog Timer
002aae086
EVENT ROUTER
WDT
m0
m1
CGU
INTERRUPT
CONTROLLER
FIQ
IRQ
reset
APB
