2025-02-06 07:17 AM - last edited on 2025-02-06 07:56 AM by Andrew Neil
If I have 2 external devices, one mapped on GPIOC0 and another on GPIOG0 of the micro, so they generate the same EXTI0 interrupt, how is it possible to distinguish which of them is calling the interrupt? I mean, is it possible to read effectively the GPIO state (C0 or G0)? or doing this can cause any trouble?
2025-02-06 07:31 AM
You cannot do that.
The EXTI is configured for one IO and you can't assign it to two IOs:
2025-02-06 09:27 AM
If they associate with different TIM or channels, perhaps use those as a means to have them interrupt