Lines Matching defs:reading
107 int reading;
119 * max reading.
137 /* get the ADC reading */
142 reading = result >> 4;
144 /* get the upper half of the reading */
149 reading |= result << 4;
151 /* now convert the reading to a voltage */
152 reading *= ADC_STEP_MV;
153 data->adc_values[ch_num] = reading;
156 result = reading;
158 if (reading > data->adc_maxes[ch_num])
159 data->adc_maxes[ch_num] = reading;