Zephyr API Documentation 4.3.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
sht4x.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2021, Leonard Pollak
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
16
17#ifndef ZEPHYR_INCLUDE_DRIVERS_SENSOR_SHT4X_H_
18#define ZEPHYR_INCLUDE_DRIVERS_SENSOR_SHT4X_H_
19
26
27#ifdef __cplusplus
28extern "C" {
29#endif
30
32
34#define SHT4X_HEATER_MAX_TEMP 65
35
51
61int sht4x_fetch_with_heater(const struct device *dev);
62
63#ifdef __cplusplus
64}
65#endif
66
70
71#endif /* ZEPHYR_INCLUDE_DRIVERS_SENSOR_SHT4X_H_ */
@ SENSOR_ATTR_PRIV_START
This and higher values are sensor specific.
Definition sensor.h:383
sensor_attribute_sht4x
Custom sensor attributes for SHT4X.
Definition sht4x.h:39
int sht4x_fetch_with_heater(const struct device *dev)
Fetches data using the on-chip heater.
@ SENSOR_ATTR_SHT4X_HEATER_DURATION
Heater Duration.
Definition sht4x.h:49
@ SENSOR_ATTR_SHT4X_HEATER_POWER
Heater Power.
Definition sht4x.h:44
Main header file for sensor driver API.
Runtime device structure (in ROM) per driver instance.
Definition device.h:513