Lines Matching refs:temperature
4 and temperature sensor from Bosch Sensortec. The datasheet
13 The temperature can be read from temp0_input. Values range from
14 -400 to 850 representing the ambient temperature in degree celsius
17 Because ambient pressure is temperature dependent, a temperature
19 from pressure0_input. This happens if the last temperature measurement
91 s32 b6; /* calculated temperature correction coefficient */
135 "Error while requesting temperature measurement.\n");
146 "Error while reading temperature measurement result\n");
198 * This function starts the temperature measurement and returns the value
201 static s32 bmp085_get_temperature(struct bmp085_data *data, int *temperature)
215 if (temperature != NULL)
216 *temperature = (x1+x2+8) >> 4;
224 * in millibar. Since the pressure depends on the ambient temperature,
225 * a temperature measurement is executed if the last known value is older
236 /* alt least every second force an update of the ambient temperature */
333 int temperature;
338 status = bmp085_get_temperature(data, &temperature);
342 return sprintf(buf, "%d\n", temperature);