cancel
Showing results for 
Search instead for 
Did you mean: 

what are the EXTI LINE I can use?

orn
Associate II
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?

2 REPLIES 2
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
Up vote any posts that you find helpful, it shows what's working..
orn
Associate II
Posted on January 08, 2013 at 10:06

thank you very much, Clive 🙂