beautypg.com

Section 9–5.5, Table 9–133, Nxp semiconductors – NXP Semiconductors LPC24XX UM10237 User Manual

Page 182

background image

UM10237_4

© NXP B.V. 2009. All rights reserved.

User manual

Rev. 04 — 26 August 2009

182 of 792

NXP Semiconductors

UM10237

Chapter 9: LPC24XX Pin connect

5.5 Pin Function Select Register 4 (PINSEL4 - 0xE002 C010)

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

Table 9–134

. 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.

The bit functions in this register depend on the number of pins of each LPC2400 part. For
the 180-pin LPC2458, see

Table 9–134

. For the 208-pin LPC2460/68/70/78, see

Table 9–135

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

Table 9–145

.

Table 133. Pin function select register 3 (PINSEL3 - address 0xE002 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_LED1

PWM1[1]

CAP1[0]

00

7:6

P1[19]

GPIO Port 1.19

USB_TX_E1

USB_PPWR1

CAP1[1]

00

9:8

P1[20]

GPIO Port 1.20

USB_TX_DP1/
LCDVD[6]/
LCDVD[10]

PWM1[2]

SCK0

00

11:10

P1[21]

GPIO Port 1.21

USB_TX_DM1/
LCDVD[7]/
LCDVD[11]

PWM1[3]

SSEL0

00

13:12

P1[22]

GPIO Port 1.22

USB_RCV1/
LCDVD[8]/
LCDVD[12]

USB_PW1

MAT1[0]

00

15:14

P1[23]

GPIO Port 1.23

USB_RX_DP1/
LCDVD[9]/
LCDVD[13]

PWM1[4]

MISO0

00

17:16

P1[24]

GPIO Port 1.24

USB_RX_DM1/
LCDVD[10]/
LCDVD[14]

PWM1[5]

MOSI0

00

19:18

P1[25]

GPIO Port 1.25

USB_LS1/
LCDVD[11]/
LCDVD[15]

USB_HSTEN1

MAT1[1]

00

21:20

P1[26]

GPIO Port 1.26

USB_SSPND1/
LCDVD[12]/
LCDVD[20]

PWM1[6]

CAP0[0]

00

23:22

P1[27]

GPIO Port 1.27

USB_INT1/
LCDVD[13]/
LCDVD[21]

USB_OVRCR1 CAP0[1]

00

25:24

P1[28]

GPIO Port 1.28

USB_SCL1/
LCDVD[14]/
LCDVD[22]

PCAP1[0]

MAT0[0]

00

27:26

P1[29]

GPIO Port 1.29

USB_SDA1/
LCDVD[15]/
LCDVD[23]

PCAP1[1]

MAT0[1]

00

29:28

P1[30]

GPIO Port 1.30

USB_PWRD2

V

BUS

AD0[4]

00

31:30

P1[31]

GPIO Port 1.31

USB_OVRCR2

SCK1

AD0[5]

00