Table 61: Pin Function Select Register 1 For Lpc2194/2294 (Pinsel1 - 0Xe002C004); Table 62: Pin Function Select Register 2 For Lpc2119/2129/2194 (Pinsel2 - 0Xe002C014) - Philips LPC2194 User Manual

Table of Contents

Advertisement

Philips Semiconductors
ARM-based Microcontroller
Table 62: Pin Function Select Register 1 for LPC2194/2294 (PINSEL1 - 0xE002C004)
Pin
PINSEL1
Function when 00
Name
1:0
P0.16
GPIO Port 0.16
3:2
P0.17
GPIO Port 0.17
5:4
P0.18
GPIO Port 0.18
7:6
P0.19
GPIO Port 0.19
9:8
P0.20
GPIO Port 0.20
11:10
P0.21
GPIO Port 0.21
13:12
P0.22
GPIO Port 0.22
15:14
P0.23
GPIO Port 0.23
17:16
P0.24
GPIO Port 0.24
19:18
P0.25
GPIO Port 0.25
21:20
P0.26
23:22
P0.27
GPIO Port 0.27
25:24
P0.28
GPIO Port 0.28
27:26
P0.29
GPIO Port 0.29
29:28
P0.30
GPIO Port 0.30
31:30
P0.31
1
CAN Controller 3 is available in LPC2294 only. Fields in the table related to CAN3 have Reserved value for all other parts.
Pin Function Select Register 2 (PINSEL2 - 0xE002C014)
The PINSEL2 register controls the functions of the pins as per the settings listed in Table 63. The direction control bit in the
IO1DIR register is effective only when the GPIO function is selected for a pin. For other functions direction is controlled
automatically.
Warning: use read-modify-write operation when accessing PINSEL2 register. Accidental write of 0 to bit 2 and/or bit 3 results in
loss of debug and/or trace functionality! Changing of either bit 4 or bit 5 from 1 to 0 may cause an incorrect code execution!
Table 63: Pin Function Select Register 2 for LPC2119/2129/2194 (PINSEL2 - 0xE002C014)
PINSEL2
1:0
Reserved.
2
When 0, pins P1.36:26 are used as GPIO pins. When 1, P1.31:26 are used as a Debug port.
3
When 0, pins P1.25:16 are used as GPIO pins. When 1, P1.25:16 are used as a Trace port.
Pin Connect Block
Function when 01
EINT0
Capture 1.2 (TIMER1)
Capture 1.3 (TIMER1)
Match 1.2 (TIMER1)
Match 1.3 (TIMER1)
PWM5
RD3
1
TD3
(CAN Controller 3)
RD2 (CAN Controller 2)
TD2 (CAN Controller 2)
RD1 (CAN Controller 1)
Reserved
AIN0 (A/D Converter)
AIN1 (A/D Converter)
AIN2 (A/D Converter)
AIN3 (A/D Converter)
Reserved
Description
129
LPC2119/2129/2194/2292/2294
Function when 10
Match 0.2 (TIMER0)
Capture 0.2 (TIMER0)
SCK (SPI1)
MISO (SPI1)
MOSI (SPI1)
SSEL (SPI1)
1
(CAN Controller 3)
Capture 1.3 (TIMER1)
Capture 0.0 (TIMER0)
Reserved
Reserved
Reserved
Capture 0.1 (TIMER0)
Capture 0.2 (TIMER0)
Capture 0.3 (TIMER0)
EINT3
Capture 0.0 (TIMER0)
Preliminary User Manual
Reset
Function when 11
Value
00
Match 1.2 (TIMER1)
00
Match 1.3 (TIMER1)
00
Match 1.3 (TIMER1)
00
EINT3
00
00
Match 0.0 (TIMER0)
00
Reserved
00
Reserved
00
Reserved
00
00
Match 0.1 (TIMER0)
01
Match 0.2 (TIMER0)
01
Match 0.3 (TIMER0)
01
01
00
Reset Value
00
P1.26/RTCK
P1.20/
TRACESYNC
May 03, 2004

Advertisement

Table of Contents
loading

This manual is also suitable for:

Lpc2129Lpc2119Lpc2292Lpc2294

Table of Contents