LCOV - code coverage report
Current view: top level - zephyr/drivers/sensor - qdec_mcux.h Coverage Total Hit
Test: new.info Lines: 100.0 % 2 2
Test Date: 2025-09-05 22:20:39

            Line data    Source code
       1            1 : /*
       2              :  * Copyright (c) 2022, Prevas A/S
       3              :  *
       4              :  * SPDX-License-Identifier: Apache-2.0
       5              :  */
       6              : 
       7              : /**
       8              :  * @file
       9              :  * @brief Header file for extended sensor API of QDEC MCUX sensor
      10              :  * @ingroup sensor_qdec_mcux
      11              :  */
      12              : 
      13              : #ifndef ZEPHYR_INCLUDE_DRIVERS_SENSOR_QDEC_MCUX_H_
      14              : #define ZEPHYR_INCLUDE_DRIVERS_SENSOR_QDEC_MCUX_H_
      15              : 
      16              : /**
      17              :  * @brief NXP MCUX QDEC sensor
      18              :  * @defgroup sensor_qdec_mcux QDEC MCUX
      19              :  * @ingroup sensor_interface_ext
      20              :  * @{
      21              :  */
      22              : 
      23              : #include <zephyr/drivers/sensor.h>
      24              : 
      25              : /**
      26              :  * @brief Extended sensor attributes for QDEC MCUX
      27              :  */
      28            1 : enum sensor_attribute_qdec_mcux {
      29              :         /** Number of counts per revolution */
      30              :         SENSOR_ATTR_QDEC_MOD_VAL = SENSOR_ATTR_PRIV_START,
      31              :         /** Single phase counting */
      32              :         SENSOR_ATTR_QDEC_ENABLE_SINGLE_PHASE,
      33              : };
      34              : 
      35              : /**
      36              :  * @}
      37              :  */
      38              : 
      39              : #endif /* ZEPHYR_INCLUDE_DRIVERS_SENSOR_QDEC_MCUX_H_ */
        

Generated by: LCOV version 2.0-1