Zephyr API Documentation 4.5.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches

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...

Detailed Description

Texas Instruments HDC302x humidity and temperature sensors.

Enumeration Type Documentation

◆ sensor_attribute_hdc302x

#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).

◆ sensor_measurement_interval_hdc302x

#include <zephyr/drivers/sensor/ti_hdc302x.h>

Measurement intervals for the HDC302X SENSOR_ATTR_INTEGRATION_TIME attribute.

Enumerator
HDC302X_SENSOR_MEAS_INTERVAL_MANUAL 

Manual mode.

HDC302X_SENSOR_MEAS_INTERVAL_0_5 

1 measurement every 2 seconds

HDC302X_SENSOR_MEAS_INTERVAL_1 

1 measurement per second

HDC302X_SENSOR_MEAS_INTERVAL_2 

2 measurements per second

HDC302X_SENSOR_MEAS_INTERVAL_4 

4 measurements per second

HDC302X_SENSOR_MEAS_INTERVAL_10 

10 measurements per second

HDC302X_SENSOR_MEAS_INTERVAL_MAX 

Number of measurement intervals.

◆ sensor_power_mode_hdc302x

#include <zephyr/drivers/sensor/ti_hdc302x.h>

Power modes for the HDC302X SENSOR_ATTR_POWER_MODE attribute.

Enumerator
HDC302X_SENSOR_POWER_MODE_0 

Power mode 0 (lowest noise).

HDC302X_SENSOR_POWER_MODE_1 

Power mode 1.

HDC302X_SENSOR_POWER_MODE_2 

Power mode 2.

HDC302X_SENSOR_POWER_MODE_3 

Power mode 3 (lowest power).

HDC302X_SENSOR_POWER_MODE_MAX 

Number of power modes.