https://deepbluembedded.com/stm32-timers-tutorial-hardware-timers-explained/
STM32 Timers Tutorial | Hardware Timers Explained