cancel
Showing results for 
Search instead for 
Did you mean: 

Interrupts on both GPIO A & B

daniel2
Associate II
Posted on January 09, 2015 at 16:07

Is it possible to setup a hardware interrupt to trigger from for example PA3 & PB3? If so, how does the interrupt handler determine which one has triggered?

(STM32F030)
1 REPLY 1
Posted on January 09, 2015 at 16:32

> Is it possible to setup a hardware interrupt to trigger from for example PA3 & PB3?

No, see RM0360 chapter ''External and internal interrupt/event line mapping'' (chapter 11.2.5 in rev.1).

You could work around this by using an interrupt from timer capture, if some of the pin maps to an (unused) timer channel.

JW