2017-06-10 12:18 PM
Let us say for the purposes of discussion that I have external interrupts on PA08 and PB08. The callback is passed a pin address. How do I tell them apart if they're both the same pin number on different ports? Or does this just not come up and its a bit fumbling amateur question.
2017-06-10 12:32 PM
The EXTI implementations I'm aware of permit only one pin 8 (Px8) input at a time
You might be able to create a similar effect with a TIM using input-capture.
2017-06-10 05:02 PM
ok, so we'll chalk this one up to an stm32 hardware limitation regarding its nvic and/or timer/counter implementation
2017-06-11 07:11 AM
Check this post
2017-06-11 09:17 AM
In this case specifically the EXTI and the gating of pin sources.
Like I said External Interrupts, in the classical sense, can also be implemented via TIMx_CHx inputs. The hardware time-stamp allows for a determination of which fired first, and also accurate understanding of placement with indeterminate latency of the interrupt(s).