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