LCOV - code coverage report
Current view: top level - zephyr/dt-bindings/sensor - lsm6dsv16x.h Hit Total Coverage
Test: new.info Lines: 0 74 0.0 %
Date: 2024-12-22 00:14:23

          Line data    Source code
       1           0 : /*
       2             :  * Copyright (c) 2023 STMicroelectronics
       3             :  *
       4             :  * SPDX-License-Identifier: Apache-2.0
       5             :  */
       6             : #ifndef ZEPHYR_INCLUDE_DT_BINDINGS_ST_LSM6DSV16X_H_
       7             : #define ZEPHYR_INCLUDE_DT_BINDINGS_ST_LSM6DSV16X_H_
       8             : 
       9             : /* Accel range */
      10           0 : #define LSM6DSV16X_DT_FS_2G                     0
      11           0 : #define LSM6DSV16X_DT_FS_4G                     1
      12           0 : #define LSM6DSV16X_DT_FS_8G                     2
      13           0 : #define LSM6DSV16X_DT_FS_16G                    3
      14             : 
      15             : /* Gyro range */
      16           0 : #define LSM6DSV16X_DT_FS_125DPS                 0x0
      17           0 : #define LSM6DSV16X_DT_FS_250DPS                 0x1
      18           0 : #define LSM6DSV16X_DT_FS_500DPS                 0x2
      19           0 : #define LSM6DSV16X_DT_FS_1000DPS                0x3
      20           0 : #define LSM6DSV16X_DT_FS_2000DPS                0x4
      21           0 : #define LSM6DSV16X_DT_FS_4000DPS                0xc
      22             : 
      23             : /* Accel and Gyro Data rates */
      24           0 : #define LSM6DSV16X_DT_ODR_OFF                   0x0
      25           0 : #define LSM6DSV16X_DT_ODR_AT_1Hz875             0x1
      26           0 : #define LSM6DSV16X_DT_ODR_AT_7Hz5               0x2
      27           0 : #define LSM6DSV16X_DT_ODR_AT_15Hz               0x3
      28           0 : #define LSM6DSV16X_DT_ODR_AT_30Hz               0x4
      29           0 : #define LSM6DSV16X_DT_ODR_AT_60Hz               0x5
      30           0 : #define LSM6DSV16X_DT_ODR_AT_120Hz              0x6
      31           0 : #define LSM6DSV16X_DT_ODR_AT_240Hz              0x7
      32           0 : #define LSM6DSV16X_DT_ODR_AT_480Hz              0x8
      33           0 : #define LSM6DSV16X_DT_ODR_AT_960Hz              0x9
      34           0 : #define LSM6DSV16X_DT_ODR_AT_1920Hz             0xA
      35           0 : #define LSM6DSV16X_DT_ODR_AT_3840Hz             0xB
      36           0 : #define LSM6DSV16X_DT_ODR_AT_7680Hz             0xC
      37           0 : #define LSM6DSV16X_DT_ODR_HA01_AT_15Hz625       0x13
      38           0 : #define LSM6DSV16X_DT_ODR_HA01_AT_31Hz25        0x14
      39           0 : #define LSM6DSV16X_DT_ODR_HA01_AT_62Hz5         0x15
      40           0 : #define LSM6DSV16X_DT_ODR_HA01_AT_125Hz         0x16
      41           0 : #define LSM6DSV16X_DT_ODR_HA01_AT_250Hz         0x17
      42           0 : #define LSM6DSV16X_DT_ODR_HA01_AT_500Hz         0x18
      43           0 : #define LSM6DSV16X_DT_ODR_HA01_AT_1000Hz        0x19
      44           0 : #define LSM6DSV16X_DT_ODR_HA01_AT_2000Hz        0x1A
      45           0 : #define LSM6DSV16X_DT_ODR_HA01_AT_4000Hz        0x1B
      46           0 : #define LSM6DSV16X_DT_ODR_HA01_AT_8000Hz        0x1C
      47           0 : #define LSM6DSV16X_DT_ODR_HA02_AT_12Hz5         0x23
      48           0 : #define LSM6DSV16X_DT_ODR_HA02_AT_25Hz          0x24
      49           0 : #define LSM6DSV16X_DT_ODR_HA02_AT_50Hz          0x25
      50           0 : #define LSM6DSV16X_DT_ODR_HA02_AT_100Hz         0x26
      51           0 : #define LSM6DSV16X_DT_ODR_HA02_AT_200Hz         0x27
      52           0 : #define LSM6DSV16X_DT_ODR_HA02_AT_400Hz         0x28
      53           0 : #define LSM6DSV16X_DT_ODR_HA02_AT_800Hz         0x29
      54           0 : #define LSM6DSV16X_DT_ODR_HA02_AT_1600Hz        0x2A
      55           0 : #define LSM6DSV16X_DT_ODR_HA02_AT_3200Hz        0x2B
      56           0 : #define LSM6DSV16X_DT_ODR_HA02_AT_6400Hz        0x2C
      57             : 
      58             : /* Accelerometer batching rates */
      59           0 : #define LSM6DSV16X_DT_XL_NOT_BATCHED            0x0
      60           0 : #define LSM6DSV16X_DT_XL_BATCHED_AT_1Hz875      0x1
      61           0 : #define LSM6DSV16X_DT_XL_BATCHED_AT_7Hz5        0x2
      62           0 : #define LSM6DSV16X_DT_XL_BATCHED_AT_15Hz        0x3
      63           0 : #define LSM6DSV16X_DT_XL_BATCHED_AT_30Hz        0x4
      64           0 : #define LSM6DSV16X_DT_XL_BATCHED_AT_60Hz        0x5
      65           0 : #define LSM6DSV16X_DT_XL_BATCHED_AT_120Hz       0x6
      66           0 : #define LSM6DSV16X_DT_XL_BATCHED_AT_240Hz       0x7
      67           0 : #define LSM6DSV16X_DT_XL_BATCHED_AT_480Hz       0x8
      68           0 : #define LSM6DSV16X_DT_XL_BATCHED_AT_960Hz       0x9
      69           0 : #define LSM6DSV16X_DT_XL_BATCHED_AT_1920Hz      0xa
      70           0 : #define LSM6DSV16X_DT_XL_BATCHED_AT_3840Hz      0xb
      71           0 : #define LSM6DSV16X_DT_XL_BATCHED_AT_7680Hz      0xc
      72             : 
      73             : /* Gyroscope batching rates */
      74           0 : #define LSM6DSV16X_DT_GY_NOT_BATCHED            0x0
      75           0 : #define LSM6DSV16X_DT_GY_BATCHED_AT_1Hz875      0x1
      76           0 : #define LSM6DSV16X_DT_GY_BATCHED_AT_7Hz5        0x2
      77           0 : #define LSM6DSV16X_DT_GY_BATCHED_AT_15Hz        0x3
      78           0 : #define LSM6DSV16X_DT_GY_BATCHED_AT_30Hz        0x4
      79           0 : #define LSM6DSV16X_DT_GY_BATCHED_AT_60Hz        0x5
      80           0 : #define LSM6DSV16X_DT_GY_BATCHED_AT_120Hz       0x6
      81           0 : #define LSM6DSV16X_DT_GY_BATCHED_AT_240Hz       0x7
      82           0 : #define LSM6DSV16X_DT_GY_BATCHED_AT_480Hz       0x8
      83           0 : #define LSM6DSV16X_DT_GY_BATCHED_AT_960Hz       0x9
      84           0 : #define LSM6DSV16X_DT_GY_BATCHED_AT_1920Hz      0xa
      85           0 : #define LSM6DSV16X_DT_GY_BATCHED_AT_3840Hz      0xb
      86           0 : #define LSM6DSV16X_DT_GY_BATCHED_AT_7680Hz      0xc
      87             : 
      88             : /* Temperature sensor batching rates */
      89           0 : #define LSM6DSV16X_DT_TEMP_NOT_BATCHED          0x0
      90           0 : #define LSM6DSV16X_DT_TEMP_BATCHED_AT_1Hz875    0x1
      91           0 : #define LSM6DSV16X_DT_TEMP_BATCHED_AT_15Hz      0x2
      92           0 : #define LSM6DSV16X_DT_TEMP_BATCHED_AT_60Hz      0x3
      93             : 
      94             : #endif /* ZEPHYR_INCLUDE_DT_BINDINGS_ST_LSM6DSV16X_H_ */

Generated by: LCOV version 1.14