Charge-Mode Neural Stimulator With a Capacitor-Reuse Residual Charge Detector and Active Charge Balancing for