How Clamping Diode Works