1. If multiple interrupts occur at the same time, the interrupt with higher priority will be
executed first. 2. If multiple interrupts occur at the same time
, the interrupt with higher priority will be executed first. 3. When a low-priority interrupt is being executed, a high-priority interrupt can interrupt the low-priority interrupt program
. 4. When a low-priority interrupt is being executed, a high-priority interrupt with higher priority cannot interrupt the low-priority interrupt program.
This question is like when you go to the hospital to see a doctor, there are general registration, emergency number, and special rescue number (such as Comrade Xiao Hu was assassinated).
Now there is only one doctor in the hospital. Normally, the doctor diagnoses the patients with ordinary registration in sequence. When there is an emergency patient, the doctor stops diagnosing the ordinary patients and goes to diagnose the emergency patient. When the emergency patient is operating, a special rescue patient comes. The doctor immediately stops rescuing the emergency patient and rushes to rescue the special rescue patient. After rescuing the special rescue patient, the doctor returns to the emergency patient's operating room and continues to operate on him. After completing the emergency patient's operation, the doctor returns to his office to diagnose the ordinary patients.
The level of registration is different, and the doctor's treatment is also different. In the end, there are too few doctors in the hospital. One doctor can only see one patient at a time. The single-core era is like this hospital. There is only one person who can do things, and all things have to wait in line.
Previous article:C language program using DS18B20 temperature sensor in single chip microcomputer (reference 1)
Next article:51 MCU-IO port control
- Popular Resources
- Popular amplifiers
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
- Allegro MicroSystems Introduces Advanced Magnetic and Inductive Position Sensing Solutions at Electronica 2024
- Car key in the left hand, liveness detection radar in the right hand, UWB is imperative for cars!
- After a decade of rapid development, domestic CIS has entered the market
- Aegis Dagger Battery + Thor EM-i Super Hybrid, Geely New Energy has thrown out two "king bombs"
- A brief discussion on functional safety - fault, error, and failure
- In the smart car 2.0 cycle, these core industry chains are facing major opportunities!
- The United States and Japan are developing new batteries. CATL faces challenges? How should China's new energy battery industry respond?
- Murata launches high-precision 6-axis inertial sensor for automobiles
- Ford patents pre-charge alarm to help save costs and respond to emergencies
- New real-time microcontroller system from Texas Instruments enables smarter processing in automotive and industrial applications
- About electromagnetic shielding
- About Phase Modulation
- I am confused about K60, hope for your advice
- Coding and decoding of MSP430 infrared remote control
- Graduation project help
- It is found that domestic manufacturers like to polish the logo and model outside the chip.
- Registration for the 2021 STM32 Summit and Fan Carnival online live broadcast has begun!
- [Qinheng Trial] CH559EVT Trial 2: Development Environment
- Mid-Autumn Festival "State Banquet": Take a photo of the domestic components on the board and win a small gift
- MSP430F5438 clock system