In a case of using the low-side current detection circuit 170_1 for providing zero-crossing detection, the switches SW51 and SW52 are turned off. In a case of using the low-side current detection circuit 170_1 for providing the NCP function, one from among the switches SW51 and SW52 is turned on so as to provide an offset, thereby allowing a negative threshold value to be set. By switching the on/off states of the switches SW51 and SW52, this arrangement allows the threshold value to be scaled.
Next, description will be made regarding a desired layout of the power management circuit 100. In the second mode, the two circuit blocks BLK1 and BLK2 are coupled to a common inductor. The circuit blocks BLK1 and BLK2 are required to operate at substantially the same timing.