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 VEAA X-3 sensor
10 : * @ingroup veaa_x_3_interface
11 : */
12 :
13 : #ifndef ZEPHYR_INCLUDE_DRIVERS_SENSOR_VEAA_X_3_H_
14 : #define ZEPHYR_INCLUDE_DRIVERS_SENSOR_VEAA_X_3_H_
15 :
16 : /**
17 : * @brief Festo VEAA X-3 pressure regulator
18 : * @defgroup veaa_x_3_interface VEAA X-3
19 : * @ingroup sensor_interface_ext
20 : * @{
21 : */
22 :
23 : #ifdef __cplusplus
24 : extern "C" {
25 : #endif
26 :
27 : #include <zephyr/drivers/sensor.h>
28 :
29 : /**
30 : * @brief Custom sensor attributes for VEAA X-3
31 : */
32 1 : enum sensor_attribute_veaa_x_3 {
33 : /** Set pressure setpoint value in kPa. */
34 : SENSOR_ATTR_VEAA_X_3_SETPOINT = SENSOR_ATTR_PRIV_START,
35 : /**
36 : * Supported pressure range in kPa.
37 : *
38 : * sensor_value.val1 and sensor_value.val2 are the minimum and maximum supported pressure,
39 : * respectively.
40 : */
41 : SENSOR_ATTR_VEAA_X_3_RANGE,
42 : };
43 :
44 : #ifdef __cplusplus
45 : }
46 : #endif
47 :
48 : /**
49 : * @}
50 : */
51 :
52 : #endif /* ZEPHYR_INCLUDE_DRIVERS_SENSOR_VEAA_X_3_H_ */
|