LCOV - code coverage report
Current view: top level - zephyr/dt-bindings/sensor - iis2dlpc.h Hit Total Coverage
Test: new.info Lines: 0 24 0.0 %
Date: 2024-12-21 18:13:37

          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_IIS2DLPC_H_
       7             : #define ZEPHYR_INCLUDE_DT_BINDINGS_ST_IIS2DLPC_H_
       8             : 
       9             : /* power-modes */
      10           0 : #define IIS2DLPC_DT_LP_M1                       0
      11           0 : #define IIS2DLPC_DT_LP_M2                       1
      12           0 : #define IIS2DLPC_DT_LP_M3                       2
      13           0 : #define IIS2DLPC_DT_LP_M4                       3
      14           0 : #define IIS2DLPC_DT_HP_MODE                     4
      15             : 
      16             : /* Filter bandwidth */
      17           0 : #define IIS2DLPC_DT_FILTER_BW_ODR_DIV_2         0
      18           0 : #define IIS2DLPC_DT_FILTER_BW_ODR_DIV_4         1
      19           0 : #define IIS2DLPC_DT_FILTER_BW_ODR_DIV_10        2
      20           0 : #define IIS2DLPC_DT_FILTER_BW_ODR_DIV_20        3
      21             : 
      22             : /* Tap mode */
      23           0 : #define IIS2DLPC_DT_SINGLE_TAP                  0
      24           0 : #define IIS2DLPC_DT_SINGLE_DOUBLE_TAP           1
      25             : 
      26             : /* Free-Fall threshold */
      27           0 : #define IIS2DLPC_DT_FF_THRESHOLD_156_mg         0
      28           0 : #define IIS2DLPC_DT_FF_THRESHOLD_219_mg         1
      29           0 : #define IIS2DLPC_DT_FF_THRESHOLD_250_mg         2
      30           0 : #define IIS2DLPC_DT_FF_THRESHOLD_312_mg         3
      31           0 : #define IIS2DLPC_DT_FF_THRESHOLD_344_mg         4
      32           0 : #define IIS2DLPC_DT_FF_THRESHOLD_406_mg         5
      33           0 : #define IIS2DLPC_DT_FF_THRESHOLD_469_mg         6
      34           0 : #define IIS2DLPC_DT_FF_THRESHOLD_500_mg         7
      35             : 
      36             : /* wakeup duration */
      37           0 : #define IIS2DLPC_DT_WAKEUP_1_ODR                0
      38           0 : #define IIS2DLPC_DT_WAKEUP_2_ODR                1
      39           0 : #define IIS2DLPC_DT_WAKEUP_3_ODR                2
      40           0 : #define IIS2DLPC_DT_WAKEUP_4_ODR                3
      41             : 
      42             : #endif /* ZEPHYR_INCLUDE_DT_BINDINGS_ST_IIS2DLPC_H_ */

Generated by: LCOV version 1.14