A power supply includes at least one current source for providing current and a reference voltage generator for providing a first reference voltage and a second reference voltage. A control circuit selectively couples the current to the power supply output as a function of a monitored voltage, the first reference voltage, and the second reference voltage.