SMS dit: Demystifying switched-capacitor circuits