LCOV - code coverage report
Current view: top level - zephyr/dt-bindings/sensor - icm42688.h Coverage Total Hit
Test: new.info Lines: 0.0 % 46 0
Test Date: 2025-09-05 20:47:19

            Line data    Source code
       1            0 : /*
       2              :  * Copyright (c) 2024 Intel Corporation
       3              :  * Copyright (c) 2025 Croxel, Inc.
       4              :  *
       5              :  * SPDX-License-Identifier: Apache-2.0
       6              :  */
       7              : #ifndef ZEPHYR_INCLUDE_DT_BINDINGS_TDK_ICM42688P_H_
       8              : #define ZEPHYR_INCLUDE_DT_BINDINGS_TDK_ICM42688P_H_
       9              : 
      10              : #include "icm4268x.h"
      11              : 
      12              : /**
      13              :  * @defgroup icm42688 Invensense (TDK) ICM42688 DT Options
      14              :  * @ingroup sensor_interface
      15              :  * @{
      16              :  */
      17              : 
      18              : /**
      19              :  * @defgroup icm42688_accel_power_modes Accelerometer power modes
      20              :  * @{
      21              :  */
      22            0 : #define ICM42688_DT_ACCEL_OFF           ICM4268X_DT_ACCEL_OFF
      23            0 : #define ICM42688_DT_ACCEL_LP            ICM4268X_DT_ACCEL_LP
      24            0 : #define ICM42688_DT_ACCEL_LN            ICM4268X_DT_ACCEL_LN
      25              : /** @} */
      26              : 
      27              : /**
      28              :  * @defgroup icm42688_gyro_power_modes Gyroscope power modes
      29              :  * @{
      30              :  */
      31            0 : #define ICM42688_DT_GYRO_OFF            ICM4268X_DT_GYRO_OFF
      32            0 : #define ICM42688_DT_GYRO_STANDBY        ICM4268X_DT_GYRO_STANDBY
      33            0 : #define ICM42688_DT_GYRO_LN             ICM4268X_DT_GYRO_LN
      34              : /** @} */
      35              : 
      36              : /**
      37              :  * @defgroup icm42688_accel_scale Accelerometer scale options
      38              :  * @{
      39              :  */
      40            0 : #define ICM42688_DT_ACCEL_FS_16 0
      41            0 : #define ICM42688_DT_ACCEL_FS_8          1
      42            0 : #define ICM42688_DT_ACCEL_FS_4          2
      43            0 : #define ICM42688_DT_ACCEL_FS_2          3
      44              : /** @} */
      45              : 
      46              : /**
      47              :  * @defgroup icm42688_gyro_scale Gyroscope scale options
      48              :  * @{
      49              :  */
      50            0 : #define ICM42688_DT_GYRO_FS_2000                0
      51            0 : #define ICM42688_DT_GYRO_FS_1000                1
      52            0 : #define ICM42688_DT_GYRO_FS_500         2
      53            0 : #define ICM42688_DT_GYRO_FS_250         3
      54            0 : #define ICM42688_DT_GYRO_FS_125         4
      55            0 : #define ICM42688_DT_GYRO_FS_62_5                5
      56            0 : #define ICM42688_DT_GYRO_FS_31_25               6
      57            0 : #define ICM42688_DT_GYRO_FS_15_625              7
      58              : /** @} */
      59              : 
      60              : /**
      61              :  * @defgroup icm42688_accel_data_rate Accelerometer data rate options
      62              :  * @{
      63              :  */
      64            0 : #define ICM42688_DT_ACCEL_ODR_32000             ICM4268X_DT_ACCEL_ODR_32000
      65            0 : #define ICM42688_DT_ACCEL_ODR_16000             ICM4268X_DT_ACCEL_ODR_16000
      66            0 : #define ICM42688_DT_ACCEL_ODR_8000              ICM4268X_DT_ACCEL_ODR_8000
      67            0 : #define ICM42688_DT_ACCEL_ODR_4000              ICM4268X_DT_ACCEL_ODR_4000
      68            0 : #define ICM42688_DT_ACCEL_ODR_2000              ICM4268X_DT_ACCEL_ODR_2000
      69            0 : #define ICM42688_DT_ACCEL_ODR_1000              ICM4268X_DT_ACCEL_ODR_1000
      70            0 : #define ICM42688_DT_ACCEL_ODR_200               ICM4268X_DT_ACCEL_ODR_200
      71            0 : #define ICM42688_DT_ACCEL_ODR_100               ICM4268X_DT_ACCEL_ODR_100
      72            0 : #define ICM42688_DT_ACCEL_ODR_50                ICM4268X_DT_ACCEL_ODR_50
      73            0 : #define ICM42688_DT_ACCEL_ODR_25                ICM4268X_DT_ACCEL_ODR_25
      74            0 : #define ICM42688_DT_ACCEL_ODR_12_5              ICM4268X_DT_ACCEL_ODR_12_5
      75            0 : #define ICM42688_DT_ACCEL_ODR_6_25              ICM4268X_DT_ACCEL_ODR_6_25
      76            0 : #define ICM42688_DT_ACCEL_ODR_3_125             ICM4268X_DT_ACCEL_ODR_3_125
      77            0 : #define ICM42688_DT_ACCEL_ODR_1_5625            ICM4268X_DT_ACCEL_ODR_1_5625
      78            0 : #define ICM42688_DT_ACCEL_ODR_500               ICM4268X_DT_ACCEL_ODR_500
      79              : /** @} */
      80              : 
      81              : /**
      82              :  * @defgroup icm42688_gyro_data_rate Gyroscope data rate options
      83              :  * @{
      84              :  */
      85            0 : #define ICM42688_DT_GYRO_ODR_32000              ICM4268X_DT_GYRO_ODR_32000
      86            0 : #define ICM42688_DT_GYRO_ODR_16000              ICM4268X_DT_GYRO_ODR_16000
      87            0 : #define ICM42688_DT_GYRO_ODR_8000               ICM4268X_DT_GYRO_ODR_8000
      88            0 : #define ICM42688_DT_GYRO_ODR_4000               ICM4268X_DT_GYRO_ODR_4000
      89            0 : #define ICM42688_DT_GYRO_ODR_2000               ICM4268X_DT_GYRO_ODR_2000
      90            0 : #define ICM42688_DT_GYRO_ODR_1000               ICM4268X_DT_GYRO_ODR_1000
      91            0 : #define ICM42688_DT_GYRO_ODR_200                ICM4268X_DT_GYRO_ODR_200
      92            0 : #define ICM42688_DT_GYRO_ODR_100                ICM4268X_DT_GYRO_ODR_100
      93            0 : #define ICM42688_DT_GYRO_ODR_50                 ICM4268X_DT_GYRO_ODR_50
      94            0 : #define ICM42688_DT_GYRO_ODR_25                 ICM4268X_DT_GYRO_ODR_25
      95            0 : #define ICM42688_DT_GYRO_ODR_12_5               ICM4268X_DT_GYRO_ODR_12_5
      96            0 : #define ICM42688_DT_GYRO_ODR_500                ICM4268X_DT_GYRO_ODR_500
      97              : /** @} */
      98              : 
      99              : /** @} */
     100              : 
     101              : #endif /*ZEPHYR_INCLUDE_DT_BINDINGS_TDK_ICM42688P_H_ */
        

Generated by: LCOV version 2.0-1