AnsweredAssumed Answered

Best way to reload a running timer

Question asked by frank bolatoli on Feb 5, 2014
Latest reply on Feb 7, 2014 by sung.chen_chung
How do I reload a running downcounting timer? Like this: 
TIM_UpdateDisableConfig(TIM2, DISABLE);
TIM_SetCounter(TIM2, period);
TIM_UpdateDisableConfig(TIM2, ENABLE);
??


/Frank

Outcomes