STM32 defines 20 external interrupts, all of which are triggered by edges and do not support level triggering. Among the 20 external interrupts, EXTI0--EXTI15 correspond to 16 groups of GPIO, as shown below
The processing function on EXTI0 is EXTI0_IRQHandler().
The processing function on EXTI1 is EXTI1_IRQHandler().
The processing function on EXTI2 is EXTI2_IRQHandler().
The processing function on EXTI3 is EXTI3_IRQHandler().
The processing function on EXTI4 is EXTI4_IRQHandler().
The processing function of EXTI5--EXTI9 is EXTI9_5_IRQHandler().
EXTI10--EXTI15's processing function is EXTI15_10_IRQHandler().
If the circuit design uses both PA0 and PB0 as interrupt input pins, then when the EXTI0 interrupt arrives, the software cannot determine whether the interrupt comes from PA0 or PB0, so an additional level detection circuit is required. From the perspective of design simplicity, the external interrupts should be staggered to prevent the problems mentioned above.
In addition to the 16 external interrupt lines mentioned above, there are 4 more external interrupt lines:
EXTI16------PVD output;
EXTI17------RTC Alarm event;
EXTI18------USB Wakeup event;
EXTI19------Ethernet Wakeup event; (only in interconnected devices)
Previous article:Summary of how to use STM32 external interrupts
Next article:STM32F4 external interrupt entry and external interrupt line
- 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
- Wi-Fi 8 specification is on the way: 2.4/5/6GHz triple-band operation
- Wi-Fi 8 specification is on the way: 2.4/5/6GHz triple-band operation
- Vietnam's chip packaging and testing business is growing, and supply-side fragmentation is splitting the market
- Vietnam's chip packaging and testing business is growing, and supply-side fragmentation is splitting the market
- Three steps to govern hybrid multicloud environments
- Three steps to govern hybrid multicloud environments
- Microchip Accelerates Real-Time Edge AI Deployment with NVIDIA Holoscan Platform
- Microchip Accelerates Real-Time Edge AI Deployment with NVIDIA Holoscan Platform
- Melexis launches ultra-low power automotive contactless micro-power switch chip
- Melexis launches ultra-low power automotive contactless micro-power switch chip
- Python is terrible? Developers summarize 8 reasons
- Teach you step by step to learn 51 single chip microcomputer tutorial from scratch
- Quick test! Accurate interpretation! Kickstart software platform now open for free trial for 60 days!
- I want the model of infrared transmitter tube and receiver tube!
- Where is the heaviest rainfall?
- MicroPython Hands-on (07) - Learn Machine Vision with MaixPy from Scratch
- [RISC-V MCU CH32V103 Review] - 7: PWM is not simple either
- The difference between pressure sensor and pressure transmitter
- GD32e231c_START development board, no response after template program is executed,
- Design principles of fuel gauge circuit based on BQ40z80