Interrupt handling
If you want to use interrupts:
1 Initialization
ASet the source
View Schematic
XEINT0/kpROW0/GPN0
View chip manual
Enable
B. Set up the interrupt controller
This chapter describes the functions and usage ofVectored Interrupt Controller in S3C6410X RISC
microprocessor.
12.1 OVERVIEW
The interrupt controller in the S3C6410X is composed of2 VIC’s (Vectored Interrupt Controller, ARM PrimeCell
PL192) and 2 TZIC’s (TrustZone Interrupt Controller, SP890).
Two TZIC’s and VIC’s are daisy-chained to support up to 64 interrupt sources.
12.2 FEATURES
The Vectored Interrupt Controller features in S3C6410 incudes the following:
• Support for 32 vectored IRQ interrupts per VIC
• Fixed hardware interrupt priority levels
• Programmable interrupt priority levels
• Hardware interrupt priority level masking
• Programmable interrupt priority level masking
• IRQ and FIQ generation
• Software interrupt generation
• Raw interrupt status
• Interrupt request status
• Privileged mode support for restricted access
C Turn on the I status bit in cpsr (clear)
If an outage occurs:
1 cpu enters irp mode
2 cpsr saved to spsr_irq
3 Use r13_irq, r14_irq
4 Store the next instruction address in r14
5 Jump to 0x18 to execute
Save interrupt
Handling interrupts
Recovering from interruption
Interrupt Vector Register
Previous article:uboot transplant
Next article:Symptom: After arm is started, the application interface displays...
- Popular Resources
- Popular amplifiers
- Naxin Micro and Xinxian jointly launched the NS800RT series of real-time control MCUs
- How to learn embedded systems based on ARM platform
- Summary of jffs2_scan_eraseblock issues
- Application of SPCOMM Control in Serial Communication of Delphi7.0
- Using TComm component to realize serial communication in Delphi environment
- Bar chart code for embedded development practices
- Embedded Development Learning (10)
- Embedded Development Learning (8)
- Embedded Development Learning (6)
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- Intel promotes AI with multi-dimensional efforts in technology, application, and ecology
- ChinaJoy Qualcomm Snapdragon Theme Pavilion takes you to experience the new changes in digital entertainment in the 5G era
- Infineon's latest generation IGBT technology platform enables precise control of speed and position
- Two test methods for LED lighting life
- Don't Let Lightning Induced Surges Scare You
- Application of brushless motor controller ML4425/4426
- Easy identification of LED power supply quality
- World's first integrated photovoltaic solar system completed in Israel
- Sliding window mean filter for avr microcontroller AD conversion
- What does call mean in the detailed explanation of ABB robot programming instructions?
- STMicroelectronics discloses its 2027-2028 financial model and path to achieve its 2030 goals
- 2024 China Automotive Charging and Battery Swapping Ecosystem Conference held in Taiyuan
- State-owned enterprises team up to invest in solid-state battery giant
- The evolution of electronic and electrical architecture is accelerating
- The first! National Automotive Chip Quality Inspection Center established
- BYD releases self-developed automotive chip using 4nm process, with a running score of up to 1.15 million
- GEODNET launches GEO-PULSE, a car GPS navigation device
- Should Chinese car companies develop their own high-computing chips?
- Infineon and Siemens combine embedded automotive software platform with microcontrollers to provide the necessary functions for next-generation SDVs
- Continental launches invisible biometric sensor display to monitor passengers' vital signs
- Design of intelligent window control system based on single chip microcomputer
- DSP system design - clock and power supply related issues
- Are the salaries for test development positions higher than those for development?
- Sail automatic transmission shifts too late
- Does anyone want to buy the new DY-FFTB6638 Deyan Electronics MSP430 development kit?
- Boost circuit
- What is the difference between the underlying media photons of 50 Hz and 10,000 Hz electromagnetic waves transmitted in a wire?
- MCU Music Score Coding Software
- A young man uses stones to extract silicon to make chips, claiming to "solve" the chip crisis in 99 seconds
- GaAs multi-band CNC 0-360 degree phase shifter