Best way to stop a PWM signal?
I am wondering which is a faster way to stop PWM generation. Would it be through HAL_TIM_PWM_Stop or by setting __HAL_TIM_SET_COMPARE to zero? I'm getting SPI commands via a raspberry pi and then based on those values, I start or stop the motors. The...