1. A power supply regulator, comprising: a feedback signal representative of an output of a power supply; a threshold value signal representative of a threshold value; a comparator coupled to receive the feedback signal and the threshold value signal to provide a feedback state signal having a current logic state that is representative of the output of the power supply; a state machine coupled to selectively modulate a first signal in response to the feedback state signal, wherein the first signal is the feedback signal or the threshold value signal; and a control circuit coupled to regulate the output of the power supply in response to the feedback state signal.