Zephyr API 3.6.99
Loading...
Searching...
No Matches
lis2de12.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2024 STMicroelectronics
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6#ifndef ZEPHYR_INCLUDE_DT_BINDINGS_ST_LIS2DE12_H_
7#define ZEPHYR_INCLUDE_DT_BINDINGS_ST_LIS2DE12_H_
8
9/* Accel range */
10#define LIS2DE12_DT_FS_2G 0
11#define LIS2DE12_DT_FS_4G 1
12#define LIS2DE12_DT_FS_8G 2
13#define LIS2DE12_DT_FS_16G 3
14
15/* Accel rates */
16#define LIS2DE12_DT_ODR_OFF 0x00 /* Power-Down */
17#define LIS2DE12_DT_ODR_AT_1Hz 0x01 /* 1Hz (normal) */
18#define LIS2DE12_DT_ODR_AT_10Hz 0x02 /* 10Hz (normal) */
19#define LIS2DE12_DT_ODR_AT_25Hz 0x03 /* 25Hz (normal) */
20#define LIS2DE12_DT_ODR_AT_50Hz 0x04 /* 50Hz (normal) */
21#define LIS2DE12_DT_ODR_AT_100Hz 0x05 /* 100Hz (normal) */
22#define LIS2DE12_DT_ODR_AT_200Hz 0x06 /* 200Hz (normal) */
23#define LIS2DE12_DT_ODR_AT_400Hz 0x07 /* 400Hz (normal) */
24#define LIS2DE12_DT_ODR_AT_1kHz620 0x08 /* 1KHz620 (normal) */
25#define LIS2DE12_DT_ODR_AT_5kHz376 0x09 /* 5KHz376 (normal) */
26
27#endif /* ZEPHYR_INCLUDE_DT_BINDINGS_ST_LIS2DE12_H_ */