it is made of a comparator, a DAC an a Counter (Successive Approximation registered)
It's input Analog voltage is converted to digital form
Use the first logic source to unable Start of Conversion
Use the second logic source to reset the circuit
900 Ohm gives best results