1 /*
2  * Copyright (c) 2024 SILA Embedded Solutions GmbH
3  *
4  * SPDX-License-Identifier: Apache-2.0
5  */
6 
7 #ifndef ZEPHYR_INCLUDE_DRIVERS_GPIO_GPIO_PCAL64XXA_H_
8 #define ZEPHYR_INCLUDE_DRIVERS_GPIO_GPIO_PCAL64XXA_H_
9 
10 #include <zephyr/device.h>
11 #include <zephyr/drivers/gpio.h>
12 
13 #ifdef __cplusplus
14 extern "C" {
15 #endif
16 
17 /**
18  * @brief Manually reset a PCAL64XXA
19  *
20  * Resetting a PCAL64XXA manually is only necessary if the by default
21  * enabled automatic reset has been disabled.
22  *
23  * @param dev Pointer to the device structure for the driver instance.
24  *
25  * @retval 0 If successful.
26  */
27 int pcal64xxa_reset(const struct device *dev);
28 
29 #ifdef __cplusplus
30 }
31 #endif
32 
33 #endif /* ZEPHYR_INCLUDE_DRIVERS_GPIO_GPIO_PCAL64XXA_H_ */
34