I am trying to design a digital SMPS with an STM32G0.ST has lots of literature stating that the comparators can be used to control the duty cycle of the PWM from a timer.I understand the use of a comparator to detect a fault and output to the BKIN in...