AnsweredAssumed Answered

STM32_F0 Changing Timer Period

Question asked by bujak.dan on Feb 9, 2015
Latest reply on Feb 9, 2015 by Clive One
Hi All,

I have a timer running on my STM32F0 and I would like to change the period of the timer mid-application. Do I need to rerun my timer configuration with the new timer period or can I simply update the single TIM_Period register. If so, how would I do that in my main application? Would this be acceptable just in main.c:

TIM16->ARR = UART_CAPTURE_PERIOD_EOC;

Thanks


Outcomes