|
Zephyr API Documentation 4.4.99
A Scalable Open Source RTOS
|
Shared constants for remapping sensor axes in the devicetree. More...
Files | |
| file | sensor_axis_align.h |
| Devicetree binding constants for sensor axis alignment. | |
Axis index | |
Values for the axis-align-x, axis-align-y, and axis-align-z devicetree properties. | |
| #define | SENSOR_AXIS_ALIGN_DT_X 0 |
| X axis. | |
| #define | SENSOR_AXIS_ALIGN_DT_Y 1 |
| Y axis. | |
| #define | SENSOR_AXIS_ALIGN_DT_Z 2 |
| Z axis. | |
Axis direction | |
Values for the axis-align-x-sign, axis-align-y-sign, and axis-align-z-sign devicetree properties. | |
| #define | SENSOR_AXIS_ALIGN_DT_NEG 0 |
| Negative direction. | |
| #define | SENSOR_AXIS_ALIGN_DT_POS 2 |
| Positive direction. | |
Shared constants for remapping sensor axes in the devicetree.
| #define SENSOR_AXIS_ALIGN_DT_NEG 0 |
#include <zephyr/dt-bindings/sensor/sensor_axis_align.h>
Negative direction.
| #define SENSOR_AXIS_ALIGN_DT_POS 2 |
#include <zephyr/dt-bindings/sensor/sensor_axis_align.h>
Positive direction.
| #define SENSOR_AXIS_ALIGN_DT_X 0 |
#include <zephyr/dt-bindings/sensor/sensor_axis_align.h>
X axis.
| #define SENSOR_AXIS_ALIGN_DT_Y 1 |
#include <zephyr/dt-bindings/sensor/sensor_axis_align.h>
Y axis.
| #define SENSOR_AXIS_ALIGN_DT_Z 2 |
#include <zephyr/dt-bindings/sensor/sensor_axis_align.h>
Z axis.