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
19
extern
"C"
{
20
#endif
21
22
enum
sensor_attribute_sgp40
{
23
/* Temperature in degC; only the integer part is used */
24
SENSOR_ATTR_SGP40_TEMPERATURE
=
SENSOR_ATTR_PRIV_START
,
25
/* Relative Humidity in %; only the integer part is used */
26
SENSOR_ATTR_SGP40_HUMIDITY
27
};
28
29
#ifdef __cplusplus
30
}
31
#endif
32
33
#endif
/* ZEPHYR_INCLUDE_DRIVERS_SENSOR_SGP40_H_ */
SENSOR_ATTR_PRIV_START
@ SENSOR_ATTR_PRIV_START
This and higher values are sensor specific.
Definition
sensor.h:356
sensor_attribute_sgp40
sensor_attribute_sgp40
Definition
sgp40.h:22
SENSOR_ATTR_SGP40_TEMPERATURE
@ SENSOR_ATTR_SGP40_TEMPERATURE
Definition
sgp40.h:24
SENSOR_ATTR_SGP40_HUMIDITY
@ SENSOR_ATTR_SGP40_HUMIDITY
Definition
sgp40.h:26
include
zephyr
drivers
sensor
sgp40.h
Generated on Sun Sep 15 2024 17:01:30 for Zephyr Project API by
1.9.8