1. Turn off the I (interrupt) and F (fast interrupt) bits in the cpsr register;
2. Set the interrupt mask register.
For 2440:
This is the interrupt processing process. When there is an interrupt source (without a sub-interrupt source), it will record the interrupt in SRCPND; it also needs to pass through the MASK mask register. If we mask the corresponding bit, it will not be able to enter the IRQ for processing. The same is true for sub-interrupt sources.
Its code:
For 6410:
Open the S3C6410X file and go to the Vectored Interrupt Controller section.
6410 and 210 use vector interrupts.
Which register should be used to mask a register in 6410? In 6410, the interrupt sources are divided into two groups, group 0, VIC0 and group 1, VIC1;
Write all 1s into these two registers.
6410 Code:
210 is very similar to 6410!!
Previous article:Part5 Core initialization_lesson4---turn off mmu
Next article:Part5 Core initialization_lesson3---turn off the watchdog
- Popular Resources
- Popular amplifiers
- Learn ARM development(16)
- Learn ARM development(17)
- Learn ARM development(18)
- Embedded system debugging simulation tool
- A small question that has been bothering me recently has finally been solved~~
- Learn ARM development (1)
- Learn ARM development (2)
- Learn ARM development (4)
- Learn ARM development (6)
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- LED chemical incompatibility test to see which chemicals LEDs can be used with
- Application of ARM9 hardware coprocessor on WinCE embedded motherboard
- What are the key points for selecting rotor flowmeter?
- LM317 high power charger circuit
- A brief analysis of Embest's application and development of embedded medical devices
- Single-phase RC protection circuit
- stm32 PVD programmable voltage monitor
- Introduction and measurement of edge trigger and level trigger of 51 single chip microcomputer
- Improved design of Linux system software shell protection technology
- What to do if the ABB robot protection device stops
- Analysis of the application of several common contact parts in high-voltage connectors of new energy vehicles
- Wiring harness durability test and contact voltage drop test method
- From probes to power supplies, Tektronix is leading the way in comprehensive innovation in power electronics testing
- From probes to power supplies, Tektronix is leading the way in comprehensive innovation in power electronics testing
- Sn-doped CuO nanostructure-based ethanol gas sensor for real-time drunk driving detection in vehicles
- Design considerations for automotive battery wiring harness
- Do you know all the various motors commonly used in automotive electronics?
- What are the functions of the Internet of Vehicles? What are the uses and benefits of the Internet of Vehicles?
- Power Inverter - A critical safety system for electric vehicles
- Analysis of the information security mechanism of AUTOSAR, the automotive embedded software framework
- How to use trap and varbind in lwip2.1.2
- str91 p6.6 p6.7 port always freezes when configuring uart0
- Effects of ESR and ESL in Decoupling Applications
- The new computer I bought can't be turned on, please help
- Solution to the failure of IAR programming MSP430
- MicroPython sets up a separate factory reset code file
- Display community logo on three-color E-Ink Gizmo
- 【GD32450I-EVAL】UART
- Simple VGA driver for MicroPython
- How to solve CAN bus test problems