How to restart an STM32 timer halfway with a new value?
I have a timer which at each interrupt first stops itself, and then set its own next delay:HAL_TIM_Base_Stop_IT(&htim); // do stuff __HAL_TIM_SET_PRESCALER(&htim, new_p); __HAL_TIM_SET_AUTORELOAD(&htim, new_a); __HAL_TIM_CLEAR_FLAG(&htim, TIM_FLAG_UP...