A detailed description of how to implement External interrupts using the reference manual and CMSIS library. Bare metal programming of STM32 microcontrollers. To get the whole tutorial of the STM32 for beginners, please visit
https://www.steppeschool.com/courses/...
0:00 Defining a new function
0:41 Enabling a specific EXTI line using IMR register
2:41 Selecting Rising and Falling edge trigger selection
3:53 Connecting PB7 pin to EXTI line 7 using SYSCFG peripheral
8:11 Enabling the interrupt using the NVIC peripheral
13:24 Defining the corresponding Interrupt Handler Function