A buck regulator converts a higher VIN to a lower VOUT. The controller opens and closes switch S periodically to connect the phase node between VIN and ground. The waveform seen at the phase node is then filtered through the inductor and capacitor to provide a smooth voltage to the load.