Nxp Semiconductors UM10237 用户手册

下载
页码 792
UM10237_2
© NXP B.V. 2008. All rights reserved.
User manual
Rev. 02 — 19 December 2008 
185 of 792
NXP Semiconductors
UM10237
Chapter 9: LPC24XX Pin connect
5.7 Pin Function Select Register 6 (PINSEL6 - 0xE002 C018)
The PINSEL6 register controls the functions of the pins as per the settings listed in 
. The direction control bit in the FIO3DIR register is effective only when the 
GPIO function is selected for a pin. For other functions, direction is controlled 
automatically.
 
[1]
For flashless parts LPC2460/70, operates as BOOT0 pin on POR (see 
[2]
For flashless parts LPC2460/70, operates as BOOT1 pin on POR (see 
5.8 Pin Function Select Register 7 (PINSEL7 - 0xE002 C01C)
The PINSEL7 register controls the functions of the pins as per the settings listed in 
. The direction control bit in the FIO3DIR 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 
. For the 208-pin LPC2460/68/70/78, see 
 
Table 138. Pin function select register 6 (PINSEL6 - address 0xE002 C018) bit description
PINSEL6 Pin 
name
Function when 
00
Function 
when 01
Function 
when 10 
Function 
when 11
Reset 
value
1:0
P3[0]
GPIO Port 3.0
D0
Reserved
Reserved
00
3:2
P3[1]
GPIO Port 3.1
D1
Reserved
Reserved
00
5:4
P3[2]
GPIO Port 3.2
D2
Reserved
Reserved
00
7:6
P3[3]
GPIO Port 3.3
D3
Reserved
Reserved
00
9:8
P3[4]
GPIO Port 3.4
D4
Reserved
Reserved
00
11:10
P3[5]
GPIO Port 3.5
D5
Reserved
Reserved
00
13:12
P3[6]
GPIO Port 3.6
D6
Reserved
Reserved
00
15:14
P3[7]
GPIO Port 3.7
D7
Reserved
Reserved
00
17:16
P3[8]
GPIO Port 3.8
D8
Reserved
Reserved
00
19:18
P3[9]
GPIO Port 3.9
D9
Reserved
Reserved
00
21:20
P3[10]
GPIO Port 3.10
D10
Reserved
Reserved
00
23:22
P3[11]
GPIO Port 3.11
D11
Reserved
Reserved
00
25:24
P3[12]
GPIO Port 3.12
D12
Reserved
Reserved
00
27:26
P3[13]
GPIO Port 3.13
D13
Reserved
Reserved
00
29:28
P3[14]
GPIO Port 3.14
D14
Reserved
Reserved
00
31:30
P3[15]
GPIO Port 3.15
D15
Reserved
Reserved
00
Table 139. LPC2458 pin function select register 7 (PINSEL7 - address 0xE002 C01C) bit 
description
PINSEL7 Pin 
name
Function when 
00
Function 
when 01
Function 
when 10 
Function 
when 11
Reset 
value
1:0
P3[16]
Reserved
Reserved
Reserved
Reserved
00
3:2
P3[17]
Reserved
Reserved
Reserved
Reserved
00
5:4
P3[18]
Reserved
Reserved
Reserved
Reserved
00
7:6
P3[19]
Reserved
Reserved
Reserved
Reserved
00