LCOV - code coverage report
Current view: top level - zephyr/dt-bindings/sensor - lis2dux12.h Hit Total Coverage
Test: new.info Lines: 0 22 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_LIS2DUX12_H_
       7             : #define ZEPHYR_INCLUDE_DT_BINDINGS_LIS2DUX12_H_
       8             : 
       9             : #include <zephyr/dt-bindings/dt-util.h>
      10             : 
      11             : /* Operating Mode */
      12           0 : #define LIS2DUX12_OPER_MODE_POWER_DOWN      0
      13           0 : #define LIS2DUX12_OPER_MODE_LOW_POWER       1
      14           0 : #define LIS2DUX12_OPER_MODE_HIGH_RESOLUTION 2
      15           0 : #define LIS2DUX12_OPER_MODE_HIGH_FREQUENCY  3
      16             : 
      17             : /* Data rate */
      18           0 : #define LIS2DUX12_DT_ODR_OFF      0
      19           0 : #define LIS2DUX12_DT_ODR_1Hz_ULP  1  /* available in ultra-low power mode */
      20           0 : #define LIS2DUX12_DT_ODR_3Hz_ULP  2  /* available in ultra-low power mode */
      21           0 : #define LIS2DUX12_DT_ODR_25Hz_ULP 3  /* available in ultra-low power mode */
      22           0 : #define LIS2DUX12_DT_ODR_6Hz      4  /* available in LP and HP mode */
      23           0 : #define LIS2DUX12_DT_ODR_12Hz5    5  /* available in LP and HP mode */
      24           0 : #define LIS2DUX12_DT_ODR_25Hz     6  /* available in LP and HP mode */
      25           0 : #define LIS2DUX12_DT_ODR_50Hz     7  /* available in LP and HP mode */
      26           0 : #define LIS2DUX12_DT_ODR_100Hz    8  /* available in LP and HP mode */
      27           0 : #define LIS2DUX12_DT_ODR_200Hz    9  /* available in LP and HP mode */
      28           0 : #define LIS2DUX12_DT_ODR_400Hz    10 /* available in LP and HP mode */
      29           0 : #define LIS2DUX12_DT_ODR_800Hz    11 /* available in LP and HP mode */
      30           0 : #define LIS2DUX12_DT_ODR_END      12
      31             : 
      32             : /* Accelerometer Full-scale */
      33           0 : #define LIS2DUX12_DT_FS_2G  0 /* 2g (0.061 mg/LSB)  */
      34           0 : #define LIS2DUX12_DT_FS_4G  1 /* 4g (0.122 mg/LSB)  */
      35           0 : #define LIS2DUX12_DT_FS_8G  2 /* 8g (0.244 mg/LSB)  */
      36           0 : #define LIS2DUX12_DT_FS_16G 3 /* 16g (0.488 mg/LSB) */
      37             : 
      38             : #endif /* ZEPHYR_INCLUDE_DT_BINDINGS_LIS2DUX12_H_ */

Generated by: LCOV version 1.14