AnsweredAssumed Answered

EXTI15_10_IRQn, how to seperate interrupts

Question asked by Krix N on Sep 13, 2017
Latest reply on Sep 14, 2017 by Ed Maynard

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:


void EXTI15_10_IRQHandler(void)


How do I distinguish between which 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.

  1. Should CubeMx provide these in a header and how do I make CubeMX do this?
  2. Where do I find documentation for EXTI_GetITStatus and EXTI_ClearITPendingBit or whatever functions I should use instead?