2024-06-14 05:43 PM
Hello, ST expert
E.g. GPIO PD4 functions as falling edge interrupt pin on STM32F407. Before the falling edge this interrupt is disabled by HAL_NVIC_DisableIRQ(EXTI4_IRQn). What happened if HAL_NVIC_EnableIRQ(EXTI4_IRQn) is executed after the falling edge? The interrupt will be ignored or be captured immediately after HAL_NVIC_EnableIRQ?
Best Regards
Yang
Solved! Go to Solution.
2024-06-15 07:35 AM
After HAL_NVIC_EnableIRQ the interrupt handler will be called immediately.
2024-06-15 07:35 AM
After HAL_NVIC_EnableIRQ the interrupt handler will be called immediately.