LCOV - code coverage report
Current view: top level - zephyr/dt-bindings/gpio - nxp-imx-igpio.h Coverage Total Hit
Test: new.info Lines: 33.3 % 3 1
Test Date: 2025-09-05 20:47:19

            Line data    Source code
       1            0 : /*
       2              :  * Copyright (c) 2025 Feniex Industries Inc.
       3              :  *
       4              :  * SPDX-License-Identifier: Apache-2.0
       5              :  */
       6              : #ifndef ZEPHYR_INCLUDE_DT_BINDINGS_GPIO_NXP_IMX_IGPIO_H_
       7              : #define ZEPHYR_INCLUDE_DT_BINDINGS_GPIO_NXP_IMX_IGPIO_H_
       8              : 
       9              : /**
      10              :  * @name GPIO pull strength flags
      11              :  *
      12              :  * The pull strength flags are a Zephyr specific extension of the standard GPIO
      13              :  * flags specified by the Linux GPIO binding. Only applicable for NXP IMX
      14              :  * SoCs.
      15              :  *
      16              :  * The interface supports two different pull strengths:
      17              :  * `WEAK` - The lowest pull strength supported by the HW
      18              :  * `STRONG` - The highest pull strength supported by the HW
      19              :  *
      20              :  * @{
      21              :  */
      22              : /** @cond INTERNAL_HIDDEN */
      23              : #define NXP_IGPIO_PULL_STRENGTH_POS 8
      24              : #define NXP_IGPIO_PULL_STRENGTH_MASK (0x1U << NXP_IGPIO_PULL_STRENGTH_POS)
      25              : /** @endcond */
      26              : 
      27              : /** pull up/down strengths (only applies to CONFIG_SOC_SERIES_IMXRT10XX) */
      28            1 : #define NXP_IGPIO_PULL_WEAK (0x0U << NXP_IGPIO_PULL_STRENGTH_POS)
      29            0 : #define NXP_IGPIO_PULL_STRONG (0x1U << NXP_IGPIO_PULL_STRENGTH_POS)
      30              : 
      31              : /** @} */
      32              : 
      33              : #endif /* ZEPHYR_INCLUDE_DT_BINDINGS_GPIO_NXP_IMX_IGPIO_H_ */
        

Generated by: LCOV version 2.0-1