Stm32 Motor Control