Zephyr API Documentation
3.7.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
ens160.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2024 Gustavo Silva
3
* SPDX-License-Identifier: Apache-2.0
4
*/
5
6
#ifndef ZEPHYR_INCLUDE_DRIVERS_SENSOR_ENS160_H_
7
#define ZEPHYR_INCLUDE_DRIVERS_SENSOR_ENS160_H_
8
9
#ifdef __cplusplus
10
extern
"C"
{
11
#endif
12
13
#include <
zephyr/drivers/sensor.h
>
14
15
/* Channel for Air Quality Index */
16
enum
sensor_channel_ens160
{
17
SENSOR_CHAN_ENS160_AQI
=
SENSOR_CHAN_PRIV_START
,
18
};
19
20
enum
sensor_attribute_ens160
{
21
SENSOR_ATTR_ENS160_TEMP
=
SENSOR_ATTR_PRIV_START
,
22
SENSOR_ATTR_ENS160_RH
,
23
};
24
25
#ifdef __cplusplus
26
}
27
#endif
28
29
#endif
sensor_attribute_ens160
sensor_attribute_ens160
Definition
ens160.h:20
SENSOR_ATTR_ENS160_TEMP
@ SENSOR_ATTR_ENS160_TEMP
Definition
ens160.h:21
SENSOR_ATTR_ENS160_RH
@ SENSOR_ATTR_ENS160_RH
Definition
ens160.h:22
sensor_channel_ens160
sensor_channel_ens160
Definition
ens160.h:16
SENSOR_CHAN_ENS160_AQI
@ SENSOR_CHAN_ENS160_AQI
Definition
ens160.h:17
SENSOR_ATTR_PRIV_START
@ SENSOR_ATTR_PRIV_START
This and higher values are sensor specific.
Definition
sensor.h:359
SENSOR_CHAN_PRIV_START
@ SENSOR_CHAN_PRIV_START
This and higher values are sensor specific.
Definition
sensor.h:208
sensor.h
Public APIs for the sensor driver.
zephyr
drivers
sensor
ens160.h
Generated on Sat Sep 7 2024 21:06:07 for Zephyr API Documentation by
1.12.0