UM10237_2 © NXP B.V. 2008. All rights reserved.
User manual Rev. 02 — 19 December 2008 187 o f 792
NXP Semiconductors UM10237
Chapter 9: LPC24XX Pin connect
5.10 Pin Function Select Register 9 (PINSEL9 - 0xE002 C024)

The PINSEL9 register controls the functions of the pins as per the settings listed in

Table9–142. The direction control bit in the FIO4DIR register is effective only when the

GPIO function is selected for a pin. For other functions, direction is controlled

automatically.

The bit functions in this register depend on the number of pins of each LPC2400 part. For

the 180-pin LPC2458, see Table9–142. For the 208-pin LPC2460/68/70/78, see

Table9–143. LCD functions are available in LPC2470/78 only and are selected in

Table9–145.

Table 141. Pin fu nction select register 8 (PINSEL8 - address 0xE002 C020) bit description
PINSEL8 Pin
name Function
when 00 Function
when 01 Function
when 10 Function
when 11 Reset
value
1:0 P4[0] GPIO Port 4.0 A0 Reserved Reserved 00
3:2 P4[1] GPIO Port 4.1 A1 Reserved Reserved 00
5:4 P4[2] GPIO Port 4.2 A2 Reserved Reserved 00
7:6 P4[3] GPIO Port 4.3 A3 Reserved Reserved 00
9:8 P4[4] GPIO Port 4.4 A4 Reserved Reserved 00
11:10 P4[5] GPIO Port 4.5 A5 Reserved Reserved 00
13:12 P4[6] GPIO Port 4.6 A6 Reserved Reserved 00
15:14 P4[7] GPIO Port 4.7 A7 Reserved Reserved 00
17:16 P4[8] GPIO Port 4.8 A8 Reserved Reserved 00
19:18 P4[9] GPIO Port 4.9 A9 Reserved Reserved 00
21:20 P4[10] GPIO Port 4.10 A10 Reserved Reserved 00
23:22 P4[11] GPIO Port 4.11 A11 Reserved Reserved 00
25:24 P4[12] GPIO Port 4.12 A12 Reserved Reserved 00
27:26 P4[13] GPIO Port 4.13 A13 Reserved Reserved 00
29:28 P4[14] GPIO Port 4.14 A14 Reserved Reserved 00
31:30 P4[15] GPIO Port 4.15 A15 Reserved Reserved 00
Table 142. LPC2458 pin function select register 9 (PINSEL9 - address 0xE002 C024) bit
description
PINSEL9 Pin
name Function when
00 Function
when 01 Function
when 10 Function
when 11 Reset
value
1:0 P4[16] GPIO Port 4.16 A16 Reserved Reserved 00
3:2 P4[17] GPIO Port 4.17 A17 Reserved Reserved 00
5:4 P4[18] GPIO Port 4.18 A18 Reserved Reserved 00
7:6 P4[19] GPIO Port 4.19 A19 Reserved Reserved 00
9:8 P4[20] GPIO Port 4.20 A20 SDA2 SCK1 00
11:10 P4[21] Reserved Reserved Reserved Reserved 00
13:12 P4[22] Reserved Reserved Reserved Reserved 00
15:14 P4[23] Reserved Reserved Reserved Reserved 00
17:16 P4[24] GPIO Port 4.24 OE Reserved Reserved 00
19:18 P4[25] GPIO Port 4.25 WE Reserved Reserved 00