cancel
Showing results for 
Search instead for 
Did you mean: 

EXTI configuration to different lines

vault
Associate
Posted on April 16, 2013 at 14:11

Hi,

I encounter to some problem in understanding of correct EXTI configuration.

From ST example and RM0090 Figure.27  I understood that each Pin_0 (A,B...I) connects to EXTI0 interrupt, Pin_1 (A,B...I) to EXTI1 and so.

In RM0090 p.156-158 there are EXTI0 to EXTI15 but in ''stm32f4xx.h'' managed to find only EXTI0_IRQ to EXT4_IRQ witch connect to lines 0 to 4.

How can I define different lines like 7 to 15? Is there some different IRQ names to those lines?

#exti
1 REPLY 1
Posted on April 16, 2013 at 15:38

Some share a single IRQ, ie EXTI grouped, your routine must determine which.

DCD EXTI0_IRQHandler ; EXTI Line0
DCD EXTI1_IRQHandler ; EXTI Line1
DCD EXTI2_IRQHandler ; EXTI Line2
DCD EXTI3_IRQHandler ; EXTI Line3
DCD EXTI4_IRQHandler ; EXTI Line4
..
DCD EXTI9_5_IRQHandler ; External Line[9:5]s
..
DCD EXTI15_10_IRQHandler ; External Line[15:10]s

Tips, buy me a coffee, or three.. PayPal Venmo Up vote any posts that you find helpful, it shows what's working..