2011-12-14 04:40 PM
I am testing interrupts in general, TIM3_IRQHandler( ) specifically. I am trying to create a new handler for TIM2.
I see in the TIM_TimeBase example where this is defined. How and where does the address of the IRQHandler get identified in the interrupt vector table? I cannot find it anywhere.2011-12-14 04:55 PM
The vector table is typically placed in the startup_stm32f4xx.s file. This also contains so weak linkage routines for interrupt handlers if you don't provide them. The body for most interrupts exists in stm32f4xx_it.c, but clearly you could park them anywhere you wanted.
2011-12-14 05:47 PM
Thanks for that. Now I see it. Also I found out that the names of the handlers are predefined as in the vector table. I don't need to do anything, just create the desired handler with the designated name. My TIM2 interrupt is now working fine.