Question
Timer Interrupt for 1ms
Posted on March 30, 2015 at 14:16
I am using STM32F207 VG controller for my learning.I have few following doubts.
I want to use timer for up counting.Timer clock is set to 36 MHz.I want to generate timer interrupt for every 1 ms.With what values i need to set up ''TIM_TimeBaseInit'' funstions.I mean to ask what should be the value of following parameters.uint16_t TIM_Prescaler; uint32_t TIM_Period; uint16_t TIM_ClockDivision; uint8_t TIM_RepetitionCounter;Thanks in advance :) !!!