1 /*
2  * Copyright (c) 2024 Intel Corporation
3  *
4  * SPDX-License-Identifier: Apache-2.0
5  */
6 #ifndef ZEPHYR_INCLUDE_DT_BINDINGS_TDK_ICM42688P_H_
7 #define ZEPHYR_INCLUDE_DT_BINDINGS_TDK_ICM42688P_H_
8 
9 /**
10  * @defgroup ICM42688 Invensense (TDK) ICM42688 DT Options
11  * @ingroup sensor_interface
12  * @{
13  */
14 
15 /**
16  * @defgroup ICM42688_ACCEL_POWER_MODES Accelerometer power modes
17  * @{
18  */
19 #define ICM42688_DT_ACCEL_OFF		0
20 #define ICM42688_DT_ACCEL_LP		2
21 #define ICM42688_DT_ACCEL_LN		3
22 /** @} */
23 
24 /**
25  * @defgroup ICM42688_GYRO_POWER_MODES Gyroscope power modes
26  * @{
27  */
28 #define ICM42688_DT_GYRO_OFF		0
29 #define ICM42688_DT_GYRO_STANDBY	1
30 #define ICM42688_DT_GYRO_LN		3
31 /** @} */
32 
33 /**
34  * @defgroup ICM42688_ACCEL_SCALE Accelerometer scale options
35  * @{
36  */
37 #define ICM42688_DT_ACCEL_FS_16	0
38 #define ICM42688_DT_ACCEL_FS_8		1
39 #define ICM42688_DT_ACCEL_FS_4		2
40 #define ICM42688_DT_ACCEL_FS_2		3
41 /** @} */
42 
43 /**
44  * @defgroup ICM42688_GYRO_SCALE Gyroscope scale options
45  * @{
46  */
47 #define ICM42688_DT_GYRO_FS_2000		0
48 #define ICM42688_DT_GYRO_FS_1000		1
49 #define ICM42688_DT_GYRO_FS_500		2
50 #define ICM42688_DT_GYRO_FS_250		3
51 #define ICM42688_DT_GYRO_FS_125		4
52 #define ICM42688_DT_GYRO_FS_62_5		5
53 #define ICM42688_DT_GYRO_FS_31_25		6
54 #define ICM42688_DT_GYRO_FS_15_625		7
55 /** @} */
56 
57 /**
58  * @defgroup ICM42688_ACCEL_DATA_RATE Accelerometer data rate options
59  * @{
60  */
61 #define ICM42688_DT_ACCEL_ODR_32000		1
62 #define ICM42688_DT_ACCEL_ODR_16000		2
63 #define ICM42688_DT_ACCEL_ODR_8000		3
64 #define ICM42688_DT_ACCEL_ODR_4000		4
65 #define ICM42688_DT_ACCEL_ODR_2000		5
66 #define ICM42688_DT_ACCEL_ODR_1000		6
67 #define ICM42688_DT_ACCEL_ODR_200		7
68 #define ICM42688_DT_ACCEL_ODR_100		8
69 #define ICM42688_DT_ACCEL_ODR_50		9
70 #define ICM42688_DT_ACCEL_ODR_25		10
71 #define ICM42688_DT_ACCEL_ODR_12_5		11
72 #define ICM42688_DT_ACCEL_ODR_6_25		12
73 #define ICM42688_DT_ACCEL_ODR_3_125		13
74 #define ICM42688_DT_ACCEL_ODR_1_5625		14
75 #define ICM42688_DT_ACCEL_ODR_500		15
76 /** @} */
77 
78 /**
79  * @defgroup ICM42688_GYRO_DATA_RATE Gyroscope data rate options
80  * @{
81  */
82 #define ICM42688_DT_GYRO_ODR_32000		1
83 #define ICM42688_DT_GYRO_ODR_16000		2
84 #define ICM42688_DT_GYRO_ODR_8000		3
85 #define ICM42688_DT_GYRO_ODR_4000		4
86 #define ICM42688_DT_GYRO_ODR_2000		5
87 #define ICM42688_DT_GYRO_ODR_1000		6
88 #define ICM42688_DT_GYRO_ODR_200		7
89 #define ICM42688_DT_GYRO_ODR_100		8
90 #define ICM42688_DT_GYRO_ODR_50		9
91 #define ICM42688_DT_GYRO_ODR_25		10
92 #define ICM42688_DT_GYRO_ODR_12_5		11
93 #define ICM42688_DT_GYRO_ODR_500		15
94 /** @} */
95 
96 /** @} */
97 
98 #endif /*ZEPHYR_INCLUDE_DT_BINDINGS_TDK_ICM42688P_H_ */
99