Line data Source code
1 1 : /*
2 : * Copyright (c) 2021 Nuvoton Technology Corporation.
3 : *
4 : * SPDX-License-Identifier: Apache-2.0
5 : */
6 :
7 : /**
8 : * @file
9 : * @brief Header file for NCT38XX GPIO driver
10 : * @ingroup gpio_nct38xx_interface
11 : */
12 :
13 : #ifndef ZEPHYR_INCLUDE_DRIVERS_GPIO_GPIO_NCT38XX_H_
14 : #define ZEPHYR_INCLUDE_DRIVERS_GPIO_GPIO_NCT38XX_H_
15 :
16 : /**
17 : * @defgroup gpio_nct38xx_interface NCT38XX
18 : * @ingroup gpio_interface_ext
19 : * @brief Nuvoton NCT38XX series I2C-based GPIO expander
20 : * @{
21 : */
22 :
23 : #ifdef __cplusplus
24 : extern "C" {
25 : #endif
26 :
27 : /**
28 : * @brief Dispatch all GPIO ports ISR in the NCT38XX device.
29 : *
30 : * @param dev NCT38XX device.
31 : */
32 1 : void nct38xx_gpio_alert_handler(const struct device *dev);
33 :
34 : /**
35 : * @}
36 : */
37 :
38 : #ifdef __cplusplus
39 : }
40 : #endif
41 :
42 : #endif /* ZEPHYR_INCLUDE_DRIVERS_GPIO_GPIO_NCT38XX_H_ */
|