a second comparing signal generating circuit Which gen erates a second comparing signal based on the state held by said latch circuit; and
a reset signal generating circuit Which generates a reset signal based on the control signal, the inductor current, the ?rst comparing signal, and the second comparing signal, Wherein
said latch circuit is set by the signal of the predetermined
cycle, and is reset by the reset signal.