|
Zephyr API Documentation 4.4.99
A Scalable Open Source RTOS
|
STMicroelectronics IIS2DLPC 3-axis accelerometer. More...
Files | |
| file | iis2dlpc.h |
| Devicetree binding constants for the ST IIS2DLPC accelerometer. | |
Power modes | |
Values for the power-mode devicetree property. | |
| #define | IIS2DLPC_DT_LP_M1 0 |
| Low-power mode 1 (12-bit). | |
| #define | IIS2DLPC_DT_LP_M2 1 |
| Low-power mode 2 (14-bit). | |
| #define | IIS2DLPC_DT_LP_M3 2 |
| Low-power mode 3 (14-bit). | |
| #define | IIS2DLPC_DT_LP_M4 3 |
| Low-power mode 4 (14-bit). | |
| #define | IIS2DLPC_DT_HP_MODE 4 |
| High-performance mode (14-bit). | |
Filter bandwidth options | |
Bandwidth of the anti-aliasing filter, as a fraction of the ODR. | |
| #define | IIS2DLPC_DT_FILTER_BW_ODR_DIV_2 0 |
| ODR / 2. | |
| #define | IIS2DLPC_DT_FILTER_BW_ODR_DIV_4 1 |
| ODR / 4. | |
| #define | IIS2DLPC_DT_FILTER_BW_ODR_DIV_10 2 |
| ODR / 10. | |
| #define | IIS2DLPC_DT_FILTER_BW_ODR_DIV_20 3 |
| ODR / 20. | |
Tap detection mode | |
Values for the tap-mode devicetree property. | |
| #define | IIS2DLPC_DT_SINGLE_TAP 0 |
| Single-tap only. | |
| #define | IIS2DLPC_DT_SINGLE_DOUBLE_TAP 1 |
| Single and double tap. | |
Free-fall threshold options | |
Free-fall detection threshold. | |
| #define | IIS2DLPC_DT_FF_THRESHOLD_156_mg 0 |
| 156 mg | |
| #define | IIS2DLPC_DT_FF_THRESHOLD_219_mg 1 |
| 219 mg | |
| #define | IIS2DLPC_DT_FF_THRESHOLD_250_mg 2 |
| 250 mg | |
| #define | IIS2DLPC_DT_FF_THRESHOLD_312_mg 3 |
| 312 mg | |
| #define | IIS2DLPC_DT_FF_THRESHOLD_344_mg 4 |
| 344 mg | |
| #define | IIS2DLPC_DT_FF_THRESHOLD_406_mg 5 |
| 406 mg | |
| #define | IIS2DLPC_DT_FF_THRESHOLD_469_mg 6 |
| 469 mg | |
| #define | IIS2DLPC_DT_FF_THRESHOLD_500_mg 7 |
| 500 mg | |
Wake-up duration options | |
Wake-up event duration, in ODR periods. | |
| #define | IIS2DLPC_DT_WAKEUP_1_ODR 0 |
| 1 ODR period | |
| #define | IIS2DLPC_DT_WAKEUP_2_ODR 1 |
| 2 ODR periods | |
| #define | IIS2DLPC_DT_WAKEUP_3_ODR 2 |
| 3 ODR periods | |
| #define | IIS2DLPC_DT_WAKEUP_4_ODR 3 |
| 4 ODR periods | |
STMicroelectronics IIS2DLPC 3-axis accelerometer.
| #define IIS2DLPC_DT_FF_THRESHOLD_156_mg 0 |
#include <zephyr/dt-bindings/sensor/iis2dlpc.h>
156 mg
| #define IIS2DLPC_DT_FF_THRESHOLD_219_mg 1 |
#include <zephyr/dt-bindings/sensor/iis2dlpc.h>
219 mg
| #define IIS2DLPC_DT_FF_THRESHOLD_250_mg 2 |
#include <zephyr/dt-bindings/sensor/iis2dlpc.h>
250 mg
| #define IIS2DLPC_DT_FF_THRESHOLD_312_mg 3 |
#include <zephyr/dt-bindings/sensor/iis2dlpc.h>
312 mg
| #define IIS2DLPC_DT_FF_THRESHOLD_344_mg 4 |
#include <zephyr/dt-bindings/sensor/iis2dlpc.h>
344 mg
| #define IIS2DLPC_DT_FF_THRESHOLD_406_mg 5 |
#include <zephyr/dt-bindings/sensor/iis2dlpc.h>
406 mg
| #define IIS2DLPC_DT_FF_THRESHOLD_469_mg 6 |
#include <zephyr/dt-bindings/sensor/iis2dlpc.h>
469 mg
| #define IIS2DLPC_DT_FF_THRESHOLD_500_mg 7 |
#include <zephyr/dt-bindings/sensor/iis2dlpc.h>
500 mg
| #define IIS2DLPC_DT_FILTER_BW_ODR_DIV_10 2 |
#include <zephyr/dt-bindings/sensor/iis2dlpc.h>
ODR / 10.
| #define IIS2DLPC_DT_FILTER_BW_ODR_DIV_2 0 |
#include <zephyr/dt-bindings/sensor/iis2dlpc.h>
ODR / 2.
| #define IIS2DLPC_DT_FILTER_BW_ODR_DIV_20 3 |
#include <zephyr/dt-bindings/sensor/iis2dlpc.h>
ODR / 20.
| #define IIS2DLPC_DT_FILTER_BW_ODR_DIV_4 1 |
#include <zephyr/dt-bindings/sensor/iis2dlpc.h>
ODR / 4.
| #define IIS2DLPC_DT_HP_MODE 4 |
#include <zephyr/dt-bindings/sensor/iis2dlpc.h>
High-performance mode (14-bit).
| #define IIS2DLPC_DT_LP_M1 0 |
#include <zephyr/dt-bindings/sensor/iis2dlpc.h>
Low-power mode 1 (12-bit).
| #define IIS2DLPC_DT_LP_M2 1 |
#include <zephyr/dt-bindings/sensor/iis2dlpc.h>
Low-power mode 2 (14-bit).
| #define IIS2DLPC_DT_LP_M3 2 |
#include <zephyr/dt-bindings/sensor/iis2dlpc.h>
Low-power mode 3 (14-bit).
| #define IIS2DLPC_DT_LP_M4 3 |
#include <zephyr/dt-bindings/sensor/iis2dlpc.h>
Low-power mode 4 (14-bit).
| #define IIS2DLPC_DT_SINGLE_DOUBLE_TAP 1 |
#include <zephyr/dt-bindings/sensor/iis2dlpc.h>
Single and double tap.
| #define IIS2DLPC_DT_SINGLE_TAP 0 |
#include <zephyr/dt-bindings/sensor/iis2dlpc.h>
Single-tap only.
| #define IIS2DLPC_DT_WAKEUP_1_ODR 0 |
#include <zephyr/dt-bindings/sensor/iis2dlpc.h>
1 ODR period
| #define IIS2DLPC_DT_WAKEUP_2_ODR 1 |
#include <zephyr/dt-bindings/sensor/iis2dlpc.h>
2 ODR periods
| #define IIS2DLPC_DT_WAKEUP_3_ODR 2 |
#include <zephyr/dt-bindings/sensor/iis2dlpc.h>
3 ODR periods
| #define IIS2DLPC_DT_WAKEUP_4_ODR 3 |
#include <zephyr/dt-bindings/sensor/iis2dlpc.h>
4 ODR periods