LCOV - code coverage report
Current view: top level - zephyr/dt-bindings/gpio - snps-designware-gpio.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 Vestas Wind Systems A/S
       3              :  *
       4              :  * SPDX-License-Identifier: Apache-2.0
       5              :  */
       6              : #ifndef ZEPHYR_INCLUDE_DT_BINDINGS_GPIO_SNPS_DESIGNWARE_GPIO_H_
       7              : #define ZEPHYR_INCLUDE_DT_BINDINGS_GPIO_SNPS_DESIGNWARE_GPIO_H_
       8              : 
       9              : /**
      10              :  * @brief Enable GPIO pin debounce.
      11              :  *
      12              :  * The debounce flag is a Zephyr specific extension of the standard GPIO flags
      13              :  * specified by the Linux GPIO binding. Only applicable for SNPS DesignWare GPIO
      14              :  * controllers.
      15              :  */
      16            1 : #define DW_GPIO_DEBOUNCE (1U << 8)
      17              : 
      18              : /**
      19              :  * @brief Enable hardware control/data source for a pin.
      20              :  *
      21              :  * Configures a pin to be controlled by a hardware data source (if
      22              :  * supported).
      23              :  */
      24            1 : #define DW_GPIO_HW_MODE (1U << 9)
      25              : 
      26              : #endif /* ZEPHYR_INCLUDE_DT_BINDINGS_GPIO_SNPS_DESIGNWARE_GPIO_H_ */
        

Generated by: LCOV version 2.0-1