LCOV - code coverage report
Current view: top level - zephyr/dt-bindings/led - worldsemi_ws2812c.h Hit Total Coverage
Test: new.info Lines: 0 4 0.0 %
Date: 2024-12-22 00:14:23

          Line data    Source code
       1           0 : /*
       2             :  * Copyright (c) 2023 Martin Kiepfer <mrmarteng@teleschirm.org>
       3             :  *
       4             :  * SPDX-License-Identifier: Apache-2.0
       5             :  */
       6             : 
       7             : #ifndef ZEPHYR_DT_LED_WS2812C_H_
       8             : #define ZEPHYR_DT_LED_WS2812C_H_
       9             : 
      10             : /*
      11             :  * At 7 MHz: 1 bit in 142.86 ns
      12             :  * 1090 ns ->  7.6  bits
      13             :  *  300 ns ->  2.1  bits
      14             :  *  790 ns ->  5.5  bits
      15             :  */
      16           0 : #define WS2812C_SPI_FREQ   (7000000U)
      17           0 : #define WS2812C_ZERO_FRAME (0xC0U)
      18           0 : #define WS2812C_ONE_FRAME  (0xFCU)
      19             : 
      20             : #endif

Generated by: LCOV version 1.14