cancel
Showing results for 
Search instead for 
Did you mean: 

EXTI Interrupt : how do i know which port has triggerd the ISR?

kay
Associate II
Posted on August 26, 2008 at 10:21

EXTI Interrupt : how do i know which port has triggerd the ISR?

2 REPLIES 2
kay
Associate II
Posted on May 17, 2011 at 12:42

How can i distinguish the source of an interrupt-request for e.g. EXTI0 (PA0, PB0..) in the ISR?

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

on one EXTI-line you can use only one source, it is

selected with the register AFIO_EXTICRx (see

http://www.st.com/mcu/forums-cat-7068-23.html).

If you use more then one line in the isr (eg. IRQ EXTI9-5)

you can use more then one source and you can distinguish

the source in the pending register EXTI_PR.