Datasheet

LPC2104_2105_2106_7 © NXP B.V. 2008. All rights reserved.
Product data sheet Rev. 07 — 20 June 2008 15 of 41
NXP Semiconductors
LPC2104/2105/2106
Single-chip 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.
Remark: The primary JTAG port and the trace port can be selected only through the
DBGSEL pin at reset (Debug mode). Function control for the pins P0[31:17] is effective
only when the DBGSEL input is pulled LOW during reset.
27:26 P0.13 0 0 GPIO Port 0.13 0
0 1 DTR (UART 1)
1 0 Match 1.1 (Timer 1)
29:28 P0.14 0 0 GPIO Port 0.14 0
0 1 DCD (UART 1)
1 0 EINT1
31:30 P0.15 0 0 GPIO Port 0.15 0
0 1 RI (UART 1)
1 0 EINT2
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
0 1 EINT0
1 0 Match 0.2 (Timer 0)
3:2 P0.17 0 0 GPIO Port 0.17 0
0 1 Capture 1.2 (Timer 1)
5:4 P0.18 0 0 GPIO Port 0.18 0
0 1 Capture 1.3 (Timer 1)
7:6 P0.19 0 0 GPIO Port 0.19 0
0 1 Match 1.2 (Timer 1)
9:8 P0.20 0 0 GPIO Port 0.20 0
0 1 Match 1.3 (Timer 1)
11:10 P0.21 0 0 GPIO Port 0.21 0
0 1 PWM5
13:12 P0.22 0 0 GPIO Port 0.22 0
15:14 P0.23 0 0 GPIO Port 0.23 0
17:16 P0.24 0 0 GPIO Port 0.24 0
19:18 P0.25 0 0 GPIO Port 0.25 0
21:20 P0.26 0 0 GPIO Port 0.26 0
23:22 P0.27 0 0 GPIO Port 0.27 0
0 1 TRST