/* Temp Read
* Performs a non-blocking read of the temperature from the sensor.
- * addr: the sensor address on most significant bits.
+ * conf: the sensor configuration structure.
* 'raw' and 'deci_degrees': integer addresses for conversion result, may be NULL.
* Return value(s):
* Upon successfull completion, returns 0 and the temperature read is placed in the
* The sensor is thus placed in shutdown mode, the thermostat is in interrupt mode,
* and the polarity is set to active high.
* The conversion resolution is set to the provided "resolution".
- * addr: the sensor address on most significant bits.
+ * conf: the sensor configuration structure.
* Return value:
* Upon successfull completion, returns 0. On error, returns a negative integer
* equivalent to errors from glibc.
int tmp101_sensor_config(struct tmp101_sensor_config* conf);
/* Start a conversion when the sensor is in shutdown mode.
- * addr : the sensor address on most significant bits.
+ * conf: the sensor configuration structure.
*/
int tmp101_sensor_start_conversion(struct tmp101_sensor_config* conf);