
DR
AFT
DR
AFT
DRAFT
DR
D
RAFT
DRAFT
DRA
FT DRAF
D
RAFT DRAFT DRAFT DRAFT DRAFT D
DRAFT
D
RAFT DRA
FT DRAFT DRAFT DRAFT DRA
UM10360_0
© NXP B.V. 2009. All rights reserved.
User manual
Rev. 00.06 — 5 June 2009
81 of 808
NXP Semiconductors
UM10360
Chapter 8: LPC17xx Pin connect block
5.4 Pin Function Select Register 3 (PINSEL3 - 0x4002 C00C)
The PINSEL3 register controls the functions of the upper half of Port 1. The direction
control bit in the FIO1DIR register is effective only when the GPIO function is selected for
a pin. For other functions, direction is controlled automatically.
[1]
Not available on 80-pin package.
5.5 Pin Function Select Register 4 (PINSEL4 - 0x4002 C010)
The PINSEL4 register controls the functions of the lower half of Port 2. The direction
control bit in the FIO2DIR register is effective only when the GPIO function is selected for
a pin. For other functions, direction is controlled automatically.
Table 60.
Pin function select register 3 (PINSEL3 - address 0x4002 C00C) bit description
PINSEL3 Pin
name
Function when
00
Function when
01
Function
when 10
Function
when 11
Reset
value
1:0
P1.16
GPIO Port 1.16
ENET_MDC
Reserved
Reserved
00
3:2
P1.17
GPIO Port 1.17
ENET_MDIO
Reserved
Reserved
00
5:4
P1.18
GPIO Port 1.18
USB_UP_LED
PWM1.1
CAP1.0
00
7:6
P1.19
GPIO Port 1.19
MC0A
USB_PPWR
CAP1.1
00
9:8
P1.20
GPIO Port 1.20
MCFB0
PWM1.2
SCK0
00
11:10
P1.21
GPIO Port 1.21
MCABORT
PWM1.3
SSEL0
00
13:12
P1.22
GPIO Port 1.22
MC0B
USB_PWRD
MAT1.0
00
15:14
P1.23
GPIO Port 1.23
MCFB1
PWM1.4
MISO0
00
17:16
P1.24
GPIO Port 1.24
MCFB2
PWM1.5
MOSI0
00
19:18
P1.25
GPIO Port 1.25
MC1A
CLKOUT
MAT1.1
00
21:20
P1.26
GPIO Port 1.26
MC1B
PWM1.6
CAP0.0
00
23:22
P1.27
GPIO Port 1.27
CLKOUT
USB_OVRCR CAP0.1
00
25:24
P1.28
GPIO Port 1.28
MC2A
PCAP1.0
MAT0.0
00
27:26
P1.29
GPIO Port 1.29
MC2B
PCAP1.1
MAT0.1
00
29:28
P1.30
GPIO Port 1.30
Reserved
V
BUS
AD0.4
00
31:30
P1.31
GPIO Port 1.31
Reserved
SCK1
AD0.5
00
Table 61.
Pin function select register 4 (PINSEL4 - address 0x4002 C010) bit description
PINSEL4 Pin
name
Function when
00
Function when 01 Function
when 10
Function when
11
Reset
value
1:0
P2.0
GPIO Port 2.0
PWM1.1
TXD1
Reserved
00
3:2
P2.1
GPIO Port 2.1
PWM1.2
RXD1
Reserved
00
5:4
P2.2
GPIO Port 2.2
PWM1.3
CTS1
Reserved
00
7:6
P2.3
GPIO Port 2.3
PWM1.4
DCD1
00
9:8
P2.4
GPIO Port 2.4
PWM1.5
DSR1
Reserved
00
11:10
P2.5
GPIO Port 2.5
PWM1.6
DTR1
Reserved
00
13:12
P2.6
GPIO Port 2.6
PCAP1.0
RI1
Reserved
00
15:14
P2.7
GPIO Port 2.7
RD2
RTS1
Reserved
00
17:16
P2.8
GPIO Port 2.8
TD2
TXD2
ENET_MDC
00
19:18
P2.9
GPIO Port 2.9
USB_CONNECT
RXD2
ENET_MDIO
00
21:20
P2.10
GPIO Port 2.10
EINT0
NMI
Reserved
00