| Electronic Components Datasheet Search |
|
LPC2220 Datasheet(PDF) 18 Page - NXP Semiconductors |
|
|
|||||||||||||||||||||||||||||
LPC2220 Datasheet(HTML) 18 Page - NXP Semiconductors |
|
18 / 50 page ![]() LPC2210_2220_6 © NXP B.V. 2008. All rights reserved. Product data sheet Rev. 06 — 11 December 2008 18 of 50 NXP Semiconductors LPC2210/2220 16/32-bit ARM microcontrollers 6.5 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 Table 6. 6.6 Pin function select register 0 (PINSEL0 - 0xE002 C000) The PINSEL0 register controls the functions of the pins as per the settings listed in Table 7. 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 Table 7 are reserved, and should not be used Table 6. 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 7. 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 TXD0 (UART0) 1 0 PWM1 1 1 reserved 3:2 P0.1 0 0 GPIO Port 0.1 0 0 1 RXD0 (UART0) 1 0 PWM3 1 1 EINT0 5:4 P0.2 0 0 GPIO Port 0.2 0 0 1 SCL (I2C-bus) 1 0 Capture 0.0 (Timer 0) 1 1 reserved 7:6 P0.3 0 0 GPIO Port 0.3 0 01SDA (I2C-bus) 1 0 Match 0.0 (Timer 0) 1 1 EINT1 9:8 P0.4 0 0 GPIO Port 0.4 0 0 1 SCK (SPI0) 1 0 Capture 0.1 (Timer 0) 1 1 reserved |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |