Beginner working with STM32L452:
I have enabled interrupts for some GPIO pins through CubeMx.
CubeMX generates this function, and it gets called as expected on GPIO interrupt:
How do I distinguish between while pin or line was triggering the interrupt.
I have found some examples using EXTI_GetITStatus and EXTI_ClearITPendingBit, but I don't have these functions defined in any header.
- Should CubeMx provide these in a header and how do I make CubeMX do this?
- Where do I find documentation for EXTI_GetITStatus and EXTI_ClearITPendingBit or whatever functions I should use instead?