Skip to main content
XLei.1
Associate II
October 21, 2020
Solved

Distinguish GPIO port from external interrupt

  • October 21, 2020
  • 2 replies
  • 1481 views

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!

This topic has been closed for replies.
Best answer by TDK

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.

2 replies

TDK
TDKBest answer
October 21, 2020

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
XLei.1Author
Associate II
October 21, 2020

Thanks TDK, then it makes sense now.