This is tutorial is not intended to be a guide for learning C language or about the STM32 platform. It’s primary target is to provide developers a concise guide about integrating peripheral modules and features into active applications.
If you are a beginner, I would recommend you look into an STM32 Project Setup guide like this one.
Interrupts in microcontroller are inputs for external sources or internal processes, which when triggered can stop the currently executing task and run a different sequence of tasks.
The applications range from making real-time response systems to reducing power consumption and it is used in a wide variety of embedded systems.
Interrupts are essentially signals and can arrive at the GPIO pin in one of the following 3 methods
STM32F4 has 7 interrupts
In this tutorial, we discussed the methods for using External Interrupts (EXTI)