The function of each switch of the capacitor