2015-12-21 12:21 PM
Hello,
I see in my TIM_Handle_TypeDef variable that I can change the values of clockdivision and prescaler, but what is the difference between these two variables? Martin2015-12-21 01:36 PM
Clock division drives the front-end pin filters.
Prescaler takes the TIMCLK from the APB, and divides that down, and that then drives the counter.So if the TIMCLK is 84 MHz, and prescaler of 84-1 will clock the TIM->CNT at 1 MHzThere should be diagrams in the Reference Manual.