Synopsis
CTL_STATUS_t tmp100_initialize_i2c(CTL_TEMPERATURE_SENSOR_t *self,
                                   CTL_I2C_BUS_t *bus,
                                   int addr);
Description

tmp100_initialize_i2c initializes the temperature sensor interface self with methods to communicate with a TMP100 temperature sensor on the I2C bus bus with 8-bit I2C address addr.

Once the temperature sensor interface is initialized, you can use all standard temperature sensor methods from the sensor API on the interface.

tmp100_initialize_i2c returns a standard status code.

See Also

<ctl_sensors.h>