SlideShare a Scribd company logo
1 of 28
ARM
Advanced RISC Machine
LPC2148
Functionality of
ARM pins
FUNCTIONALITY OF PINS
• Pin selection register are used to select the different functionalities of LPC2148 i/o
pins.
• PINSEL0 Pin function select
– Read/Write 0x0000 0000 (P0.0-P0.15)
• PINSEL1 Pin function select
– Read/Write 0x0000 0000 (P0.16-P0.31)
• PINSEL2 Pin function select
– Read/Write 0x0000 0000 (P1.16-P1.31)
PIN FUNCTION SELECT REGISTER 0
(Pin of
Select Port Pin sélection Function
Résister) line
 1:0 P0.0 00 GPIO Port 0.0
01 TXD (UART0)
10 PWM1
11 Reserved
 3:2 P0.1 00 GPIO Port 0.1
01 RxD (UART0)
10 PWM3
11 EINT0
• 5:4 P0.2 00 GPIO Port 0.2
01 SCL0 (I2C0)
10 Capture 0.0 (Timer 0)
11 Reserved
• 7:6 P0.3 00 GPIO Port 0.3
01 SDA0 (I2C0)
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
11 Reserved[1][2]
or AD1.0[3]
 15:14 P0.7 00 GPIO Port 0.7
01 SSEL0 (SPI0)
10 PWM2
11 EINT2
• 17:16 P0.8 00 GPIO Port 0.8
01 TXD UART1
10 PWM4
11 Reserved[1][2]
or AD1.1[3]
• 19:18 P0.9 00 GPIO Port 0.9
01 RxD (UART1)
10 PWM6
11 EINT3
 21:20 P0.10 00 GPIO Port 0.10
01 Reserved[1][2] or RTS
(UART1)[3]
10 Capture 1.0 (Timer 1)
11 Reserved[1][2]
orAD1.2[3]
 23:22 P0.11 00 GPIO Port 0.11
01 Reserved[1][2] or CTS
(UART1)[3]
10 Capture 1.1 (Timer 1)
11 SCL1 (I2C1)
 25:24 P0.12 00 GPIO Port 0.12 0
01 Reserved[1][2] or DSR
(UART1)[3]
10 Match 1.0 (Timer 1)
11 Reserved[1][2]
or AD1.3[3]
 27:26 P0.13 00 GPIO Port 0.13 0
01 Reserved[1][2] or DTR
(UART1)[3]
10 Match 1.1 (Timer 1)
11 Reserved[1][2]
orAD1.4[3]
 29:28 P0.14 00 GPIO Port 0.14 0
01 Reserved[1][2] or DCD
(UART1)[3]
10 EINT1
11 SDA1 (I2C1)
 31:30 P0.15 00 GPIO Port 0.15 0
01 Reserved[1][2] or RI
(UART1)[3]
10 EINT2
11 Reserved[1][2]
orAD1.5[3]
 29:28 P0.14 00 GPIO Port 0.14 0
01 Reserved[1][2] or DCD
(UART1)[3]
10 EINT1
11 SDA1 (I2C1)
 31:30 P0.15 00 GPIO Port 0.15 0
01 Reserved[1][2] or RI
(UART1)[3]
10 EINT2
11 Reserved[1][2]
orAD1.5[3]
PIN FUNCTION SELECT REGISTER 1
 1:0 P0.16 00 GPIO Port 0.16 0
01 EINT0
10 Match 0.2 (Timer 0)
11 Capture 0.2 (Timer 0)
 3:2 P0.17 00 GPIO Port 0.15 0
01 Capture 1.2 (Timer 1)
10 SCK1 (SSP)
11 Match 1.2 (Timer 1)
• 5:4 P0.18 00 GPIO Port 0.18 0
01 Capture 1.3 (Timer 1)
10 Match 0.2 (Timer 0)
11 MISO1 (SSP)
• 7:6 P0.19 00 GPIO Port 0.19 0
01 Match 1.2 (Timer 1)
10 MOSI1 (SSP)
11 Capture 1.2 (Timer 1)
 9:8 P0.20 00 GPIO Port 0.20 0
01 Match 1.3 (Timer 1)
10 SSEL1 (SSP)
11 EINT3
 11:10 P0.21 00 GPIO Port 0.21 0
01 PWM5
10 Reserved[1][2] or
AD1.6[3]
11 Capture 1.3 (Timer 1)
 13:12 P0.22 00 GPIO Port 0.22 0
01 Reserved[1][2] or
AD1.7[3]
10 Capture 0.0 (Timer 0)
11 Match 0.0 (Timer 0)
 15:14 P0.23 00 GPIO Port 0.23 0
01 VBUS
10 Reserved
11 Reserved
 17:16 P0.24 00 Reserved
01 Reserved
10 Reserved
11 Reserved
 19:18 P0.25 00 GPIO Port 0.25 0
01 AD0.4
10 Reserved[1] or
Aout(DAC)[2][3]
11 Reserved
• 21:20 P0.26 00 Reserved
01 Reserved
10 Reserved
11 Reserved
• 23:22 P0.27 00 Reserved
01 Reserved
10 Reserved
11 Reserved
• 25:24 P0.28 00 GPIO Port 0.28
01 AD0.1
10 Capture 0.2 (Timer 0)
11 Match 0.2 (Timer 0)
• 27:26 P0.29 00 GPIO Port 0.29
01 AD0.2
10 Capture 0.3 (Timer 0)
11 Match 0.3 (Timer 0)
• 29:28 P0.30 00 GPIO Port 0.30
01 AD0.3
10 EINT3
11 Capture 0.0 (Timer 0)
• 31:30 P0.31 00 GPO Port only
01 UP_LED
10 CONNECT
11 Reserved
Applications
• General purpose I/O
• Driving LEDs, or other indicators
• Controlling off-chip devices
• Sensing digital inputs
GPIO port Direction register (IODIR)
• IODIR Register is used to configure the i/o pins,
either input and output pins
• IODIR is a 32-pin register.
• IODIRx=0x00000000-i/p config.
• IODIRx=0xffffffff-o/p config.
GPIO port Pin value register
(IOPIN)
• This register provides the value of port pins that
are configured to perform only digital functions.
• IOPIN register is used to read the current state of
every GPIO pin
GPIO port Set register (IOSET)
• This register is used to produce a HIGH level
output at the port pins configured as GPIO in an
OUTPUT mode.
• Writing 1 produces a HIGH level at the
corresponding port pins.
• Writing 0 has no effect.
GPIO port Clear register (IOCLR)
• This register is used to produce a LOW level
output at port pins configured as GPIO in an
OUTPUT mode.
• Writing 1 produces a LOW level at the
corresponding port pin and clears the
corresponding bit in the IOSET register.
• Writing 0 has no effect.
Complete detail of arm part 5

More Related Content

What's hot

04 adc (pic24, ds pic with dma)
04 adc (pic24, ds pic with dma)04 adc (pic24, ds pic with dma)
04 adc (pic24, ds pic with dma)antonio michua
 
Cisco Router EIGRP Config
Cisco Router EIGRP ConfigCisco Router EIGRP Config
Cisco Router EIGRP ConfigKadir CIKIS
 
Computer Science Training,IT Training,CS Training,Computer Training Institute,
Computer Science Training,IT Training,CS Training,Computer Training Institute,Computer Science Training,IT Training,CS Training,Computer Training Institute,
Computer Science Training,IT Training,CS Training,Computer Training Institute,Technogroovy
 
Developing an avr microcontroller system
Developing an avr microcontroller systemDeveloping an avr microcontroller system
Developing an avr microcontroller systemnugnugmacmac
 
AVR Microcontroller
AVR MicrocontrollerAVR Microcontroller
AVR MicrocontrollerÖzcan Acar
 
Regolatore Controller-Ucontrol
Regolatore Controller-UcontrolRegolatore Controller-Ucontrol
Regolatore Controller-Ucontrolconwaychris
 
Home automation system
Home automation system Home automation system
Home automation system Hira Shaukat
 
AVR_Course_Day6 external hardware interrupts and analogue to digital converter
AVR_Course_Day6 external hardware  interrupts and analogue to digital converterAVR_Course_Day6 external hardware  interrupts and analogue to digital converter
AVR_Course_Day6 external hardware interrupts and analogue to digital converterMohamed Ali
 
Introduction to AVR Microcontroller
Introduction to AVR Microcontroller Introduction to AVR Microcontroller
Introduction to AVR Microcontroller Mahmoud Sadat
 
8-bit PIC Microcontrollers
8-bit PIC Microcontrollers8-bit PIC Microcontrollers
8-bit PIC MicrocontrollersPremier Farnell
 
Interrupts
InterruptsInterrupts
InterruptsPRADEEP
 
Maxon epos2 feature-comparison-chart
Maxon epos2 feature-comparison-chartMaxon epos2 feature-comparison-chart
Maxon epos2 feature-comparison-chartElectromate
 

What's hot (20)

04 adc (pic24, ds pic with dma)
04 adc (pic24, ds pic with dma)04 adc (pic24, ds pic with dma)
04 adc (pic24, ds pic with dma)
 
The IO concept
The IO conceptThe IO concept
The IO concept
 
Cisco Router EIGRP Config
Cisco Router EIGRP ConfigCisco Router EIGRP Config
Cisco Router EIGRP Config
 
ATmega 16
ATmega 16ATmega 16
ATmega 16
 
Computer Science Training,IT Training,CS Training,Computer Training Institute,
Computer Science Training,IT Training,CS Training,Computer Training Institute,Computer Science Training,IT Training,CS Training,Computer Training Institute,
Computer Science Training,IT Training,CS Training,Computer Training Institute,
 
Developing an avr microcontroller system
Developing an avr microcontroller systemDeveloping an avr microcontroller system
Developing an avr microcontroller system
 
A tmega8 basics
A tmega8 basicsA tmega8 basics
A tmega8 basics
 
Registers
RegistersRegisters
Registers
 
AVR Microcontroller
AVR MicrocontrollerAVR Microcontroller
AVR Microcontroller
 
Regolatore Controller-Ucontrol
Regolatore Controller-UcontrolRegolatore Controller-Ucontrol
Regolatore Controller-Ucontrol
 
Home automation system
Home automation system Home automation system
Home automation system
 
AVR_Course_Day6 external hardware interrupts and analogue to digital converter
AVR_Course_Day6 external hardware  interrupts and analogue to digital converterAVR_Course_Day6 external hardware  interrupts and analogue to digital converter
AVR_Course_Day6 external hardware interrupts and analogue to digital converter
 
Introduction to AVR Microcontroller
Introduction to AVR Microcontroller Introduction to AVR Microcontroller
Introduction to AVR Microcontroller
 
8-bit PIC Microcontrollers
8-bit PIC Microcontrollers8-bit PIC Microcontrollers
8-bit PIC Microcontrollers
 
Avr and arm
Avr and armAvr and arm
Avr and arm
 
UART MCU
UART MCUUART MCU
UART MCU
 
Intrerfacing i
Intrerfacing iIntrerfacing i
Intrerfacing i
 
Interrupts
InterruptsInterrupts
Interrupts
 
Chapter1
Chapter1Chapter1
Chapter1
 
Maxon epos2 feature-comparison-chart
Maxon epos2 feature-comparison-chartMaxon epos2 feature-comparison-chart
Maxon epos2 feature-comparison-chart
 

Viewers also liked

4 bit lcd_interfacing_with_arm7_primer
4 bit lcd_interfacing_with_arm7_primer4 bit lcd_interfacing_with_arm7_primer
4 bit lcd_interfacing_with_arm7_primerpvmistary
 
ARM 7 LPC 2148 lecture
ARM 7 LPC 2148 lectureARM 7 LPC 2148 lecture
ARM 7 LPC 2148 lectureanishgoel
 
ARM7(LPC2148)PROJECTS-ROBOTICS- cell phone controlled three axis robot with...
ARM7(LPC2148)PROJECTS-ROBOTICS-   cell phone controlled three axis robot with...ARM7(LPC2148)PROJECTS-ROBOTICS-   cell phone controlled three axis robot with...
ARM7(LPC2148)PROJECTS-ROBOTICS- cell phone controlled three axis robot with...ASHOKKUMAR RAMAR
 
Igbsg 2014 development_of_a_cell_phone_based_vehicle_remote_control_system
Igbsg 2014 development_of_a_cell_phone_based_vehicle_remote_control_systemIgbsg 2014 development_of_a_cell_phone_based_vehicle_remote_control_system
Igbsg 2014 development_of_a_cell_phone_based_vehicle_remote_control_systemambreen_0786
 
The current & future trends on ultra high
The current & future trends on ultra highThe current & future trends on ultra high
The current & future trends on ultra highchandan kumar
 
SMS Based GPS - Dits
SMS Based GPS - DitsSMS Based GPS - Dits
SMS Based GPS - Ditspowerusergpt
 
COMPLETE DETAIL OF ARM PART 3
COMPLETE DETAIL OF ARM PART 3COMPLETE DETAIL OF ARM PART 3
COMPLETE DETAIL OF ARM PART 3NOWAY
 
Warren Jones Langham Hilton Executive Chef
Warren Jones Langham Hilton Executive ChefWarren Jones Langham Hilton Executive Chef
Warren Jones Langham Hilton Executive ChefWarren Jones FMWCS
 
Main project (touch screen based robotic vehicle)
Main project (touch screen based robotic vehicle)Main project (touch screen based robotic vehicle)
Main project (touch screen based robotic vehicle)VK RM
 
arm complete detail part 2
arm complete detail part 2arm complete detail part 2
arm complete detail part 2NOWAY
 
Pll in lpc2148
Pll in lpc2148Pll in lpc2148
Pll in lpc2148Aarav Soni
 
Overview of LPC214x MCUs
Overview of LPC214x MCUsOverview of LPC214x MCUs
Overview of LPC214x MCUsPremier Farnell
 
DESIGN OF INTELLIGENT MOBILE VEHICLE CHECKING SYSTEM BASED ON ARM 7
DESIGN OF INTELLIGENT MOBILE VEHICLE CHECKING SYSTEM BASED ON ARM 7DESIGN OF INTELLIGENT MOBILE VEHICLE CHECKING SYSTEM BASED ON ARM 7
DESIGN OF INTELLIGENT MOBILE VEHICLE CHECKING SYSTEM BASED ON ARM 7Noor Mohammad's Faltoos
 
ARM based protection system for induction motor against faults
ARM based protection system for induction motor against faultsARM based protection system for induction motor against faults
ARM based protection system for induction motor against faultsEditor IJMTER
 
ARM COMPLETE DETAIL PART 4
ARM COMPLETE DETAIL PART 4ARM COMPLETE DETAIL PART 4
ARM COMPLETE DETAIL PART 4NOWAY
 
voice recognition based home automation system using arm-7
voice recognition based home automation system using arm-7voice recognition based home automation system using arm-7
voice recognition based home automation system using arm-7Ajesh Kumar
 
android controlled robot
android controlled robotandroid controlled robot
android controlled robotsunny080593
 

Viewers also liked (20)

4 bit lcd_interfacing_with_arm7_primer
4 bit lcd_interfacing_with_arm7_primer4 bit lcd_interfacing_with_arm7_primer
4 bit lcd_interfacing_with_arm7_primer
 
ARM 7 LPC 2148 lecture
ARM 7 LPC 2148 lectureARM 7 LPC 2148 lecture
ARM 7 LPC 2148 lecture
 
ARM7(LPC2148)PROJECTS-ROBOTICS- cell phone controlled three axis robot with...
ARM7(LPC2148)PROJECTS-ROBOTICS-   cell phone controlled three axis robot with...ARM7(LPC2148)PROJECTS-ROBOTICS-   cell phone controlled three axis robot with...
ARM7(LPC2148)PROJECTS-ROBOTICS- cell phone controlled three axis robot with...
 
Igbsg 2014 development_of_a_cell_phone_based_vehicle_remote_control_system
Igbsg 2014 development_of_a_cell_phone_based_vehicle_remote_control_systemIgbsg 2014 development_of_a_cell_phone_based_vehicle_remote_control_system
Igbsg 2014 development_of_a_cell_phone_based_vehicle_remote_control_system
 
The current & future trends on ultra high
The current & future trends on ultra highThe current & future trends on ultra high
The current & future trends on ultra high
 
SMS Based GPS - Dits
SMS Based GPS - DitsSMS Based GPS - Dits
SMS Based GPS - Dits
 
COMPLETE DETAIL OF ARM PART 3
COMPLETE DETAIL OF ARM PART 3COMPLETE DETAIL OF ARM PART 3
COMPLETE DETAIL OF ARM PART 3
 
Warren Jones Langham Hilton Executive Chef
Warren Jones Langham Hilton Executive ChefWarren Jones Langham Hilton Executive Chef
Warren Jones Langham Hilton Executive Chef
 
Main project (touch screen based robotic vehicle)
Main project (touch screen based robotic vehicle)Main project (touch screen based robotic vehicle)
Main project (touch screen based robotic vehicle)
 
arm complete detail part 2
arm complete detail part 2arm complete detail part 2
arm complete detail part 2
 
Pll in lpc2148
Pll in lpc2148Pll in lpc2148
Pll in lpc2148
 
Overview of LPC214x MCUs
Overview of LPC214x MCUsOverview of LPC214x MCUs
Overview of LPC214x MCUs
 
DESIGN OF INTELLIGENT MOBILE VEHICLE CHECKING SYSTEM BASED ON ARM 7
DESIGN OF INTELLIGENT MOBILE VEHICLE CHECKING SYSTEM BASED ON ARM 7DESIGN OF INTELLIGENT MOBILE VEHICLE CHECKING SYSTEM BASED ON ARM 7
DESIGN OF INTELLIGENT MOBILE VEHICLE CHECKING SYSTEM BASED ON ARM 7
 
ARM based protection system for induction motor against faults
ARM based protection system for induction motor against faultsARM based protection system for induction motor against faults
ARM based protection system for induction motor against faults
 
ARM COMPLETE DETAIL PART 4
ARM COMPLETE DETAIL PART 4ARM COMPLETE DETAIL PART 4
ARM COMPLETE DETAIL PART 4
 
Arm 7 nxp
Arm 7 nxpArm 7 nxp
Arm 7 nxp
 
Introduction to ARM
Introduction to ARMIntroduction to ARM
Introduction to ARM
 
voice recognition based home automation system using arm-7
voice recognition based home automation system using arm-7voice recognition based home automation system using arm-7
voice recognition based home automation system using arm-7
 
ARM7TDM
ARM7TDMARM7TDM
ARM7TDM
 
android controlled robot
android controlled robotandroid controlled robot
android controlled robot
 

Similar to Complete detail of arm part 5

GPIO In Arm cortex-m4 tiva-c
GPIO In Arm cortex-m4 tiva-cGPIO In Arm cortex-m4 tiva-c
GPIO In Arm cortex-m4 tiva-cZakaria Gomaa
 
STM_ADC para microcontroladores STM32 - Conceptos basicos
STM_ADC para microcontroladores STM32 - Conceptos basicosSTM_ADC para microcontroladores STM32 - Conceptos basicos
STM_ADC para microcontroladores STM32 - Conceptos basicosps6005tec
 
Assembly programming II
Assembly programming IIAssembly programming II
Assembly programming IIOmar Sanchez
 
Assembly programming II
Assembly programming IIAssembly programming II
Assembly programming IIOmar Sanchez
 
Microprocessor 8051
Microprocessor 8051Microprocessor 8051
Microprocessor 8051Anil Maurya
 
moving message display of lcd
 moving message display of lcd moving message display of lcd
moving message display of lcdabhishek upadhyay
 
MicrocontrollersII (1).pptx
MicrocontrollersII (1).pptxMicrocontrollersII (1).pptx
MicrocontrollersII (1).pptxnodov66591
 
8051 microcontroller training (sahil gupta 9068557926)
8051 microcontroller training  (sahil gupta   9068557926)8051 microcontroller training  (sahil gupta   9068557926)
8051 microcontroller training (sahil gupta 9068557926)Sahil Gupta
 
93 appendix pic18(l)f2 x4xk22 (1)
93 appendix pic18(l)f2 x4xk22 (1)93 appendix pic18(l)f2 x4xk22 (1)
93 appendix pic18(l)f2 x4xk22 (1)Devanshu Suman
 
Edu ciaa-nxp pinout-a4_v4r3_es
Edu ciaa-nxp pinout-a4_v4r3_esEdu ciaa-nxp pinout-a4_v4r3_es
Edu ciaa-nxp pinout-a4_v4r3_esJuan Barón
 
Analog To Digital Conversion (ADC) Programming in LPC2148
Analog To Digital Conversion (ADC) Programming in LPC2148Analog To Digital Conversion (ADC) Programming in LPC2148
Analog To Digital Conversion (ADC) Programming in LPC2148Omkar Rane
 
TC74LCX244FT PSpice Model (Free SPICE Model)
TC74LCX244FT PSpice Model (Free SPICE Model)TC74LCX244FT PSpice Model (Free SPICE Model)
TC74LCX244FT PSpice Model (Free SPICE Model)Tsuyoshi Horigome
 
TC74LCX244F PSpice Model (Free SPICE Model)
TC74LCX244F PSpice Model (Free SPICE Model)TC74LCX244F PSpice Model (Free SPICE Model)
TC74LCX244F PSpice Model (Free SPICE Model)Tsuyoshi Horigome
 
TC74LCX244FW PSpice Model (Free SPICE Model)
TC74LCX244FW PSpice Model (Free SPICE Model)TC74LCX244FW PSpice Model (Free SPICE Model)
TC74LCX244FW PSpice Model (Free SPICE Model)Tsuyoshi Horigome
 
Project single cyclemips processor_verilog
Project single cyclemips processor_verilogProject single cyclemips processor_verilog
Project single cyclemips processor_verilogHarsha Yelisala
 

Similar to Complete detail of arm part 5 (20)

GPIO In Arm cortex-m4 tiva-c
GPIO In Arm cortex-m4 tiva-cGPIO In Arm cortex-m4 tiva-c
GPIO In Arm cortex-m4 tiva-c
 
Lecture7
Lecture7Lecture7
Lecture7
 
STM_ADC para microcontroladores STM32 - Conceptos basicos
STM_ADC para microcontroladores STM32 - Conceptos basicosSTM_ADC para microcontroladores STM32 - Conceptos basicos
STM_ADC para microcontroladores STM32 - Conceptos basicos
 
Assembly programming II
Assembly programming IIAssembly programming II
Assembly programming II
 
Assembly programming II
Assembly programming IIAssembly programming II
Assembly programming II
 
8051 MC.pptx
8051 MC.pptx8051 MC.pptx
8051 MC.pptx
 
Microprocessor 8051
Microprocessor 8051Microprocessor 8051
Microprocessor 8051
 
moving message display of lcd
 moving message display of lcd moving message display of lcd
moving message display of lcd
 
MicrocontrollersII (1).pptx
MicrocontrollersII (1).pptxMicrocontrollersII (1).pptx
MicrocontrollersII (1).pptx
 
8051 microcontroller training (sahil gupta 9068557926)
8051 microcontroller training  (sahil gupta   9068557926)8051 microcontroller training  (sahil gupta   9068557926)
8051 microcontroller training (sahil gupta 9068557926)
 
93 appendix pic18(l)f2 x4xk22 (1)
93 appendix pic18(l)f2 x4xk22 (1)93 appendix pic18(l)f2 x4xk22 (1)
93 appendix pic18(l)f2 x4xk22 (1)
 
Lpc 17xx adc
Lpc 17xx adcLpc 17xx adc
Lpc 17xx adc
 
Ppt (1)
Ppt (1)Ppt (1)
Ppt (1)
 
Edu ciaa-nxp pinout-a4_v4r3_es
Edu ciaa-nxp pinout-a4_v4r3_esEdu ciaa-nxp pinout-a4_v4r3_es
Edu ciaa-nxp pinout-a4_v4r3_es
 
Analog To Digital Conversion (ADC) Programming in LPC2148
Analog To Digital Conversion (ADC) Programming in LPC2148Analog To Digital Conversion (ADC) Programming in LPC2148
Analog To Digital Conversion (ADC) Programming in LPC2148
 
TC74LCX244FT PSpice Model (Free SPICE Model)
TC74LCX244FT PSpice Model (Free SPICE Model)TC74LCX244FT PSpice Model (Free SPICE Model)
TC74LCX244FT PSpice Model (Free SPICE Model)
 
Microcontroller part 2
Microcontroller part 2Microcontroller part 2
Microcontroller part 2
 
TC74LCX244F PSpice Model (Free SPICE Model)
TC74LCX244F PSpice Model (Free SPICE Model)TC74LCX244F PSpice Model (Free SPICE Model)
TC74LCX244F PSpice Model (Free SPICE Model)
 
TC74LCX244FW PSpice Model (Free SPICE Model)
TC74LCX244FW PSpice Model (Free SPICE Model)TC74LCX244FW PSpice Model (Free SPICE Model)
TC74LCX244FW PSpice Model (Free SPICE Model)
 
Project single cyclemips processor_verilog
Project single cyclemips processor_verilogProject single cyclemips processor_verilog
Project single cyclemips processor_verilog
 

Recently uploaded

CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for BeginnersSabitha Banu
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...M56BOOKSTORE PRODUCT/SERVICE
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxEyham Joco
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
MARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupMARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupJonathanParaisoCruz
 
internship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerinternship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerunnathinaik
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaVirag Sontakke
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfUjwalaBharambe
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementmkooblal
 

Recently uploaded (20)

CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for Beginners
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
ESSENTIAL of (CS/IT/IS) class 06 (database)
ESSENTIAL of (CS/IT/IS) class 06 (database)ESSENTIAL of (CS/IT/IS) class 06 (database)
ESSENTIAL of (CS/IT/IS) class 06 (database)
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptx
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
MARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupMARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized Group
 
internship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerinternship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developer
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of India
 
9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of management
 

Complete detail of arm part 5

  • 2.
  • 4. FUNCTIONALITY OF PINS • Pin selection register are used to select the different functionalities of LPC2148 i/o pins. • PINSEL0 Pin function select – Read/Write 0x0000 0000 (P0.0-P0.15) • PINSEL1 Pin function select – Read/Write 0x0000 0000 (P0.16-P0.31) • PINSEL2 Pin function select – Read/Write 0x0000 0000 (P1.16-P1.31)
  • 5.
  • 6. PIN FUNCTION SELECT REGISTER 0 (Pin of Select Port Pin sélection Function Résister) line  1:0 P0.0 00 GPIO Port 0.0 01 TXD (UART0) 10 PWM1 11 Reserved  3:2 P0.1 00 GPIO Port 0.1 01 RxD (UART0) 10 PWM3 11 EINT0
  • 7. • 5:4 P0.2 00 GPIO Port 0.2 01 SCL0 (I2C0) 10 Capture 0.0 (Timer 0) 11 Reserved • 7:6 P0.3 00 GPIO Port 0.3 01 SDA0 (I2C0) 10 Match 0.0 (Timer 0) 11 EINT1
  • 8. • 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
  • 9.  13:12 P0.6 00 GPIO Port 0.6 0 01 MOSI0 (SPI0) 10 Capture 0.2 (Timer 11 Reserved[1][2] or AD1.0[3]  15:14 P0.7 00 GPIO Port 0.7 01 SSEL0 (SPI0) 10 PWM2 11 EINT2
  • 10. • 17:16 P0.8 00 GPIO Port 0.8 01 TXD UART1 10 PWM4 11 Reserved[1][2] or AD1.1[3] • 19:18 P0.9 00 GPIO Port 0.9 01 RxD (UART1) 10 PWM6 11 EINT3
  • 11.  21:20 P0.10 00 GPIO Port 0.10 01 Reserved[1][2] or RTS (UART1)[3] 10 Capture 1.0 (Timer 1) 11 Reserved[1][2] orAD1.2[3]  23:22 P0.11 00 GPIO Port 0.11 01 Reserved[1][2] or CTS (UART1)[3] 10 Capture 1.1 (Timer 1) 11 SCL1 (I2C1)
  • 12.  25:24 P0.12 00 GPIO Port 0.12 0 01 Reserved[1][2] or DSR (UART1)[3] 10 Match 1.0 (Timer 1) 11 Reserved[1][2] or AD1.3[3]  27:26 P0.13 00 GPIO Port 0.13 0 01 Reserved[1][2] or DTR (UART1)[3] 10 Match 1.1 (Timer 1) 11 Reserved[1][2] orAD1.4[3]
  • 13.  29:28 P0.14 00 GPIO Port 0.14 0 01 Reserved[1][2] or DCD (UART1)[3] 10 EINT1 11 SDA1 (I2C1)  31:30 P0.15 00 GPIO Port 0.15 0 01 Reserved[1][2] or RI (UART1)[3] 10 EINT2 11 Reserved[1][2] orAD1.5[3]
  • 14.  29:28 P0.14 00 GPIO Port 0.14 0 01 Reserved[1][2] or DCD (UART1)[3] 10 EINT1 11 SDA1 (I2C1)  31:30 P0.15 00 GPIO Port 0.15 0 01 Reserved[1][2] or RI (UART1)[3] 10 EINT2 11 Reserved[1][2] orAD1.5[3]
  • 15. PIN FUNCTION SELECT REGISTER 1  1:0 P0.16 00 GPIO Port 0.16 0 01 EINT0 10 Match 0.2 (Timer 0) 11 Capture 0.2 (Timer 0)  3:2 P0.17 00 GPIO Port 0.15 0 01 Capture 1.2 (Timer 1) 10 SCK1 (SSP) 11 Match 1.2 (Timer 1)
  • 16. • 5:4 P0.18 00 GPIO Port 0.18 0 01 Capture 1.3 (Timer 1) 10 Match 0.2 (Timer 0) 11 MISO1 (SSP) • 7:6 P0.19 00 GPIO Port 0.19 0 01 Match 1.2 (Timer 1) 10 MOSI1 (SSP) 11 Capture 1.2 (Timer 1)
  • 17.  9:8 P0.20 00 GPIO Port 0.20 0 01 Match 1.3 (Timer 1) 10 SSEL1 (SSP) 11 EINT3  11:10 P0.21 00 GPIO Port 0.21 0 01 PWM5 10 Reserved[1][2] or AD1.6[3] 11 Capture 1.3 (Timer 1)
  • 18.  13:12 P0.22 00 GPIO Port 0.22 0 01 Reserved[1][2] or AD1.7[3] 10 Capture 0.0 (Timer 0) 11 Match 0.0 (Timer 0)  15:14 P0.23 00 GPIO Port 0.23 0 01 VBUS 10 Reserved 11 Reserved
  • 19.  17:16 P0.24 00 Reserved 01 Reserved 10 Reserved 11 Reserved  19:18 P0.25 00 GPIO Port 0.25 0 01 AD0.4 10 Reserved[1] or Aout(DAC)[2][3] 11 Reserved
  • 20. • 21:20 P0.26 00 Reserved 01 Reserved 10 Reserved 11 Reserved • 23:22 P0.27 00 Reserved 01 Reserved 10 Reserved 11 Reserved
  • 21. • 25:24 P0.28 00 GPIO Port 0.28 01 AD0.1 10 Capture 0.2 (Timer 0) 11 Match 0.2 (Timer 0) • 27:26 P0.29 00 GPIO Port 0.29 01 AD0.2 10 Capture 0.3 (Timer 0) 11 Match 0.3 (Timer 0)
  • 22. • 29:28 P0.30 00 GPIO Port 0.30 01 AD0.3 10 EINT3 11 Capture 0.0 (Timer 0) • 31:30 P0.31 00 GPO Port only 01 UP_LED 10 CONNECT 11 Reserved
  • 23. Applications • General purpose I/O • Driving LEDs, or other indicators • Controlling off-chip devices • Sensing digital inputs
  • 24. GPIO port Direction register (IODIR) • IODIR Register is used to configure the i/o pins, either input and output pins • IODIR is a 32-pin register. • IODIRx=0x00000000-i/p config. • IODIRx=0xffffffff-o/p config.
  • 25. GPIO port Pin value register (IOPIN) • This register provides the value of port pins that are configured to perform only digital functions. • IOPIN register is used to read the current state of every GPIO pin
  • 26. GPIO port Set register (IOSET) • This register is used to produce a HIGH level output at the port pins configured as GPIO in an OUTPUT mode. • Writing 1 produces a HIGH level at the corresponding port pins. • Writing 0 has no effect.
  • 27. GPIO port Clear register (IOCLR) • This register is used to produce a LOW level output at port pins configured as GPIO in an OUTPUT mode. • Writing 1 produces a LOW level at the corresponding port pin and clears the corresponding bit in the IOSET register. • Writing 0 has no effect.