Zephyr API Documentation 4.5.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
ti_hdc302x.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2025 Psicontrol N.V.
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
15
16#ifndef ZEPHYR_INCLUDE_DRIVERS_SENSOR_TI_HDC302X_H_
17#define ZEPHYR_INCLUDE_DRIVERS_SENSOR_TI_HDC302X_H_
18
20#include <zephyr/drivers/i2c.h>
21
22#ifdef __cplusplus
23extern "C" {
24#endif
25
32
49
59
71
73
74#ifdef __cplusplus
75}
76#endif
77
78#endif /* ZEPHYR_INCLUDE_DRIVERS_SENSOR_TI_HDC302X_H_ */
Main header file for I2C (Inter-Integrated Circuit) driver API.
sensor_power_mode_hdc302x
Power modes for the HDC302X SENSOR_ATTR_POWER_MODE attribute.
Definition ti_hdc302x.h:51
sensor_measurement_interval_hdc302x
Measurement intervals for the HDC302X SENSOR_ATTR_INTEGRATION_TIME attribute.
Definition ti_hdc302x.h:61
sensor_attribute_hdc302x
Custom sensor attributes for HDC302X.
Definition ti_hdc302x.h:34
@ HDC302X_SENSOR_POWER_MODE_0
Power mode 0 (lowest noise).
Definition ti_hdc302x.h:52
@ HDC302X_SENSOR_POWER_MODE_2
Power mode 2.
Definition ti_hdc302x.h:54
@ HDC302X_SENSOR_POWER_MODE_3
Power mode 3 (lowest power).
Definition ti_hdc302x.h:55
@ HDC302X_SENSOR_POWER_MODE_1
Power mode 1.
Definition ti_hdc302x.h:53
@ HDC302X_SENSOR_POWER_MODE_MAX
Number of power modes.
Definition ti_hdc302x.h:57
@ HDC302X_SENSOR_MEAS_INTERVAL_1
1 measurement per second
Definition ti_hdc302x.h:64
@ HDC302X_SENSOR_MEAS_INTERVAL_MAX
Number of measurement intervals.
Definition ti_hdc302x.h:69
@ HDC302X_SENSOR_MEAS_INTERVAL_0_5
1 measurement every 2 seconds
Definition ti_hdc302x.h:63
@ HDC302X_SENSOR_MEAS_INTERVAL_10
10 measurements per second
Definition ti_hdc302x.h:67
@ HDC302X_SENSOR_MEAS_INTERVAL_MANUAL
Manual mode.
Definition ti_hdc302x.h:62
@ HDC302X_SENSOR_MEAS_INTERVAL_2
2 measurements per second
Definition ti_hdc302x.h:65
@ HDC302X_SENSOR_MEAS_INTERVAL_4
4 measurements per second
Definition ti_hdc302x.h:66
@ SENSOR_ATTR_HEATER_LEVEL
Sensor heater level (0-14).
Definition ti_hdc302x.h:47
@ SENSOR_ATTR_POWER_MODE
Sensor low power mode, one of sensor_power_mode_hdc302x.
Definition ti_hdc302x.h:40
@ SENSOR_ATTR_STATUS_REGISTER
Sensor status register.
Definition ti_hdc302x.h:45
@ SENSOR_ATTR_INTEGRATION_TIME
Sensor automatic measurement mode, one of sensor_measurement_interval_hdc302x.
Definition ti_hdc302x.h:43
@ SENSOR_ATTR_PRIV_START
This and higher values are sensor specific.
Definition sensor.h:449
Main header file for sensor driver API.