Zephyr Project API 3.7.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
sgp40.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
15#ifndef ZEPHYR_INCLUDE_DRIVERS_SENSOR_SGP40_H_
16#define ZEPHYR_INCLUDE_DRIVERS_SENSOR_SGP40_H_
17
18#ifdef __cplusplus
19extern "C" {
20#endif
21
23 /* Temperature in degC; only the integer part is used */
25 /* Relative Humidity in %; only the integer part is used */
27};
28
29#ifdef __cplusplus
30}
31#endif
32
33#endif /* ZEPHYR_INCLUDE_DRIVERS_SENSOR_SGP40_H_ */
@ SENSOR_ATTR_PRIV_START
This and higher values are sensor specific.
Definition sensor.h:356
sensor_attribute_sgp40
Definition sgp40.h:22
@ SENSOR_ATTR_SGP40_TEMPERATURE
Definition sgp40.h:24
@ SENSOR_ATTR_SGP40_HUMIDITY
Definition sgp40.h:26