Clamped capacitor circuit