|
Zephyr API Documentation 4.3.99
A Scalable Open Source RTOS
|
Sensirion SHT4X temperature and humidity sensor. More...
Files | |
| file | sht4x.h |
| Header file for extended sensor API of SHT4X sensor. | |
Macros | |
| #define | SHT4X_HEATER_MAX_TEMP 65 |
| Maximum temperature above which the heater should not be used. | |
Enumerations | |
| enum | sensor_attribute_sht4x { SENSOR_ATTR_SHT4X_HEATER_POWER = SENSOR_ATTR_PRIV_START , SENSOR_ATTR_SHT4X_HEATER_DURATION } |
| Custom sensor attributes for SHT4X. More... | |
Functions | |
| int | sht4x_fetch_with_heater (const struct device *dev) |
| Fetches data using the on-chip heater. | |
Sensirion SHT4X temperature and humidity sensor.
| #define SHT4X_HEATER_MAX_TEMP 65 |
#include <zephyr/drivers/sensor/sht4x.h>
Maximum temperature above which the heater should not be used.
#include <zephyr/drivers/sensor/sht4x.h>
Custom sensor attributes for SHT4X.
| Enumerator | |
|---|---|
| SENSOR_ATTR_SHT4X_HEATER_POWER | Heater Power. 0, 1, 2 -> high, med, low |
| SENSOR_ATTR_SHT4X_HEATER_DURATION | Heater Duration. 0, 1 -> long, short |
| int sht4x_fetch_with_heater | ( | const struct device * | dev | ) |
#include <zephyr/drivers/sensor/sht4x.h>
Fetches data using the on-chip heater.
Measurement is always done with "high" repeatability.
| dev | Pointer to the sensor device |