Various techniques directed to the digital control of a switching
regulator are disclosed. In one aspect, a method for regulating an output
level at a power converter output includes receiving a feedback signal
representative of the output level at the power converter output. In
response to a state of the power converter, at least one of the feedback
signal or a threshold level is adjusted. A feedback state signal is
generated having a first feedback state that represents that the output
level is above the threshold level and a second feedback state that
represents that the output level is below the threshold level. A duty
cycle signal that cycles is generated. In response to a control signal,
energy from a power converter input is enabled or disabled to flow to the
power converter output. The control signal is responsive to the duty
cycle signal and to a change between the first and second feedback
states. The control signal is also responsive to a change between the
first and second feedback states.