cancel
Showing results for 
Search instead for 
Did you mean: 

Distinguish GPIO port from external interrupt

XLei.1
Associate II

Hello,

I'm some confused how external interrupt is working with GPIO. If PA3 and PB3 are both configured as external interrupt, and assume the two interrupts are not coming simultaneously, how to determine which PIN generates the interrupt when EXTI3 is triggered?

Thanks in advance!

1 ACCEPTED SOLUTION

Accepted Solutions
TDK
Guru

For a given pin number, only one port may be in EXTI mode at a time. It is not possible to have PA3 and PB3 be configured as external interrupt simultaneously.

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

View solution in original post

2 REPLIES 2
TDK
Guru

For a given pin number, only one port may be in EXTI mode at a time. It is not possible to have PA3 and PB3 be configured as external interrupt simultaneously.

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

Thanks TDK, then it makes sense now.