15#ifndef ZEPHYR_DRIVERS_INTERRUPT_CONTROLLER_GPIO_INTC_STM32_H_
16#define ZEPHYR_DRIVERS_INTERRUPT_CONTROLLER_GPIO_INTC_STM32_H_
102#if defined(CONFIG_EXTI_STM32)
Public APIs for GPIO drivers.
stm32_gpio_irq_line_t stm32_gpio_intc_get_pin_irq_line(uint32_t port, gpio_pin_t pin)
Get the GPIO interrupt line value corresponding to specified pin of GPIO port port.
void stm32_gpio_intc_disable_line(stm32_gpio_irq_line_t line)
Disable GPIO interrupts for specified line.
void stm32_gpio_intc_remove_irq_callback(stm32_gpio_irq_line_t line)
Removes the interrupt callback of specified EXTI line.
void stm32_gpio_intc_select_line_trigger(stm32_gpio_irq_line_t line, uint32_t trg)
Select trigger for interrupt on specified GPIO line.
int stm32_gpio_intc_set_irq_callback(stm32_gpio_irq_line_t line, stm32_gpio_irq_cb_t cb, void *user)
Set callback invoked when an interrupt occurs on specified GPIO line.
uint32_t stm32_gpio_irq_line_t
GPIO interrupt controller API for STM32 MCUs.
Definition gpio_intc_stm32.h:24
void(* stm32_gpio_irq_cb_t)(gpio_port_pins_t pin, void *user)
GPIO interrupt callback function signature.
Definition gpio_intc_stm32.h:80
stm32_gpio_irq_trigger
GPIO interrupt trigger flags.
Definition gpio_intc_stm32.h:49
@ STM32_GPIO_IRQ_TRIG_LOW_LEVEL
Definition gpio_intc_stm32.h:61
@ STM32_GPIO_IRQ_TRIG_FALLING
Definition gpio_intc_stm32.h:55
@ STM32_GPIO_IRQ_TRIG_BOTH
Definition gpio_intc_stm32.h:57
@ STM32_GPIO_IRQ_TRIG_RISING
Definition gpio_intc_stm32.h:53
@ STM32_GPIO_IRQ_TRIG_HIGH_LEVEL
Definition gpio_intc_stm32.h:59
@ STM32_GPIO_IRQ_TRIG_NONE
Definition gpio_intc_stm32.h:51
void stm32_gpio_intc_enable_line(stm32_gpio_irq_line_t line)
Enable GPIO interrupts for specified line.
uint8_t gpio_pin_t
Provides a type to hold a GPIO pin index.
Definition gpio.h:255
uint32_t gpio_port_pins_t
Identifies a set of pins associated with a port.
Definition gpio.h:234
__UINT32_TYPE__ uint32_t
Definition stdint.h:90