a dc - to - dc converter includes first and second transistors that are connected in series between a supply voltage and ground and that are driven by pwm pulses . a junction of the transistors is connected to an inductance that is connected in series to a load . a first timing module determines a first time difference between a first edge of a first signal at the junction and a first edge of a second signal at a control terminal of the first transistor . a second timing module determines a second time difference between a second edge of the first signal and a second edge of the second signal . the first and second edges of the second signal respectively correspond to first and second edges of one of the pwm pulses . a delay module delays the first and second edges of the second signal respectively based on the first and second time differences .