lpc2106fhn48/00 NXP Semiconductors, lpc2106fhn48/00 Datasheet - Page 15

no-image

lpc2106fhn48/00

Manufacturer Part Number
lpc2106fhn48/00
Description
Single-chip 32-bit Microcontrollers; 128 Kb Isp/iap Flash With 64 Kb/32 Kb/16 Kb Ram
Manufacturer
NXP Semiconductors
Datasheet
Philips Semiconductors
LPC2104_2105_2106_6
Product data sheet
6.6 Pin connect block
6.7 Pin function select register 0 (PINSEL0 - 0xE002 C000)
The pin connect block allows selected pins of the microcontroller to have more than one
function. Configuration registers control the multiplexers to allow connection between the
pin and the on chip peripherals. Peripherals should be connected to the appropriate pins
prior to being activated, and prior to any related interrupt(s) being enabled. Activity of any
enabled peripheral function that is not mapped to a related pin should be considered
undefined.
The Pin Control Module contains two registers as shown in
Table 5.
The PINSEL0 register controls the functions of the pins as per the settings listed in
Table
function is selected for a pin. For other functions, direction is controlled automatically.
Settings other than those shown in
Table 6.
Address
0xE002 C000
0xE002 C004
PINSEL0
1:0
3:2
5:4
7:6
9:8
11:10
13:12
6. The direction control bit in the IODIR register is effective only when the GPIO
Pin control module registers
Pin function select register 0 (PINSEL0 - 0xE002 C000)
Pin name
P0.0
P0.1
P0.2
P0.3
P0.4
P0.5
P0.6
Name
PINSEL0
PINSEL1
Rev. 06 — 25 July 2006
Value
0
0
1
0
0
1
0
0
1
0
0
1
0
0
1
0
0
1
0
0
1
0
1
0
0
1
0
0
1
0
0
1
0
0
1
0
0
1
0
0
1
0
Table 6
Description
Pin function select register 0
Pin function select register 1
are reserved, and should not be used
Function
GPIO Port 0.0
TXD (UART 0)
PWM1
GPIO Port 0.1
RXD (UART 0)
PWM3
GPIO Port 0.2
SCL (I
Capture 0.0 (Timer 0)
GPIO Port 0.3
SDA (I
Match 0.0 (Timer 0)
GPIO Port 0.4
SCK (SPI)
Capture 0.1 (Timer 0)
GPIO Port 0.5
MISO (SPI)
Match 0.1 (Timer 0)
GPIO Port 0.6
MOSI (SPI)
Capture 0.2 (Timer 0)
LPC2104/2105/2106
2
2
C-bus)
C-bus)
Single-chip 32-bit microcontrollers
© Koninklijke Philips Electronics N.V. 2006. All rights reserved.
Table
5.
Value after reset
0
0
0
0
0
0
0
Access
Read/Write
Read/Write
15 of 35

Related parts for lpc2106fhn48/00