I am new to ARM and have been figuring out ways to set interrupts for certain peripherals that I have hooked to my board; however, I am having trouble understanding how to set up the vector interrupt table so it knows where to look for my ISR.
At the moment, I have configured Systick and I am using that for a delay function which works perfectly fine.
My interrupt vector table looks like the following:
I am trying to figure how to set TIM2 to create an interrupt which is then handled every 60Hz.
I've written the TIM2 initialization in assembly, but after reading the reference manual several times I am only sure of a few registers to set (CR1,CR2,DIER,CNT,PSC,ARR)...
Okay, excuse my rambling, but I am trying to ask:
1) How do I set it so TIM2_Handler is called every 60 Hz?
2) How does it know to call TIM2_Handler from the vector table when TIM2 sets an interrupt flag?