A DC power supply capable of obviating undue resetting and malfunction of
CPU, immediately after starting the operation of a switching regulator,
by inputting sleep signals input asynchronously during a switching cycle
of the switching regulator. In the DC power supply adapted to apply a DC
voltage to an output terminal by selectively switching between a first
voltage from a switching regulator and a second voltage, the switching
regulator includes a first switching element and a inductor serially
connected between an input terminal for receiving an input voltage and an
output terminal, and a second switching element for use in synchronous
rectification between the first switching element and the ground,
together with a first drive circuit for driving the first switching
element, a second drive circuit for driving the second switching element,
and a control circuit for controlling the first and second drive
circuits. The control circuit is configured to control signals to the
first and second drive circuits such that the second switching element is
kept turned off until the first switching element is turned on when the
operation of the switching regulator is initiated.