1 #ifndef RUUVI_INTERFACE_I2C_TMP117_H
2 #define RUUVI_INTERFACE_I2C_TMP117_H
29 const uint8_t reg_addr,
30 const uint16_t reg_val);
44 const uint8_t reg_addr,
45 uint16_t *
const reg_val);
uint32_t rd_status_t
bitfield for representing errors
rd_status_t ri_i2c_tmp117_write(const uint8_t dev_id, const uint8_t reg_addr, const uint16_t reg_val)
I2C write function for TMP117.
rd_status_t ri_i2c_tmp117_read(const uint8_t dev_id, const uint8_t reg_addr, uint16_t *const reg_val)
I2C Read function for TMP117.
Ruuvi error codes and error check function.