Nxp Semiconductors LPC2194HBD64,151 ARM7 Microcontroller 16kB LQFP 64 LPC2194HBD64,151 Hoja De Datos

Los códigos de productos
LPC2194HBD64,151
Descargar
Página de 36
LPC2194_4
© Koninklijke Philips Electronics N.V. 2006. All rights reserved.
Product data sheet
Rev. 04 — 11 September 2006 
13 of 36
Philips Semiconductors
LPC2194
Single-chip 16/32-bit microcontroller
6.6 Pin connect block
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 three registers as shown in 
.
 
6.7 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 IODIR register is effective only when the GPIO 
function is selected for a pin. For other functions, direction is controlled automatically. 
Settings other than those shown in 
 are reserved, and should not be used
 
System Control
External Interrupt 0 (EINT0)
14
External Interrupt 1 (EINT1)
15
External Interrupt 2 (EINT2)
16
External Interrupt 3 (EINT3)
17
A/D
A/D Converter
18
CAN
1 ORed CAN Acceptance Filter
19
CAN1 (Tx int, Rx int)
20,21
CAN2 (Tx int, Rx int)
22,23
CAN3 (Tx int, Rx int)
24,25
CAN4 (Tx int, Rx int)
26,27
Table 3.
Interrupt sources
 …continued
Block
Flag(s)
VIC channel #
Table 4.
Pin control module registers
Address
Name
Description
Access
0xE002 C000
PINSEL0
Pin function select register 0
Read/Write
0xE002 C004
PINSEL1
Pin function select register 1
Read/Write
0xE002 C014
PINSEL2
Pin function select register 2
Read/Write
Table 5.
Pin function select register 0 (PINSEL0 - 0xE002 C000)
PINSEL0
Pin name
Value
Function
Value after reset
1:0
P0.0
0
0
GPIO Port 0.0
0
0
1
TXD (UART0)
1
0
PWM1
1
1
Reserved
3:2
P0.1
0
0
GPIO Port 0.1
0
0
1
RXD (UART0)
1
0
PWM3
1
1
EINT0