LCOV - code coverage report
Current view: top level - zephyr/drivers/sensor - tcs3400.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 2023 Google LLC
       3              :  *
       4              :  * SPDX-License-Identifier: Apache-2.0
       5              :  */
       6              : 
       7              : /**
       8              :  * @file
       9              :  * @brief Header file for extended sensor API of TCS3400 sensor
      10              :  * @ingroup tcs3400_interface
      11              :  */
      12              : 
      13              : #ifndef ZEPHYR_INCLUDE_DRIVERS_SENSOR_TCS3400_H_
      14              : #define ZEPHYR_INCLUDE_DRIVERS_SENSOR_TCS3400_H_
      15              : 
      16              : /**
      17              :  * @brief AMS TCS3400 RGBC sensor
      18              :  * @defgroup tcs3400_interface TCS3400
      19              :  * @ingroup sensor_interface_ext
      20              :  * @{
      21              :  */
      22              : 
      23              : #include <zephyr/drivers/sensor.h>
      24              : 
      25              : /**
      26              :  * @brief Custom sensor attributes for TCS3400
      27              :  */
      28            1 : enum sensor_attribute_tcs3400 {
      29              :         /**
      30              :          * Number of RGBC Integration Cycles
      31              :          *
      32              :          * - sensor_value.val1 should be between 1 and 256.
      33              :          */
      34              :         SENSOR_ATTR_TCS3400_INTEGRATION_CYCLES = SENSOR_ATTR_PRIV_START,
      35              : };
      36              : 
      37              : /**
      38              :  * @}
      39              :  */
      40              : 
      41              : #endif /* ZEPHYR_INCLUDE_DRIVERS_SENSOR_TCS3400_H_ */
        

Generated by: LCOV version 2.0-1