I am using the STM32F302R8 for motor control application. Need to do pulse-by-pulse current limiting.I have a BLDC drive board that has a comparator that can be used to give shutdown signal to the PWM. For this purpose, I need to give the comparator ...