|
Zephyr API Documentation 4.4.99
A Scalable Open Source RTOS
|
STMicroelectronics LIS2DS12 3-axis accelerometer. More...
Files | |
| file | lis2ds12.h |
| Devicetree binding constants for the ST LIS2DS12 accelerometer. | |
Power modes | |
Values for the power-mode devicetree property. | |
| #define | LIS2DS12_DT_POWER_DOWN 0 |
| Power-down. | |
| #define | LIS2DS12_DT_LOW_POWER 1 |
| Low-power mode. | |
| #define | LIS2DS12_DT_HIGH_RESOLUTION 2 |
| High-resolution mode. | |
| #define | LIS2DS12_DT_HIGH_FREQUENCY 3 |
| High-frequency mode. | |
Output data rate options | |
Values for the odr devicetree property. LP: low-power, HR: high-resolution, HF: high-frequency mode. | |
| #define | LIS2DS12_DT_ODR_OFF 0 |
| Power-down. | |
| #define | LIS2DS12_DT_ODR_1Hz_LP 1 |
| 1 Hz (LP mode only) | |
| #define | LIS2DS12_DT_ODR_12Hz5 2 |
| 12.5 Hz (LP or HR mode) | |
| #define | LIS2DS12_DT_ODR_25Hz 3 |
| 25 Hz (LP or HR mode) | |
| #define | LIS2DS12_DT_ODR_50Hz 4 |
| 50 Hz (LP or HR mode) | |
| #define | LIS2DS12_DT_ODR_100Hz 5 |
| 100 Hz (LP or HR mode) | |
| #define | LIS2DS12_DT_ODR_200Hz 6 |
| 200 Hz (LP or HR mode) | |
| #define | LIS2DS12_DT_ODR_400Hz 7 |
| 400 Hz (LP or HR mode) | |
| #define | LIS2DS12_DT_ODR_800Hz 8 |
| 800 Hz (LP or HR mode) | |
| #define | LIS2DS12_DT_ODR_1600Hz 9 |
| 1600 Hz (HF mode only) | |
| #define | LIS2DS12_DT_ODR_3200Hz_HF 10 |
| 3200 Hz (HF mode only) | |
| #define | LIS2DS12_DT_ODR_6400Hz_HF 11 |
| 6400 Hz (HF mode only) | |
STMicroelectronics LIS2DS12 3-axis accelerometer.
| #define LIS2DS12_DT_HIGH_FREQUENCY 3 |
#include <zephyr/dt-bindings/sensor/lis2ds12.h>
High-frequency mode.
| #define LIS2DS12_DT_HIGH_RESOLUTION 2 |
#include <zephyr/dt-bindings/sensor/lis2ds12.h>
High-resolution mode.
| #define LIS2DS12_DT_LOW_POWER 1 |
#include <zephyr/dt-bindings/sensor/lis2ds12.h>
Low-power mode.
| #define LIS2DS12_DT_ODR_100Hz 5 |
#include <zephyr/dt-bindings/sensor/lis2ds12.h>
100 Hz (LP or HR mode)
| #define LIS2DS12_DT_ODR_12Hz5 2 |
#include <zephyr/dt-bindings/sensor/lis2ds12.h>
12.5 Hz (LP or HR mode)
| #define LIS2DS12_DT_ODR_1600Hz 9 |
#include <zephyr/dt-bindings/sensor/lis2ds12.h>
1600 Hz (HF mode only)
| #define LIS2DS12_DT_ODR_1Hz_LP 1 |
#include <zephyr/dt-bindings/sensor/lis2ds12.h>
1 Hz (LP mode only)
| #define LIS2DS12_DT_ODR_200Hz 6 |
#include <zephyr/dt-bindings/sensor/lis2ds12.h>
200 Hz (LP or HR mode)
| #define LIS2DS12_DT_ODR_25Hz 3 |
#include <zephyr/dt-bindings/sensor/lis2ds12.h>
25 Hz (LP or HR mode)
| #define LIS2DS12_DT_ODR_3200Hz_HF 10 |
#include <zephyr/dt-bindings/sensor/lis2ds12.h>
3200 Hz (HF mode only)
| #define LIS2DS12_DT_ODR_400Hz 7 |
#include <zephyr/dt-bindings/sensor/lis2ds12.h>
400 Hz (LP or HR mode)
| #define LIS2DS12_DT_ODR_50Hz 4 |
#include <zephyr/dt-bindings/sensor/lis2ds12.h>
50 Hz (LP or HR mode)
| #define LIS2DS12_DT_ODR_6400Hz_HF 11 |
#include <zephyr/dt-bindings/sensor/lis2ds12.h>
6400 Hz (HF mode only)
| #define LIS2DS12_DT_ODR_800Hz 8 |
#include <zephyr/dt-bindings/sensor/lis2ds12.h>
800 Hz (LP or HR mode)
| #define LIS2DS12_DT_ODR_OFF 0 |
#include <zephyr/dt-bindings/sensor/lis2ds12.h>
Power-down.
| #define LIS2DS12_DT_POWER_DOWN 0 |
#include <zephyr/dt-bindings/sensor/lis2ds12.h>
Power-down.