Line data Source code
1 1 : /*
2 : * Copyright 2024 NXP
3 : *
4 : * SPDX-License-Identifier: Apache-2.0
5 : */
6 :
7 : /**
8 : * @file
9 : * @brief Header file for NXP MCUX LPC GPIO driver
10 : * @ingroup gpio_mcux_lpc_interface
11 : */
12 :
13 : #ifndef ZEPHYR_INCLUDE_DRIVERS_GPIO_MCUX_LPC_H_
14 : #define ZEPHYR_INCLUDE_DRIVERS_GPIO_MCUX_LPC_H_
15 :
16 : /**
17 : * @defgroup gpio_mcux_lpc_interface NXP MCUX LPC
18 : * @ingroup gpio_interface_ext
19 : * @brief NXP MCUX LPC GPIO controller
20 : * @{
21 : */
22 :
23 : #include <zephyr/device.h>
24 : #include <zephyr/drivers/gpio.h>
25 :
26 : /**
27 : * @brief Trigger a callback for a given pin.
28 : *
29 : * This allows other drivers to fire callbacks for the pin.
30 : *
31 : * @param dev Pointer to the device structure for the driver instance.
32 : * @param pins The actual pin mask that triggered the interrupt.
33 : *
34 : */
35 1 : void gpio_mcux_lpc_trigger_cb(const struct device *dev, uint32_t pins);
36 :
37 : /**
38 : * @}
39 : */
40 :
41 : #endif /* ZEPHYR_INCLUDE_DRIVERS_GPIO_MCUX_LPC_H_ */
|