Also, the first overcurrent detection circuit may be structured to be capable of comparing a voltage across both ends of the first high-side transistor with a first threshold voltage that corresponds to the first overcurrent threshold value. Also, in the second mode, the first threshold voltage may be scaled. In the second mode, the two high-side transistor are coupled in parallel. In this state, the on resistance of the pair of high-side transistors becomes one-half. The first threshold voltage is scaled according to this change in the on resistance, thereby providing correct overcurrent judgment.
Also, the first overcurrent detection circuit may include: a dummy transistor arranged such that one end thereof is coupled to the first input pin; a current source coupled to the other end of the dummy transistor, and structured to supply a current to the dummy transistor; and a comparator structured to compare a voltage across both ends of the first high-side transistor with a voltage at a connection node that connects the dummy transistor and the current source.
Also, there may be a difference in an amount of current generated by the current source between the first mode and the second mode. This allows the first overcurrent threshold value to be scaled.