The straightforward implementation of External interrupts using HAL API, STM32. To get the whole tutorial of the STM32 for beginners, please visit
https://www.steppeschool.com/courses/...
0:00 Introduction to Nested vectored Interrupt Controller (NVIC)
2:35 Extended Interrupts and events controller (EXTI)
4:32 Configuration of the External Interrupt using HAL API
6:01 Finding the right callback function
9:03 Defining a new callback function
10:04 Controlling the LED inside the Callback function