A current direction detection circuit includes a monitoring transistor
having a control terminal and an output terminal respectively connected
with a control terminal and an output terminal of a ground side output
transistor; an impedance element having one terminal connected with an
input terminal of the monitoring transistor and the other terminal
grounded; first and second constant-current sources; a diode-connected
reference transistor interposed between the first constant-current source
and ground potential; and a sensing transistor interposed between the
second constant-current source and the impedance element and having a
control terminal connected with the control terminal of the reference
transistor. The current direction detection circuit is small yet capable
of minimizing power loss of a switching regulator.