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

          Line data    Source code
       1           0 : /*
       2             :  * Copyright (c) 2021 ITE Corporation.
       3             :  *
       4             :  * SPDX-License-Identifier: Apache-2.0
       5             :  */
       6             : #ifndef ZEPHYR_INCLUDE_DT_BINDINGS_PWM_IT8XXX2_H_
       7             : #define ZEPHYR_INCLUDE_DT_BINDINGS_PWM_IT8XXX2_H_
       8             : 
       9             : #include <zephyr/dt-bindings/dt-util.h>
      10             : 
      11             : /* PWM prescaler references */
      12           0 : #define PWM_PRESCALER_C4        1
      13           0 : #define PWM_PRESCALER_C6        2
      14           0 : #define PWM_PRESCALER_C7        3
      15             : 
      16             : /* PWM channel references */
      17           0 : #define PWM_CHANNEL_0           0
      18           0 : #define PWM_CHANNEL_1           1
      19           0 : #define PWM_CHANNEL_2           2
      20           0 : #define PWM_CHANNEL_3           3
      21           0 : #define PWM_CHANNEL_4           4
      22           0 : #define PWM_CHANNEL_5           5
      23           0 : #define PWM_CHANNEL_6           6
      24           0 : #define PWM_CHANNEL_7           7
      25             : 
      26             : /*
      27             :  * Provides a type to hold PWM configuration flags.
      28             :  *
      29             :  * The upper 8 bits are reserved for SoC specific flags.
      30             :  *    Output onpe-drain flag    [ 8 ]
      31             :  */
      32           0 : #define PWM_IT8XXX2_OPEN_DRAIN  BIT(8)
      33             : 
      34             : #endif /* ZEPHYR_INCLUDE_DT_BINDINGS_PWM_IT8XXX2_H_ */

Generated by: LCOV version 1.14