A monolithic digital power supply controller is disclosed for controlling
the operation of a switched power supply. The controller is contained
within an integrated circuit package enclosing an integrated circuit
chip. A plurality of inputs are provided on the package for interfacing
with the switched power supply for receiving sensed inputs therefrom. A
plurality of outputs provide switch control signals for turning on and
off switches in the switched power supply. An integrated digital
controller on the chip receives the inputs and generates the outputs, and
includes an integrated instruction based processing engine for providing
a portion of the digital control of the digital controller. A memory
associated with the processing engine stores instructions for the
processing engine.