an a - to - d converter system having programmed reference signal levels using only supply signal provided by a power supply is disclosed . the converter system includes a comparator configured to provide comparison of an analog input signal with an adjustable reference level . the converter system also includes a logic circuit and an adjustable capacitor .