Question
Can these Timer registers be set on the flight without a reset
Posted on December 11, 2017 at 19:19
Hi,
Can I set these Timer registers on the flight without a reset? I need to implement a feature where the timer frequency and PWM duty cycle will change
continuously so it helps it I can change them without having to do a reset.
TIMx->PSC (timer prescaler)
TIMx->ARR (timer autoreload value)
TIMx->CCR1 (PWM duty cycle)
Once I program these registers, do I need to program any other register for these to take affect?
Or these values take affect automatically?
Thanks.
