© Koninklijke Philips Electronics N.V. 2005. All rights reserved.
User manual
Rev. 01 — 15 August 2005
76
Philips Semiconductors
UM10139
Volume 1
Chapter 7: Pin Connect Block
7.4.1 Pin
Function
Select
Register 0 (PINSEL0 - 0xE002 C000)
The PINSEL0 register controls the functions of the pins as per the settings listed in
. The direction control bit in the IO0DIR 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 0 (PINSEL0 - address 0xE002 C000) bit description
Bit
Symbol
Value
Function
Reset value
1:0
P0.0
00
GPIO Port 0.0
0
01
TXD (UART0)
10
PWM1
11
Reserved
3:2
P0.1
00
GPIO Port 0.1
0
01
RxD (UART0)
10
PWM3
11
EINT0
5:4
P0.2
00
GPIO Port 0.2
0
01
SCL0 (I
2
C0)
10
Capture 0.0 (Timer 0)
11
Reserved
7:6
P0.3
00
GPIO Port 0.3
0
01
SDA0 (I
2
C0)
10
Match 0.0 (Timer 0)
11
EINT1
9:8
P0.4
00
GPIO Port 0.4
0
01
SCK0 (SPI0)
10
Capture 0.1 (Timer 0)
11
AD0.6
11:10
P0.5
00
GPIO Port 0.5
0
01
MISO0 (SPI0)
10
Match 0.1 (Timer 0)
11
AD0.7
13:12
P0.6
00
GPIO Port 0.6
0
01
MOSI0 (SPI0)
10
Capture 0.2 (Timer 0)
11
Reserved
or AD1.0
15:14
P0.7
00
GPIO Port 0.7
0
01
SSEL0 (SPI0)
10
PWM2
11
EINT2
17:16
P0.8
00
GPIO Port 0.8
0
01
TXD UART1
10
PWM4
11
Reserved
or AD1.1