Skip to main content
orn
Associate III
Jan 6, 2013 10:25 PM UTC
Question

what are the EXTI LINE I can use?

Posted on January 06, 2013 at 23:25

I wanted to use EXTI4 EXTI5 and EXTI6 with the door GPIOA but I get the an error 

  ''EXTI5_IRQn'' is undefined

  ''EXTI6_IRQn'' is undefined

I have not found the list of lines Exti that I can use! you can tell me where to find it?

    This topic has been closed for replies.

    2 replies

    Tesla DeLorean
    Guru
    Jan 7, 2013 12:53 AM UTC
    Posted on January 07, 2013 at 01:53

    You can use all of them.

    The high order EXTI share an interrupt routine, and you must then check each potential source.

    EXTI9_5_IRQHandler         ; EXTI Line 9..5

    EXTI15_10_IRQHandler       ; EXTI Line 15..10

    If in doubt about interrupts, go look at the vector table in the startup_stm32fxxx.s source file.

      EXTI9_5_IRQn                = 23,     /*!< External Line[9:5] Interrupts                        */

      EXTI15_10_IRQn              = 40,     /*!< External Line[15:10] Interrupts                      */

    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
    orn
    ornAuthor
    Associate III
    Jan 8, 2013 9:06 AM UTC
    Posted on January 08, 2013 at 10:06

    thank you very much, Clive :)