Skip to main content
Senior
August 14, 2023
Solved

HAL and GPIO EXTI

If I register a callback function for GPIO EXTI and I have EXTI on multiple ports for the same pin (e.g. PA0 and PB0) how does the callback distinguish between the ports when the event triggers?

This topic has been closed for replies.
TDK
TDKBest answer
August 14, 2023

You can't have EXTI enabled on the same pin number of multiple ports. It's a hardware limitation.

TDK_0-1692024676438.png

 

"If you feel a post has answered your question, please click ""Accept as Solution""."

1 reply

TDK
TDKBest answer
August 14, 2023

You can't have EXTI enabled on the same pin number of multiple ports. It's a hardware limitation.

TDK_0-1692024676438.png

 

"If you feel a post has answered your question, please click ""Accept as Solution""."