LCOV - code coverage report
Current view: top level - zephyr/drivers/gpio - gpio_ambiq.h Coverage Total Hit
Test: new.info Lines: 100.0 % 2 2
Test Date: 2025-09-05 16:43:28

            Line data    Source code
       1            1 : /*
       2              :  * Copyright (c) 2025 Ambiq Micro Inc. <www.ambiq.com>
       3              :  *
       4              :  * SPDX-License-Identifier: Apache-2.0
       5              :  */
       6              : 
       7              : /**
       8              :  * @file
       9              :  * @brief Header file for Ambiq GPIO driver
      10              :  * @ingroup gpio_ambiq_interface
      11              :  */
      12              : 
      13              : #ifndef ZEPHYR_DRIVERS_GPIO_GPIO_AMBIQ_H_
      14              : #define ZEPHYR_DRIVERS_GPIO_GPIO_AMBIQ_H_
      15              : 
      16              : /**
      17              :  * @defgroup gpio_ambiq_interface Ambiq
      18              :  * @ingroup gpio_interface_ext
      19              :  * @brief Ambiq GPIO controller
      20              :  * @{
      21              :  */
      22              : 
      23              : #include <zephyr/device.h>
      24              : #include <zephyr/drivers/gpio.h>
      25              : 
      26              : #ifdef __cplusplus
      27              : extern "C" {
      28              : #endif
      29              : 
      30              : /**
      31              :  * @brief Get the actual gpio pin number.
      32              :  *
      33              :  * @param dev Pointer to the device structure for the driver instance.
      34              :  * @param pin Pin number of the select gpio group.
      35              :  *
      36              :  * @retval pin number.
      37              :  */
      38            1 : gpio_pin_t ambiq_gpio_get_pinnum(const struct device *dev, gpio_pin_t pin);
      39              : 
      40              : #ifdef __cplusplus
      41              : }
      42              : #endif
      43              : 
      44              : /**
      45              :  * @}
      46              :  */
      47              : 
      48              : #endif /* ZEPHYR_DRIVERS_GPIO_GPIO_AMBIQ_H_ */
        

Generated by: LCOV version 2.0-1