Datasheet
LPC2109_2119_2129_5 © NXP B.V. 2007. All rights reserved.
Product data sheet Rev. 05 — 7 March 2007 14 of 35
NXP Semiconductors
LPC2109/2119/2129
Single-chip 16/32-bit microcontrollers
6.8 Pin function select register 1 (PINSEL1 - 0xE002 C004)
The PINSEL1 register controls the functions of the pins as per the settings listed in
Table 7
. The direction control bit in the IODIR register is effective only when the GPIO
function is selected for a pin. For other functions direction is controlled automatically.
Settings other than those shown in the table are reserved, and should not be used.
27:26 P0.13 0 0 GPIO Port 0.13 0
0 1 DTR (UART1)
1 0 Match 1.1 (Timer 1)
1 1 Reserved
29:28 P0.14 0 0 GPIO Port 0.14 0
0 1 DCD (UART1)
10EINT1
1 1 Reserved
31:30 P0.15 0 0 GPIO Port 0.15 0
01RI (UART1)
10EINT2
1 1 Reserved
Table 6. Pin function select register 0 (PINSEL0 - 0xE002 C000)
…continued
PINSEL0 Pin name Value Function Value after reset
Table 7. Pin function select register 1 (PINSEL1 - 0xE002 C004)
PINSEL1 Pin Name Value Function Value after
reset
1:0 P0.16 0 0 GPIO Port 0.16 0
01EINT0
1 0 Match 0.2 (Timer 0)
1 1 Capture 0.2 (Timer 0)
3:2 P0.17 0 0 GPIO Port 0.17 0
0 1 Capture 1.2 (Timer 1)
10SCK (SPI1)
1 1 Match 1.2 (Timer 1)
5:4 P0.18 0 0 GPIO Port 0.18 0
0 1 Capture 1.3 (Timer 1)
1 0 MISO (SPI1)
1 1 Match 1.3 (Timer 1)
7:6 P0.19 0 0 GPIO Port 0.19 0
0 1 Match 1.2 (Timer 1)
10MOSI (SPI1)
1 1 Capture 1.2 (Timer 1)
9:8 P0.20 0 0 GPIO Port 0.20 0
0 1 Match 1.3 (Timer 1)
1 0 SSEL (SPI1)
11EINT3