Zephyr API Documentation
4.0.99
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:359
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
zephyr
drivers
sensor
sgp40.h
Generated on Sat Dec 14 2024 15:02:28 for Zephyr API Documentation by
1.12.0