cancel
Showing results for 
Search instead for 
Did you mean: 

STM32f4 External Interrupts Vectors Configuration

waleedaslam89
Associate II
Posted on August 02, 2012 at 07:05

Hi, 

I have a query about  STM32 External Interrupts. STM32f4 has 16 External Interrupts. But the problem is there are only 5 Interrupt Vectors available in the ST firmware library. 

EXTI0_IRQHandler(void);

 EXTI1_IRQHandler(void);

 EXTI2_IRQHandler(void);

 EXTI3_IRQHandler(void);

 EXTI4_IRQHandler(void);

what if want to use all other interrupts also. How to configure their Interrupt Vectors ? Can anyone help me in this regard with an Example. 

Thanks.

1 REPLY 1
Posted on August 02, 2012 at 18:04

EXTI9_5_IRQHandler                /* External Line[9:5]s          */

EXTI15_10_IRQHandler              /* External Line[15:10]s        */

Example Here, not sure it's for the STM32F4, but should be illustrative, look and the examples in the library.

 [DEAD LINK /public/STe2ecommunities/mcu/Lists/STM32Discovery/Flat.aspx?RootFolder=/public/STe2ecommunities/mcu/Lists/STM32Discovery/GPIOB_pin12 connecting to interrupt line&FolderCTID=0x01200200770978C69A1141439FE559EB459D75800084C20D8867EAD444A5987D47BE638E0F&currentviews=32]https://my.st.com/public/STe2ecommunities/mcu/Lists/STM32Discovery/Flat.aspx?RootFolder=%2Fpublic%2FSTe2ecommunities%2Fmcu%2FLists%2FSTM32Discovery%2FGPIOB_pin12%20connecting%20to%20interrupt%20line&FolderCTID=0x01200200770978C69A1141439FE559EB459D75800084C20D8867EAD444A5987D47BE638E0F¤tviews=32

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