Zephyr API Documentation
3.7.0
A Scalable Open Source RTOS
|
Extended public API for Sensirion's SHT4X T/RH sensors. More...
#include <zephyr/drivers/sensor.h>
Go to the source code of this file.
Macros | |
#define | SHT4X_HEATER_MAX_TEMP 65 |
Enumerations | |
enum | sensor_attribute_sht4x { SENSOR_ATTR_SHT4X_HEATER_POWER = SENSOR_ATTR_PRIV_START , SENSOR_ATTR_SHT4X_HEATER_DURATION } |
Functions | |
int | sht4x_fetch_with_heater (const struct device *dev) |
Fetches data using the on-chip heater. | |
Extended public API for Sensirion's SHT4X T/RH sensors.
This exposes an API to the on-chip heater which is specific to the application/environment and cannot be expressed within the sensor driver abstraction.
#define SHT4X_HEATER_MAX_TEMP 65 |
int sht4x_fetch_with_heater | ( | const struct device * | dev | ) |
Fetches data using the on-chip heater.
Measurement is always done with "high" repeatability.
dev | Pointer to the sensor device |