|
Zephyr API Documentation 4.5.99
A Scalable Open Source RTOS
|
Texas Instruments HDC302x humidity and temperature sensors. More...
Files | |
| file | ti_hdc302x.h |
| Extended public API for HDC302X Temperature Sensors. | |
Enumerations | |
| enum | sensor_attribute_hdc302x { SENSOR_ATTR_POWER_MODE = SENSOR_ATTR_PRIV_START + 1 , SENSOR_ATTR_INTEGRATION_TIME , SENSOR_ATTR_STATUS_REGISTER , SENSOR_ATTR_HEATER_LEVEL } |
| Custom sensor attributes for HDC302X. More... | |
| enum | sensor_power_mode_hdc302x { HDC302X_SENSOR_POWER_MODE_0 , HDC302X_SENSOR_POWER_MODE_1 , HDC302X_SENSOR_POWER_MODE_2 , HDC302X_SENSOR_POWER_MODE_3 , HDC302X_SENSOR_POWER_MODE_MAX } |
| Power modes for the HDC302X SENSOR_ATTR_POWER_MODE attribute. More... | |
| enum | sensor_measurement_interval_hdc302x { HDC302X_SENSOR_MEAS_INTERVAL_MANUAL , HDC302X_SENSOR_MEAS_INTERVAL_0_5 , HDC302X_SENSOR_MEAS_INTERVAL_1 , HDC302X_SENSOR_MEAS_INTERVAL_2 , HDC302X_SENSOR_MEAS_INTERVAL_4 , HDC302X_SENSOR_MEAS_INTERVAL_10 , HDC302X_SENSOR_MEAS_INTERVAL_MAX } |
| Measurement intervals for the HDC302X SENSOR_ATTR_INTEGRATION_TIME attribute. More... | |
Texas Instruments HDC302x humidity and temperature sensors.
#include <zephyr/drivers/sensor/ti_hdc302x.h>
Custom sensor attributes for HDC302X.
| Enumerator | |
|---|---|
| SENSOR_ATTR_POWER_MODE | Sensor low power mode, one of sensor_power_mode_hdc302x. See the datasheet for more information on the different modes. |
| SENSOR_ATTR_INTEGRATION_TIME | Sensor automatic measurement mode, one of sensor_measurement_interval_hdc302x. |
| SENSOR_ATTR_STATUS_REGISTER | Sensor status register. |
| SENSOR_ATTR_HEATER_LEVEL | Sensor heater level (0-14). |
#include <zephyr/drivers/sensor/ti_hdc302x.h>
Measurement intervals for the HDC302X SENSOR_ATTR_INTEGRATION_TIME attribute.
#include <zephyr/drivers/sensor/ti_hdc302x.h>
Power modes for the HDC302X SENSOR_ATTR_POWER_MODE attribute.