Lines Matching +full:line +full:- +full:name
4 * SPDX-License-Identifier: Apache-2.0
15 * @name EXTI trigger modes.
32 typedef void (*gd32_exti_cb_t)(uint8_t line, void *user);
35 * @brief Enable EXTI interrupt for the given line.
37 * @param line EXTI line.
39 void gd32_exti_enable(uint8_t line);
42 * @brief Disable EXTI interrupt for the given line.
44 * @param line EXTI line.
46 void gd32_exti_disable(uint8_t line);
49 * @brief Configure EXTI interrupt trigger mode for the given line.
51 * @param line EXTI line.
54 void gd32_exti_trigger(uint8_t line, uint8_t trigger);
59 * @param line EXTI line.
64 * @retval -EALREADY If callback is already set and @p cb is not NULL.
66 int gd32_exti_configure(uint8_t line, gd32_exti_cb_t cb, void *user);