ruuvi.drivers.c
${PROJECT_VERSION}
Drivers for external sensors and peripherals on embedded systems.
|
I2C read/write functions for TI TMP117. More...
#include "ruuvi_driver_enabled_modules.h"
#include "ruuvi_driver_error.h"
#include "ruuvi_interface_i2c.h"
#include "ruuvi_interface_i2c_tmp117.h"
Go to the source code of this file.
Macros | |
#define | TMP_ADDR_SIZE (1U) |
#define | TMP_REG_SIZE (2U) |
#define | TMP_TX_SIZE (TMP_ADDR_SIZE + TMP_REG_SIZE) |
Functions | |
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. More... | |
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. More... | |
I2C read/write functions for TI TMP117.
Definition in file ruuvi_interface_i2c_tmp117.c.