Provided is a charging and discharging protection circuit realizing low
current consumption in an overcurrent detection state, easy calculation
of an automatic return impedance, and high usability. A pull-down circuit
for pulling down an overcurrent detection terminal to a VSS terminal is
connected in series between the overcurrent detection terminal and a
switching circuit. The switching circuit is connected in series between
the pull-down circuit and the VSS terminal.