Zephyr API 3.6.99
Loading...
Searching...
No Matches
tmp116.h File Reference
#include <zephyr/device.h>
#include <zephyr/drivers/sensor.h>
#include <sys/types.h>

Go to the source code of this file.

Macros

#define EEPROM_TMP116_SIZE   (4 * sizeof(uint16_t))
 

Enumerations

enum  sensor_attribute_tmp_116 { SENSOR_ATTR_TMP116_ONE_SHOT_MODE = SENSOR_ATTR_PRIV_START , SENSOR_ATTR_TMP116_SHUTDOWN_MODE , SENSOR_ATTR_TMP116_CONTINUOUS_CONVERSION_MODE }
 

Functions

int tmp116_eeprom_read (const struct device *dev, off_t offset, void *data, size_t len)
 
int tmp116_eeprom_write (const struct device *dev, off_t offset, const void *data, size_t len)
 

Macro Definition Documentation

◆ EEPROM_TMP116_SIZE

#define EEPROM_TMP116_SIZE   (4 * sizeof(uint16_t))

Enumeration Type Documentation

◆ sensor_attribute_tmp_116

Enumerator
SENSOR_ATTR_TMP116_ONE_SHOT_MODE 

Turn on power saving/one shot mode.

SENSOR_ATTR_TMP116_SHUTDOWN_MODE 

Shutdown the sensor.

SENSOR_ATTR_TMP116_CONTINUOUS_CONVERSION_MODE 

Turn on continuous conversion.

Function Documentation

◆ tmp116_eeprom_read()

int tmp116_eeprom_read ( const struct device * dev,
off_t offset,
void * data,
size_t len )

◆ tmp116_eeprom_write()

int tmp116_eeprom_write ( const struct device * dev,
off_t offset,
const void * data,
size_t len )