Question
Reconfigure the timer at runtime
Posted on May 24, 2016 at 16:03
I'm use STM32CubeMX to configure TIM2 CH1 to compare output, and it works well. Now I want to change it to PWM output when the programm running. Then which HAL library function to call to clear the registers previous set? It seems if I directly configure it without clear the registers, the value written before can't be cleared. My target MCU are STM32F429I.
Thanks. #timer