https://community.st.com/t5/stm32-mcus-products/can-pwm-settings-affect-other-timer-settings/m-p/748254#M267471void TIM2_Configuration(u32 Intervalms)
{
RCC_APB1PeriphClockCmd(RCC_APB1Periph_TIM2, ENABLE);
TIM_TimeBaseInitTypeDef TIM_TimeBaseStruc...