Line data Source code
1 0 : /*
2 : * Copyright 2025 CogniPilot Foundation
3 : * SPDX-License-Identifier: Apache-2.0
4 : */
5 : #ifndef ZEPHYR_INCLUDE_DT_BINDINGS_SENSOR_AXIS_ALIGN_H_
6 : #define ZEPHYR_INCLUDE_DT_BINDINGS_SENSOR_AXIS_ALIGN_H_
7 :
8 : /**
9 : * @defgroup sensor_axis_align Sensor axis alignment DT Options
10 : * @ingroup sensor_interface
11 : * @{
12 : */
13 :
14 : /**
15 : * @defgroup sensor_axis_align_index_dt Axis description for sensor alignment
16 : * @{
17 : */
18 0 : #define SENSOR_AXIS_ALIGN_DT_X 0
19 0 : #define SENSOR_AXIS_ALIGN_DT_Y 1
20 0 : #define SENSOR_AXIS_ALIGN_DT_Z 2
21 : /** @} */
22 :
23 : /**
24 : * @defgroup sensor_axis_align_dt Axis description for sensor alignment
25 : * @{
26 : */
27 0 : #define SENSOR_AXIS_ALIGN_DT_NEG 0
28 0 : #define SENSOR_AXIS_ALIGN_DT_POS 2
29 : /** @} */
30 :
31 :
32 : /** @} */
33 :
34 : #endif /*ZEPHYR_INCLUDE_DT_BINDINGS_SENSOR_AXIS_ALIGN_H_ */
|