Line data Source code
1 1 : /*
2 : * Copyright (c) 2025 Prevas A/S
3 : *
4 : * SPDX-License-Identifier: Apache-2.0
5 : */
6 :
7 : /**
8 : * @file
9 : * @brief Header file for extended sensor API of ExplorIR-M sensor
10 : * @ingroup explorir_m_interface
11 : */
12 :
13 : #ifndef ZEPHYR_INCLUDE_DRIVERS_SENSOR_EXPLORIR_M_H_
14 : #define ZEPHYR_INCLUDE_DRIVERS_SENSOR_EXPLORIR_M_H_
15 :
16 : /**
17 : * @defgroup explorir_m_interface ExplorIR-M
18 : * @ingroup sensor_interface_ext
19 : * @brief Gas Sensing Solutions ExplorIR-M CO<sub>2</sub> sensor
20 : * @{
21 : */
22 :
23 : #ifdef __cplusplus
24 : extern "C" {
25 : #endif
26 :
27 : #include <zephyr/drivers/sensor.h>
28 :
29 : /**
30 : * Custom sensor attributes for ExplorIR-M CO2 sensor
31 : */
32 1 : enum sensor_attribute_explorir_m {
33 : /**
34 : * Sensor's integrated low-pass filter.
35 : *
36 : * Allowed values: 0-65535 (default: 16)
37 : */
38 : SENSOR_ATTR_EXPLORIR_M_FILTER = SENSOR_ATTR_PRIV_START,
39 : };
40 :
41 : #ifdef __cplusplus
42 : }
43 : #endif
44 :
45 : /**
46 : * @}
47 : */
48 :
49 : #endif /* ZEPHYR_INCLUDE_DRIVERS_SENSOR_EXPLORIR_M_H_ */
|