Zephyr API Documentation
4.1.99
A Scalable Open Source RTOS
4.1.99
Toggle main menu visibility
Main Page
Related Pages
Topics
Data Structures
Data Structures
Data Structure Index
Data Fields
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
Enumerator
Files
File List
Globals
All
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Variables
$
a
b
c
d
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
x
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Macros
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
•
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Modules
Pages
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
};
22
enum
sensor_attribute_sgp40
{
…
};
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:368
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 Fri Mar 14 2025 09:05:35 for Zephyr API Documentation by
1.12.0