In a voltage mode buck converter having a pair of switches connected in
series by a phase node to be switched by a pair of drive signals
generated from a first control signal, a phase resistor is connected
between a multifunction pin and the phase node, and a controller
generates a second control signal and a third control signal from the
second drive signal to sense the voltage on the multifunction pin
respectively to generate an over-current signal and a CCM mode switch
signal to switch the converter between a CCM mode and a DCM mode.