Table 9–130, Nxp semiconductors – NXP Semiconductors LPC24XX UM10237 User Manual

Page 179

Advertising
background image

UM10237_4

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

User manual

Rev. 04 — 26 August 2009

179 of 792

NXP Semiconductors

UM10237

Chapter 9: LPC24XX Pin connect

[1]

Reset Value reflects the data stored in used bits only. It does not include reserved bits content.

Pin control module register reset values

On power-on reset and BOD reset, all registers in this module are reset to '0'.

On external reset and watchdog reset:

The corresponding bits for P0[31:0], P1[31:0], P2[13:0] are always reset to '0'.

For all the other bits:

if the EMC_Reset_Disable = 1 ( see

Section 3–3.4 “Other system controls and

status flags”

), they retain their values for external memory interface

else if the EMC_Reset_Disable = 0, they are reset to '0'.

5.1 Pin Function Select register 0 (PINSEL0 - 0xE002 C000)

The PINSEL0 register controls the functions of the pins according to the settings listed in

Table 9–130

. The direction control bit in the IO0DIR register (or the FIO0DIR register if the

enhanced GPIO function is selected for port 0) is effective only when the GPIO function is
selected for a pin. For other functions, direction is controlled automatically.

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

Table 9–145

.

PINSEL6

Pin function select register 6

R/W

0x0000 0000

0xE002 C018

PINSEL7

Pin function select register 7

R/W

0x0000 0000

0xE002 C01C

PINSEL8

Pin function select register 8

R/W

0x0000 0000

0xE002 C020

PINSEL9

Pin function select register 9

R/W

0x0000 0000

0xE002 C024

PINSEL10

Pin function select register 10

R/W

0x0000 0000

0xE002 C028

PINSEL 11

Pin function select register 11
(LPC247x only)

R/W

0x0000 0000

0xE002 C02C

PINMODE0

Pin mode select register 0

R/W

0x0000 0000

0xE002 C040

PINMODE1

Pin mode select register 1

R/W

0x0000 0000

0xE002 C044

PINMODE2

Pin mode select register 2

R/W

0x0000 0000

0xE002 C048

PINMODE3

Pin mode select register 3

R/W

0x0000 0000

0xE002 C04C

PINMODE4

Pin mode select register 4

R/W

0x0000 0000

0xE002 C050

PINMODE5

Pin mode select register 5

R/W

0x0000 0000

0xE002 C054

PINMODE6

Pin mode select register 6

R/W

0x0000 0000

0xE002 C058

PINMODE7

Pin mode select register 7

R/W

0x0000 0000

0xE002 C05C

PINMODE8

Pin mode select register 8

R/W

0x0000 0000

0xE002 C060

PINMODE9

Pin mode select register 9

R/W

0x0000 0000

0xE002 C064

Table 129. Summary of pin connect block registers

Name

Description

Access Reset Value

[1]

Address

Table 130. Pin function select register 0 (PINSEL0 - address 0xE002 C000) bit description

PINSEL0 Pin

name

Function when
00

Function when 01

Function
when 10

Function
when 11

Reset
value

1:0

P0[0]

GPIO Port 0.0

RD1

TXD3

SDA1

00

3:2

P0[1]

GPIO Port 0.1

TD1

RXD3

SCL1

00

5:4

P0[2]

GPIO Port 0.2

TXD0

Reserved

Reserved

00

Advertising