Zephyr API Documentation 4.4.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
tmp108.h File Reference

Extended public API for TI's TMP108 temperature sensor. More...

Go to the source code of this file.

Enumerations

enum  sensor_attribute_tmp_108 { SENSOR_ATTR_TMP108_ONE_SHOT_MODE = SENSOR_ATTR_PRIV_START , SENSOR_ATTR_TMP108_SHUTDOWN_MODE , SENSOR_ATTR_TMP108_CONTINUOUS_CONVERSION_MODE , SENSOR_ATTR_TMP108_ALERT_POLARITY }

Detailed Description

Extended public API for TI's TMP108 temperature sensor.

This exposes attributes for the TMP108 which can be used for setting the on-chip Temperature Mode and alert parameters.

Enumeration Type Documentation

◆ sensor_attribute_tmp_108

Enumerator
SENSOR_ATTR_TMP108_ONE_SHOT_MODE 

Turn on power saving/one shot mode.

SENSOR_ATTR_TMP108_SHUTDOWN_MODE 

Shutdown the sensor.

SENSOR_ATTR_TMP108_CONTINUOUS_CONVERSION_MODE 

Turn on continuous conversion.

SENSOR_ATTR_TMP108_ALERT_POLARITY 

Set the alert pin polarity.