H-bridge and PWM on STM32

https://circuitdigest.com/microcontroller-projects/stm32f103c8t6-pwm-tutorial-fan-speed-control

https://www.microcontroller-project.com/dc-motor-control-with-stm32-microcontroller.html