cancel
Showing results for 
Search instead for 
Did you mean: 

How do you differentiate GPIO interrupts that share the same EXTI interrupt?

DBurr
Senior

Hi, I have a design where I have multiple GPIO interrupts and some share the same interrupt input line, for example EXTI10_15. How can I differentiate in the interrupt callback routine which GPIO triggered the interrupt aside from reading these GPIOs' input states?

Thanks,

Doug Burrell

1 ACCEPTED SOLUTION

Accepted Solutions

They should flag individually, and OR together to generate the IRQ

Check EXTI->PR register (on F4 for example)

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

View solution in original post

4 REPLIES 4

0690X00000DYiQwQAL.png

JW

They should flag individually, and OR together to generate the IRQ

Check EXTI->PR register (on F4 for example)

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

Thanks for the info! That's exactly what I was looking for.

Thanks, that's really helpful.