Philips Semiconductors
LPC2131/2132/2134/2136/2138
Single-chip 16/32-bit microcontrollers
Table 7: Pin function select register 1 (PINSEL1 - 0xE002C004) …continued
PINSEL1
Pin Name Value
Function
Value after reset
17:16
P0.24
0
0
Reserved
0
0
1
Reserved
1
0
Reserved
1
1
Reserved
19:18
P0.25
0
0
GPIO Port 0.25
0
0
1
AD0.4
1
0
Reserved (LPC2131)
AOUT (DAC) (LPC2132/34/36/38)
1
1
Reserved
21:20
P0.26
0
0
GPIO Port 0.26
0
0
1
AD0.5
1
0
Reserved
1
1
Reserved
23:22
P0.27
0
0
GPIO Port 0.27
0
0
1
AD0.0
1
0
Capture 0.1 (Timer 0)
1
1
Match 0.1 (Timer 0)
25:24
P0.28
0
0
GPIO Port 0.28
0
0
1
AD0.1
1
0
Capture 0.2 (Timer 0)
1
1
Match 0.2 (Timer 0)
27:26
P0.29
0
0
GPIO Port 0.29
0
0
1
AD0.2
1
0
Capture 0.3 (Timer 0)
1
1
Match 0.3 (Timer 0)
29:28
P0.30
0
0
GPIO Port 0.30
0
0
1
AD0.3
1
0
EINT3
1
1
Capture 0.0 (Timer 0)
31:30
P0.31
0
0
GPIO Port
0
0
1
Reserved
1
0
Reserved
1
1
Reserved
6.9 Pin function select register 2 (PINSEL2 - 0xE002C014)
The PINSEL2 register controls the functions of the pins as per the settings listed in
Table 8. 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 Table 8 are reserved, and should not be used.
9397 750 14868
Preliminary data sheet
Rev. 02 — 15 April 2005
© Koninklijke Philips Electronics N.V. 2005. All rights reserved.
19 of 41