Datasheet
LPC12D27 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2011. All rights reserved.
Product data sheet Rev. 1 — 20 September 2011 8 of 46
NXP Semiconductors
LPC12D27
32-bit ARM Cortex-M0 microcontroller
6.2 Pin description
All pins except the supply pins and the LCD pins can have more than one function as
shown in Table 3
. The pin function is selected through the pin’s IOCON register in the
IOCONFIG block. The multiplexed functions include the counter/timer inputs and outputs,
the UART receive, transmit, and control functions, and the serial wire debug functions.
For each pin, the default function is listed first together with the pin’s reset state.
Table 3. LPC12D27 LQFP100 pin description
Symbol Pin Start
logic
input
Reset
state
[1]
Type Description
Microcontroller pins
PIO0_0 to PIO0_31 I/O Port 0 — Port 0 is a 32-bit I/O port with individual direction and
function controls for each bit. The operation of port 0 pins
depends on the function selected through the IOCONFIG register
block.
PIO0_0/RTS0
6
[2]
yes I; PU I/O PIO0_0 — General purpose digital input/output pin. Also serves
as wake-up pin from Deep-sleep mode.
O RTS0
— Request To Send output for UART0.
PIO0_1/RXD0/
CT32B0_CAP0/
CT32B0_MAT0
7
[2]
yes I; PU I/O PIO0_1 — General purpose digital input/output pin. Also serves
as wake-up pin from Deep-sleep mode.
I RXD0 — Receiver input for UART0.
I CT32B0_CAP0 — Capture input, channel 0 for 32-bit timer 0.
O CT32B0_MAT0 — Match output, channel 0 for 32-bit timer 0.
PIO0_2/TXD0/
CT32B0_CAP1/
CT32B0_MAT1
8
[2]
yes I; PU I/O PIO0_2 — General purpose digital input/output pin. Also serves
as wake-up pin from Deep-sleep mode.
O TXD0 — Transmitter output for UART0.
I CT32B0_CAP1 — Capture input, channel 1 for 32-bit timer 0.
O CT32B0_MAT1 — Match output, channel 1 for 32-bit timer 0.
PIO0_3/DTR0
/
CT32B0_CAP2/
CT32B0_MAT2
9
[2]
yes I; PU I/O PIO0_3 — General purpose digital input/output pin. Also serves
as wake-up pin from Deep-sleep mode.
O DTR0
— Data Terminal Ready output for UART0.
I CT32B0_CAP2 — Capture input, channel 2 for 32-bit timer 0.
O CT32B0_MAT2 — Match output, channel 2 for 32-bit timer 0.
PIO0_4/
CT32B0_CAP3/
CT32B0_MAT3
10
[2]
yes I; PU I/O PIO0_4 — General purpose digital input/output pin. Also serves
as wake-up pin from Deep-sleep mode.
I DSR0
— Data Set Ready input for UART0.
I CT32B0_CAP3 — Capture input, channel 3 for 32-bit timer 0.
O CT32B0_MAT3 — Match output, channel 3 for 32-bit timer 0.
PIO0_5/DCD0
11
[2]
yes I; PU I/O PIO0_5 — General purpose digital input/output pin. Also serves
as wake-up pin from Deep-sleep mode.
I DCD0
— Data Carrier Detect input for UART0.