LCOV - code coverage report
Current view: top level - zephyr/drivers/gpio - gpio_pcal64xxa.h Coverage Total Hit
Test: new.info Lines: 100.0 % 2 2
Test Date: 2025-09-05 20:47:19

            Line data    Source code
       1            1 : /*
       2              :  * Copyright (c) 2024 SILA Embedded Solutions GmbH
       3              :  *
       4              :  * SPDX-License-Identifier: Apache-2.0
       5              :  */
       6              : 
       7              : /**
       8              :  * @file
       9              :  * @brief Header file for NXP PCAL64XXA GPIO driver
      10              :  * @ingroup gpio_pcal64xxa_interface
      11              :  */
      12              : 
      13              : #ifndef ZEPHYR_INCLUDE_DRIVERS_GPIO_GPIO_PCAL64XXA_H_
      14              : #define ZEPHYR_INCLUDE_DRIVERS_GPIO_GPIO_PCAL64XXA_H_
      15              : 
      16              : /**
      17              :  * @defgroup gpio_pcal64xxa_interface NXP PCAL64XXA
      18              :  * @ingroup gpio_interface_ext
      19              :  * @brief NXP PCAL64XXA I2C-based I/O expander
      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 Manually reset a PCAL64XXA
      32              :  *
      33              :  * Resetting a PCAL64XXA manually is only necessary if the by default
      34              :  * enabled automatic reset has been disabled.
      35              :  *
      36              :  * @param dev Pointer to the device structure for the driver instance.
      37              :  *
      38              :  * @retval 0 If successful.
      39              :  */
      40            1 : int pcal64xxa_reset(const struct device *dev);
      41              : 
      42              : #ifdef __cplusplus
      43              : }
      44              : #endif
      45              : 
      46              : /**
      47              :  * @}
      48              :  */
      49              : 
      50              : #endif /* ZEPHYR_INCLUDE_DRIVERS_GPIO_GPIO_PCAL64XXA_H_ */
        

Generated by: LCOV version 2.0-1