A semiconductor device, comprising:
- a first output transistor;
- a second output transistor connected, at a low-potential side of the first output transistor, in series with the first output transistor;
- a first terminal connected to a connection node between the first and second output transistors;
- a second terminal configured to be connected via a bootstrap capacitor to the first terminal;
- a first driver configured to drive the first output transistor based on a voltage between the first and second terminals;
- a second driver configured to drive the second output transistor;
- a first switching element configured with an N-channel MOSFET having a source connected to the second terminal;
- a second switching element configured with an N-channel MOSFET having
- a source fed with a predetermined control supply voltage and
- a drain connected to a drain of the first switching element;
- a switching control circuit configured to turn the first and second switching elements on or off according to a voltage at the first terminal;
- a first charge pump circuit having a first output node, the first charge pump circuit being capable of generating at the first output node a first boosted voltage higher than a voltage at the second terminal by performing first charge pump operation based on the voltage at the second terminal relative to a potential at the first terminal;
- and
- a second charge pump circuit having a second output node, the second charge pump circuit being capable of generating at the second output node a second boosted voltage higher than the control supply voltage by performing second charge pump operation based on the control supply voltage relative to a ground potential,
- wherein the first output node is connected to a gate of the first switching element,
- the second output node is connected to a gate of the second switching element,
- the switching control circuit is configured to
- turn the first switching element on by making the first charge pump circuit perform the first charge pump operation, and
- turn the second switching element on by making the second charge pump circuit perform the second charge pump operation.