2013-04-16 05:11 AM
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? #exti2013-04-16 06:38 AM
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