LCOV - code coverage report
Current view: top level - zephyr/dt-bindings/sensor - lis2dw12.h Hit Total Coverage
Test: new.info Lines: 0 40 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_LIS2DW12_H_
       7             : #define ZEPHYR_INCLUDE_DT_BINDINGS_ST_LIS2DW12_H_
       8             : 
       9             : /* power-modes */
      10           0 : #define LIS2DW12_DT_LP_M1                       0
      11           0 : #define LIS2DW12_DT_LP_M2                       1
      12           0 : #define LIS2DW12_DT_LP_M3                       2
      13           0 : #define LIS2DW12_DT_LP_M4                       3
      14           0 : #define LIS2DW12_DT_HP_MODE                     4
      15             : 
      16             : /* Filter bandwidth */
      17           0 : #define LIS2DW12_DT_FILTER_BW_ODR_DIV_2         0
      18           0 : #define LIS2DW12_DT_FILTER_BW_ODR_DIV_4         1
      19           0 : #define LIS2DW12_DT_FILTER_BW_ODR_DIV_10        2
      20           0 : #define LIS2DW12_DT_FILTER_BW_ODR_DIV_20        3
      21             : 
      22             : /* Tap mode */
      23           0 : #define LIS2DW12_DT_SINGLE_TAP                  0
      24           0 : #define LIS2DW12_DT_SINGLE_DOUBLE_TAP           1
      25             : 
      26             : /* Free-Fall threshold */
      27           0 : #define LIS2DW12_DT_FF_THRESHOLD_156_mg         0
      28           0 : #define LIS2DW12_DT_FF_THRESHOLD_219_mg         1
      29           0 : #define LIS2DW12_DT_FF_THRESHOLD_250_mg         2
      30           0 : #define LIS2DW12_DT_FF_THRESHOLD_312_mg         3
      31           0 : #define LIS2DW12_DT_FF_THRESHOLD_344_mg         4
      32           0 : #define LIS2DW12_DT_FF_THRESHOLD_406_mg         5
      33           0 : #define LIS2DW12_DT_FF_THRESHOLD_469_mg         6
      34           0 : #define LIS2DW12_DT_FF_THRESHOLD_500_mg         7
      35             : 
      36             : /* wakeup duration */
      37           0 : #define LIS2DW12_DT_WAKEUP_1_ODR                0
      38           0 : #define LIS2DW12_DT_WAKEUP_2_ODR                1
      39           0 : #define LIS2DW12_DT_WAKEUP_3_ODR                2
      40           0 : #define LIS2DW12_DT_WAKEUP_4_ODR                3
      41             : 
      42             : /* sleep duration */
      43           0 : #define LIS2DW12_DT_SLEEP_0_ODR             0
      44           0 : #define LIS2DW12_DT_SLEEP_1_ODR             1
      45           0 : #define LIS2DW12_DT_SLEEP_2_ODR             2
      46           0 : #define LIS2DW12_DT_SLEEP_3_ODR             3
      47           0 : #define LIS2DW12_DT_SLEEP_4_ODR             4
      48           0 : #define LIS2DW12_DT_SLEEP_5_ODR             5
      49           0 : #define LIS2DW12_DT_SLEEP_6_ODR             6
      50           0 : #define LIS2DW12_DT_SLEEP_7_ODR             7
      51           0 : #define LIS2DW12_DT_SLEEP_8_ODR             8
      52           0 : #define LIS2DW12_DT_SLEEP_9_ODR             9
      53           0 : #define LIS2DW12_DT_SLEEP_10_ODR                10
      54           0 : #define LIS2DW12_DT_SLEEP_11_ODR                11
      55           0 : #define LIS2DW12_DT_SLEEP_12_ODR                12
      56           0 : #define LIS2DW12_DT_SLEEP_13_ODR                13
      57           0 : #define LIS2DW12_DT_SLEEP_14_ODR                14
      58           0 : #define LIS2DW12_DT_SLEEP_15_ODR                15
      59             : 
      60             : #endif /* ZEPHYR_INCLUDE_DT_BINDINGS_ST_LIS2DW12_H_ */

Generated by: LCOV version 1.14