Zephyr API Documentation 4.4.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches

Devicetree binding constants for sensor axis alignment. More...

Go to the source code of this file.

Macros

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.

Detailed Description

Devicetree binding constants for sensor axis alignment.