10 bit A/D count = 1023 when Vin = Vref
12 bit A/D count = 4096 when Vin = Vref