SlideShare ist ein Scribd-Unternehmen logo
1 von 28
Microprocessors systems
Vlasov Sergey
smvlasov@itmo.ru
Kirsanova Aleksandra
ARM
Advanced RISC Machine <=> Acorn RISC Machine
• ARM7
• ARM9, ARM11
• Cortex A
• Cortex M
• Cortex-M0, Cortex-M0+, Cortex-M1
• Cortex-M3
• Cortex-M4, Cortex-M7
• Cortex-M23, Cortex-M33
RISC
reduced instruction set computer
• RISC processors use a small and limited number of
instructions
• RISC machines mostly uses hardwired control unit
• RISC processors consume less power and have high
performance
• Each instruction is very simple and consistent
• RISC processors use simple addressing modes
• RISC instruction is of uniform fixed length
• Large Number of Registers
ARM Cortex-M
• Microcontrollers
• ASIC (Application-specific integrated circuit)
• ASSP (Application-specific standard product)
• FPGA
• SoC (System-on-crystal)
ARM Cortex-M
Arm Core
Cortex
M0
Cortex
M0+
Cortex
M1
Cortex
M3
Cortex
M4
Cortex
M7
Cortex
M23
Cortex
M33
Cortex
M35P
ARM architecture ARMv6-M ARMv6-M ARMv6-M ARMv7-M ARMv7E-M ARMv7E-M
ARMv8-M
Baseline
ARMv8-M
Mainline
ARMv8-M
Mainline
Computer architecture
Von
Neuman
Von
Neumann
Von
Neumann
Harvard Harvard Harvard Von Neumann Harvard Harvard
Instruction pipeline 3 stages 2 stages 3 stages 3 stages 3 stages 6 stages 2 stages 3 stages 3 stages
Thumb-1 instructions Most Most Most Entire Entire Entire Most Entire Entire
Thumb-2 instructions Some Some Some Entire Entire Entire Some Entire Entire
Multiply instructions
32x32 = 32-bit result
Yes Yes Yes Yes Yes Yes Yes Yes Yes
Multiply instructions
32x32 = 64-bit result
No No No Yes Yes Yes No Yes Yes
Divide instructions
32/32 = 32-bit quotient
No No No Yes Yes Yes Yes Yes Yes
Saturated instructions No No No Some Yes Yes No Yes Yes
DSP instructions No No No No Yes Yes No Optional Optional
Interrupt latency
(if zero-wait state RAM)
16 cycles 15 cycles
23 for NMI
26 for IRQ
12 cycles 12 cycles 12 cycles
15 no security
ext
27 security ext
TBD TBD
ARM Cortex-M
Von Neumann (Princeton) Harvard
ARM Cortex-M
Instruction pipeline
•IF — Instruction Fetch,
•ID — Instruction Decode,
•EX — Execute,
•MEM — Memory access,
•WB — Register write back.
ARM Cortex-M
Instruction pipeline
Pipeline states:
1. Fetch
2. Decode
3. Execute
4. Write-back
ARM Cortex-M
Instruction pipeline
Pipeline states:
1. Fetch
2. Decode
3. Execute
4. Write-back
ARM Cortex-M
Processor registers
The processor has the following 32-bit registers:
• 13 general-purpose registers, r0-r12
• Stack Pointer (SP) alias of banked registers,
SP_process and SP_main
• Link Register (LR), r14
• Program Counter (PC), r15
• Special-purpose Program Status Registers,
(xPSR).
ARM Cortex-M
Processor registers
ARM Cortex-M
STM32
ARM Cortex-M – STM32
ARM Cortex-M – STM32
ARM Cortex-M
Memory
ARM Cortex-M – STM32
Power
ARM Cortex-M
Clock tree
General-purpose I/O
Main features
• Up to 16 I/Os under control
• Output states: push-pull or open drain + pull-up/down
• Output data from output data register (GPIOx_ODR)
• Speed selection for each I/O
• Input states: floating, pull-up/down, analog
• Input data to input data register (GPIOx_IDR)
• Bit set and reset register (GPIOx_BSRR) for bitwise write access to GPIOx_ODR
• Locking mechanism (GPIOx_LCKR) provided to freeze the I/O configuration
• Analog function
• Alternate function input/output selection registers (at most 16 AFs per I/O)
• Fast toggle capable of changing every two clock cycles
• Highly flexible pin multiplexing allows the use of I/O pins as GPIOs or as
one of several peripheral functions
General-purpose I/O
General-purpose I/O
Input configuration
General-purpose I/O
Output configuration
General-purpose I/O
Alternate function configuration
General-purpose I/O
Selecting an alternate function
Port
AF0
SYS
AF1
TIM1/2
Afn
…
PORTA
PA0 -
TIM2_CH1/
TIM2_ETR
…
PA1 - TIM2_CH2 …
PAn - TIM2_CH3 …
…
… … … …
General-purpose I/O
Analog configuration
ARM Cortex-M
Example. Work with registers
button = *((uint32_t *)(0x40000000U + 0x00020000 + 0x10)) & 0x1;
button = GPIOA->IDR & GPIO_IDR_ID0;
Task 1. Read button state
• PERIPH_BASE = 0x40000000
• AHB1_BASE = PERIPH_BASE + 0x00020000
• GPIOA_BASE = AHB1_BASE + 0x0000
• Input Data Reg = 0x10
ARM Cortex-M
Example. Work with registers
*((uint32_t *)(0x40000000 + 0x00020000 + 0x0C00 + 0x14)) =
*((uint32_t *)(0x40000000 + 0x00020000 + 0x0C00 + 0x14)) | 0x1000;
GPIOD->ODR = GPIOD->ODR | GPIO_ODR_OD12; <=> GPIO->ODR |= 1 << 12;
Task 2. Turn led On
• PERIPH_BASE = 0x40000000
• AHB1_BASE = PERIPH_BASE + 0x00020000
• GPIOD_BASE = AHB1_BASE + 0x0C00
• Output Data Reg = 0x14
Read -> Modify -> Write
ARM Cortex-M
Bit Banding
Address in the bit band alias region = Bit band alias base address + bit word offset
Where bit word offset = Byte offset from bit band base X32 + bit number X4
• PERIPH_BASE = 0x40000000 (PER_Base)
• GPIOD->ODR = 0x40020C14 (WORD)
• Bit Band Alias base = 0x42000000 (BBA_Base)
• PIN = 12
• BIT = BBA_Base + (WORD – PER_Base)*32 + PIN*4;
Byte offset from bit band base Bit number
Thank you for your attention
www.ifmo.ru

Weitere ähnliche Inhalte

Was ist angesagt?

2 introduction to arm architecture
2 introduction to arm architecture2 introduction to arm architecture
2 introduction to arm architecture
satish1jisatishji
 
Arm cortex-m3 by-joe_bungo_arm
Arm cortex-m3 by-joe_bungo_armArm cortex-m3 by-joe_bungo_arm
Arm cortex-m3 by-joe_bungo_arm
Prashant Ahire
 

Was ist angesagt? (20)

ARM Processor Tutorial
ARM Processor Tutorial ARM Processor Tutorial
ARM Processor Tutorial
 
Introduction to stm32-part2
Introduction to stm32-part2Introduction to stm32-part2
Introduction to stm32-part2
 
ARM Processors
ARM ProcessorsARM Processors
ARM Processors
 
Introduction to arm processor
Introduction to arm processorIntroduction to arm processor
Introduction to arm processor
 
Arm cortex-m4 programmer model
Arm cortex-m4 programmer modelArm cortex-m4 programmer model
Arm cortex-m4 programmer model
 
ARM 32-bit Microcontroller Cortex-M3 introduction
ARM 32-bit Microcontroller Cortex-M3 introductionARM 32-bit Microcontroller Cortex-M3 introduction
ARM 32-bit Microcontroller Cortex-M3 introduction
 
ARM architcture
ARM architcture ARM architcture
ARM architcture
 
2 introduction to arm architecture
2 introduction to arm architecture2 introduction to arm architecture
2 introduction to arm architecture
 
Arm processor
Arm processorArm processor
Arm processor
 
ARM Exception and interrupts
ARM Exception and interrupts ARM Exception and interrupts
ARM Exception and interrupts
 
Arm cortex-m3 by-joe_bungo_arm
Arm cortex-m3 by-joe_bungo_armArm cortex-m3 by-joe_bungo_arm
Arm cortex-m3 by-joe_bungo_arm
 
Embedded Systems (18EC62) - ARM - 32-Bit Microcontroller (Module 1)
Embedded Systems (18EC62) - ARM - 32-Bit Microcontroller (Module 1)Embedded Systems (18EC62) - ARM - 32-Bit Microcontroller (Module 1)
Embedded Systems (18EC62) - ARM - 32-Bit Microcontroller (Module 1)
 
Introduction to ARM
Introduction to ARMIntroduction to ARM
Introduction to ARM
 
ARDUINO EMBEDDED SYSTEM
ARDUINO EMBEDDED SYSTEMARDUINO EMBEDDED SYSTEM
ARDUINO EMBEDDED SYSTEM
 
LPC 2148 ARM MICROCONTROLLER
LPC 2148 ARM MICROCONTROLLERLPC 2148 ARM MICROCONTROLLER
LPC 2148 ARM MICROCONTROLLER
 
Unit II Arm 7 Introduction
Unit II Arm 7 IntroductionUnit II Arm 7 Introduction
Unit II Arm 7 Introduction
 
Arm Processors Architectures
Arm Processors ArchitecturesArm Processors Architectures
Arm Processors Architectures
 
Arm cm3 architecture_and_programmer_model
Arm cm3 architecture_and_programmer_modelArm cm3 architecture_and_programmer_model
Arm cm3 architecture_and_programmer_model
 
SOC design
SOC design SOC design
SOC design
 
Arm architecture
Arm architectureArm architecture
Arm architecture
 

Ähnlich wie Lecture 1.pptx

Ähnlich wie Lecture 1.pptx (20)

LPC 2148 Instructions Set.ppt
LPC 2148 Instructions Set.pptLPC 2148 Instructions Set.ppt
LPC 2148 Instructions Set.ppt
 
arm_3.ppt
arm_3.pptarm_3.ppt
arm_3.ppt
 
Unit 4 _ ARM Processors .pptx
Unit 4 _ ARM Processors .pptxUnit 4 _ ARM Processors .pptx
Unit 4 _ ARM Processors .pptx
 
AAME ARM Techcon2013 001v02 Architecture and Programmer's model
AAME ARM Techcon2013 001v02 Architecture and Programmer's modelAAME ARM Techcon2013 001v02 Architecture and Programmer's model
AAME ARM Techcon2013 001v02 Architecture and Programmer's model
 
Arm corrected ppt
Arm corrected pptArm corrected ppt
Arm corrected ppt
 
Arm
ArmArm
Arm
 
arm
armarm
arm
 
ARM stacks, subroutines, Cortex M3, LPC 214X
ARM  stacks, subroutines, Cortex M3, LPC 214XARM  stacks, subroutines, Cortex M3, LPC 214X
ARM stacks, subroutines, Cortex M3, LPC 214X
 
ARM Versions, architecture
ARM Versions, architectureARM Versions, architecture
ARM Versions, architecture
 
Introduction to ARM Architecture
Introduction to ARM ArchitectureIntroduction to ARM Architecture
Introduction to ARM Architecture
 
Arm
ArmArm
Arm
 
Arm architecture overview
Arm architecture overviewArm architecture overview
Arm architecture overview
 
17 october embedded seminar
17 october embedded seminar17 october embedded seminar
17 october embedded seminar
 
ARM
ARM ARM
ARM
 
Digital electronics
Digital electronicsDigital electronics
Digital electronics
 
Arm arc-2016
Arm arc-2016Arm arc-2016
Arm arc-2016
 
ARM Introduction
ARM IntroductionARM Introduction
ARM Introduction
 
arm.pptx
arm.pptxarm.pptx
arm.pptx
 
Archi arm2
Archi arm2Archi arm2
Archi arm2
 
Study on 32-bit Cortex - M3 Powered MCU: STM32F101
Study on 32-bit Cortex - M3 Powered MCU: STM32F101Study on 32-bit Cortex - M3 Powered MCU: STM32F101
Study on 32-bit Cortex - M3 Powered MCU: STM32F101
 

Mehr von GautamDhargalkar1 (7)

Lecture 6.pptx
Lecture 6.pptxLecture 6.pptx
Lecture 6.pptx
 
Lecture 5.pptx
Lecture 5.pptxLecture 5.pptx
Lecture 5.pptx
 
Lecture 4.pptx
Lecture 4.pptxLecture 4.pptx
Lecture 4.pptx
 
Lecture 3.pptx
Lecture 3.pptxLecture 3.pptx
Lecture 3.pptx
 
Lecture 2.pptx
Lecture 2.pptxLecture 2.pptx
Lecture 2.pptx
 
Indian_Flag_Template.potx
Indian_Flag_Template.potxIndian_Flag_Template.potx
Indian_Flag_Template.potx
 
Typical_Techniques_for_Eliminating_Physical_Contradictions-Needs corrections.ppt
Typical_Techniques_for_Eliminating_Physical_Contradictions-Needs corrections.pptTypical_Techniques_for_Eliminating_Physical_Contradictions-Needs corrections.ppt
Typical_Techniques_for_Eliminating_Physical_Contradictions-Needs corrections.ppt
 

Kürzlich hochgeladen

result management system report for college project
result management system report for college projectresult management system report for college project
result management system report for college project
Tonystark477637
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Christo Ananth
 

Kürzlich hochgeladen (20)

(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptx
 
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptx
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
 
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
 
Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and RoutesRoadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
 
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINEDJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptx
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
 
UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM.        DIMENSIONAL ANALYSISUNIT-III FMM.        DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSIS
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writing
 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdf
 
result management system report for college project
result management system report for college projectresult management system report for college project
result management system report for college project
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
 
UNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular ConduitsUNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular Conduits
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
 

Lecture 1.pptx

  • 2. ARM Advanced RISC Machine <=> Acorn RISC Machine • ARM7 • ARM9, ARM11 • Cortex A • Cortex M • Cortex-M0, Cortex-M0+, Cortex-M1 • Cortex-M3 • Cortex-M4, Cortex-M7 • Cortex-M23, Cortex-M33
  • 3. RISC reduced instruction set computer • RISC processors use a small and limited number of instructions • RISC machines mostly uses hardwired control unit • RISC processors consume less power and have high performance • Each instruction is very simple and consistent • RISC processors use simple addressing modes • RISC instruction is of uniform fixed length • Large Number of Registers
  • 4. ARM Cortex-M • Microcontrollers • ASIC (Application-specific integrated circuit) • ASSP (Application-specific standard product) • FPGA • SoC (System-on-crystal)
  • 5. ARM Cortex-M Arm Core Cortex M0 Cortex M0+ Cortex M1 Cortex M3 Cortex M4 Cortex M7 Cortex M23 Cortex M33 Cortex M35P ARM architecture ARMv6-M ARMv6-M ARMv6-M ARMv7-M ARMv7E-M ARMv7E-M ARMv8-M Baseline ARMv8-M Mainline ARMv8-M Mainline Computer architecture Von Neuman Von Neumann Von Neumann Harvard Harvard Harvard Von Neumann Harvard Harvard Instruction pipeline 3 stages 2 stages 3 stages 3 stages 3 stages 6 stages 2 stages 3 stages 3 stages Thumb-1 instructions Most Most Most Entire Entire Entire Most Entire Entire Thumb-2 instructions Some Some Some Entire Entire Entire Some Entire Entire Multiply instructions 32x32 = 32-bit result Yes Yes Yes Yes Yes Yes Yes Yes Yes Multiply instructions 32x32 = 64-bit result No No No Yes Yes Yes No Yes Yes Divide instructions 32/32 = 32-bit quotient No No No Yes Yes Yes Yes Yes Yes Saturated instructions No No No Some Yes Yes No Yes Yes DSP instructions No No No No Yes Yes No Optional Optional Interrupt latency (if zero-wait state RAM) 16 cycles 15 cycles 23 for NMI 26 for IRQ 12 cycles 12 cycles 12 cycles 15 no security ext 27 security ext TBD TBD
  • 6. ARM Cortex-M Von Neumann (Princeton) Harvard
  • 7. ARM Cortex-M Instruction pipeline •IF — Instruction Fetch, •ID — Instruction Decode, •EX — Execute, •MEM — Memory access, •WB — Register write back.
  • 8. ARM Cortex-M Instruction pipeline Pipeline states: 1. Fetch 2. Decode 3. Execute 4. Write-back
  • 9. ARM Cortex-M Instruction pipeline Pipeline states: 1. Fetch 2. Decode 3. Execute 4. Write-back
  • 10. ARM Cortex-M Processor registers The processor has the following 32-bit registers: • 13 general-purpose registers, r0-r12 • Stack Pointer (SP) alias of banked registers, SP_process and SP_main • Link Register (LR), r14 • Program Counter (PC), r15 • Special-purpose Program Status Registers, (xPSR).
  • 16. ARM Cortex-M – STM32 Power
  • 18. General-purpose I/O Main features • Up to 16 I/Os under control • Output states: push-pull or open drain + pull-up/down • Output data from output data register (GPIOx_ODR) • Speed selection for each I/O • Input states: floating, pull-up/down, analog • Input data to input data register (GPIOx_IDR) • Bit set and reset register (GPIOx_BSRR) for bitwise write access to GPIOx_ODR • Locking mechanism (GPIOx_LCKR) provided to freeze the I/O configuration • Analog function • Alternate function input/output selection registers (at most 16 AFs per I/O) • Fast toggle capable of changing every two clock cycles • Highly flexible pin multiplexing allows the use of I/O pins as GPIOs or as one of several peripheral functions
  • 23. General-purpose I/O Selecting an alternate function Port AF0 SYS AF1 TIM1/2 Afn … PORTA PA0 - TIM2_CH1/ TIM2_ETR … PA1 - TIM2_CH2 … PAn - TIM2_CH3 … … … … … …
  • 25. ARM Cortex-M Example. Work with registers button = *((uint32_t *)(0x40000000U + 0x00020000 + 0x10)) & 0x1; button = GPIOA->IDR & GPIO_IDR_ID0; Task 1. Read button state • PERIPH_BASE = 0x40000000 • AHB1_BASE = PERIPH_BASE + 0x00020000 • GPIOA_BASE = AHB1_BASE + 0x0000 • Input Data Reg = 0x10
  • 26. ARM Cortex-M Example. Work with registers *((uint32_t *)(0x40000000 + 0x00020000 + 0x0C00 + 0x14)) = *((uint32_t *)(0x40000000 + 0x00020000 + 0x0C00 + 0x14)) | 0x1000; GPIOD->ODR = GPIOD->ODR | GPIO_ODR_OD12; <=> GPIO->ODR |= 1 << 12; Task 2. Turn led On • PERIPH_BASE = 0x40000000 • AHB1_BASE = PERIPH_BASE + 0x00020000 • GPIOD_BASE = AHB1_BASE + 0x0C00 • Output Data Reg = 0x14 Read -> Modify -> Write
  • 27. ARM Cortex-M Bit Banding Address in the bit band alias region = Bit band alias base address + bit word offset Where bit word offset = Byte offset from bit band base X32 + bit number X4 • PERIPH_BASE = 0x40000000 (PER_Base) • GPIOD->ODR = 0x40020C14 (WORD) • Bit Band Alias base = 0x42000000 (BBA_Base) • PIN = 12 • BIT = BBA_Base + (WORD – PER_Base)*32 + PIN*4; Byte offset from bit band base Bit number
  • 28. Thank you for your attention www.ifmo.ru