cancel
Showing results for 
Search instead for 
Did you mean: 

some basic doubts from CubeMX

SS.Sagar
Associate III
Posted on June 11, 2016 at 20:40

Hi,

i m using 103RB nucleo board and keil compiler. 

I have configured code for one interrupt. 

CubeMX is generated code for handler also. But i m not able to find out how handler function is linked to vector address..

I used LPC2148 also, in that we can give the handler address to vector address. 

but here it makes me confused that when interrupt occur, how controls goes to handler.

#handler #interrupt #usart #stm32 #stm32f103
1 REPLY 1
Posted on June 12, 2016 at 04:27

The vector table, and function names associated with the individual vector entries, are generally in the startup_xxx.s

The vector table address (SCB->VTOR) is usually reconfigured in SystemInit() in system_xxx.c

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