cancel
Showing results for 
Search instead for 
Did you mean: 

EXTI Interrupt Source

gmiller1
Associate II
Posted on July 08, 2008 at 09:47

EXTI Interrupt Source

2 REPLIES 2
gmiller1
Associate II
Posted on May 17, 2011 at 12:39

Hello,

I understand that there are 18-19 interrupt vectors associated with port pins. Using EXTI0 as an example, Pin 0 from all Ports A thru E are OR'd together for EXTI0. If PA0 and PB0 are both used a external interrupts, how does one determine which pin was the interrupt source?

Thanks,

Greg

tibo
Associate II
Posted on May 17, 2011 at 12:39

Hi Greg,

sixteen external interrupt controller are mapped to the 112 GPIO's and three controller are mapped to internal events. The sixteen controllers are then mapped to 7 interrupt handlers (e.g. EXTI5-9 is mapped to only one interrupt handler).

If you are using e.g. EXTI0 you have to select the port PA0..PG0 in the register AFIO_EXTICR1. So, I think it is not possible to have PA0 and PB0 active at the same time.