Skip to main content
kay
Associate III
August 26, 2008
Question

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

  • August 26, 2008
  • 2 replies
  • 751 views
Posted on August 26, 2008 at 10:21

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

    This topic has been closed for replies.

    2 replies

    tibo
    Associate II
    May 17, 2011
    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.

    kay
    kayAuthor
    Associate III
    May 17, 2011
    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?