LCOV - code coverage report
Current view: top level - zephyr/drivers/led_strip - tlc5971.h Coverage Total Hit
Test: new.info Lines: 66.7 % 3 2
Test Date: 2025-09-05 20:47:19

            Line data    Source code
       1            0 : /*
       2              :  * Copyright (c) 2022 Esco Medical ApS
       3              :  *
       4              :  * SPDX-License-Identifier: Apache-2.0
       5              :  */
       6              : 
       7              : #ifndef ZEPHYR_INCLUDE_DRIVERS_LED_STRIP_TLC5971_H_
       8              : #define ZEPHYR_INCLUDE_DRIVERS_LED_STRIP_TLC5971_H_
       9              : 
      10              : /**
      11              :  * @brief Maximum value for global brightness control, i.e 100% brightness
      12              :  */
      13            1 : #define TLC5971_GLOBAL_BRIGHTNESS_CONTROL_MAX 127
      14              : 
      15              : /**
      16              :  * @brief Set the global brightness control levels for the tlc5971 strip.
      17              :  *
      18              :  * change will take effect on next update of the led strip
      19              :  *
      20              :  * @param dev LED strip device
      21              :  * @param pixel global brightness values for RGB channels
      22              : 
      23              :  * @return 0 on success, negative on error
      24              :  */
      25            1 : int tlc5971_set_global_brightness(const struct device *dev, struct led_rgb pixel);
      26              : 
      27              : #endif /* ZEPHYR_INCLUDE_DRIVERS_LED_STRIP_TLC5971_H_ */
        

Generated by: LCOV version 2.0-1