15#ifndef ZEPHYR_INCLUDE_DRIVERS_SENSOR_HDC302X_H_
16#define ZEPHYR_INCLUDE_DRIVERS_SENSOR_HDC302X_H_
25#define TI_HDC302X_STATUS_REG_BIT_ALERT 0x8000
26#define TI_HDC302X_STATUS_REG_BIT_HEATER_ON 0x2000
27#define TI_HDC302X_STATUS_REG_BIT_RH_ALERT 0x0800
28#define TI_HDC302X_STATUS_REG_BIT_TEMP_ALERT 0x0400
29#define TI_HDC302X_STATUS_REG_BIT_RH_HIGH_ALERT 0x0200
30#define TI_HDC302X_STATUS_REG_BIT_RH_LOW_ALERT 0x0100
32#define TI_HDC302X_STATUS_REG_BIT_TEMP_HIGH_ALERT 0x0080
33#define TI_HDC302X_STATUS_REG_BIT_TEMP_LOW_ALERT 0x0040
34#define TI_HDC302X_STATUS_REG_BIT_RESET_DETECTED 0x0010
35#define TI_HDC302X_STATUS_REG_BIT_CRC_FAILED 0x0001
Main header file for I2C (Inter-Integrated Circuit) driver API.
@ SENSOR_ATTR_PRIV_START
This and higher values are sensor specific.
Definition sensor.h:383
Main header file for sensor driver API.
sensor_power_mode_hdc302x
Definition ti_hdc302x.h:67
@ HDC302X_SENSOR_POWER_MODE_0
Definition ti_hdc302x.h:68
@ HDC302X_SENSOR_POWER_MODE_2
Definition ti_hdc302x.h:70
@ HDC302X_SENSOR_POWER_MODE_3
Definition ti_hdc302x.h:71
@ HDC302X_SENSOR_POWER_MODE_1
Definition ti_hdc302x.h:69
@ HDC302X_SENSOR_POWER_MODE_MAX
Definition ti_hdc302x.h:73
sensor_measurement_interval_hdc302x
Definition ti_hdc302x.h:76
@ HDC302X_SENSOR_MEAS_INTERVAL_1
Definition ti_hdc302x.h:79
@ HDC302X_SENSOR_MEAS_INTERVAL_MAX
Definition ti_hdc302x.h:84
@ HDC302X_SENSOR_MEAS_INTERVAL_0_5
Definition ti_hdc302x.h:78
@ HDC302X_SENSOR_MEAS_INTERVAL_10
Definition ti_hdc302x.h:82
@ HDC302X_SENSOR_MEAS_INTERVAL_MANUAL
Definition ti_hdc302x.h:77
@ HDC302X_SENSOR_MEAS_INTERVAL_2
Definition ti_hdc302x.h:80
@ HDC302X_SENSOR_MEAS_INTERVAL_4
Definition ti_hdc302x.h:81
sensor_attribute_hdc302x
Definition ti_hdc302x.h:37
@ SENSOR_ATTR_HEATER_LEVEL
Definition ti_hdc302x.h:64
@ SENSOR_ATTR_POWER_MODE
Definition ti_hdc302x.h:48
@ SENSOR_ATTR_STATUS_REGISTER
Definition ti_hdc302x.h:62
@ SENSOR_ATTR_INTEGRATION_TIME
Definition ti_hdc302x.h:60