A 33fJ/Step SAR capacitance-to-digital converter using a chain of inverter-based amplifiers