Go to the documentation of this file.
33 #ifndef STM32_GPIO_IRQ_H
34 #define STM32_GPIO_IRQ_H
Structure storing the list and function wrapper for usual list types.
Definition: no_os_list.h:228
Structure holding the initialization parameters for stm32 platform specific GPIO IRQ parameters.
Definition: stm32_gpio_irq.h:44
int32_t no_os_list_read_find(struct no_os_list_desc *list_desc, void **data, void *cmp_data)
Structure describing a callback to be registered.
Definition: no_os_irq.h:142
void * ctx
Definition: aducm3029_irq.h:125
Header file of IRQ interface.
uint8_t port_nb
Definition: stm32_gpio_irq.h:56
int32_t no_os_list_get_first(struct no_os_list_desc *list_desc, void **data)
void * no_os_calloc(size_t nitems, size_t size)
Allocate memory and return a pointer to it, set memory to 0.
Definition: chibios_alloc.c:54
@ NO_OS_IRQ_EDGE_FALLING
Definition: no_os_irq.h:79
void * extra
Definition: no_os_irq.h:116
@ NO_OS_LIST_PRIORITY_LIST
Definition: no_os_list.h:225
void HAL_GPIO_EXTI_Rising_Callback(uint16_t pin)
EXTI GPIO Interrupt handler callback for rising edge detection.
Definition: stm32_gpio_irq.c:113
const struct no_os_irq_platform_ops stm32_gpio_irq_ops
stm32 specific IRQ platform ops structure
Definition: stm32_gpio_irq.c:467
void * ctx
Definition: no_os_irq.h:146
no_os_irq_trig_level
Definition: no_os_irq.h:76
uint32_t irq_ctrl_id
Definition: no_os_irq.h:109
int stm32_get_exti_irq_id_from_pin(uint8_t pin_nb, IRQn_Type *irq_id)
void(* callback)(void *context)
Definition: aducm3029_irq.h:123
uint8_t port_nb
Definition: stm32_gpio_irq.h:45
EXTI_HandleTypeDef hexti
Definition: stm32_gpio_irq.h:54
int32_t irq_action_cmp(void *data1, void *data2)
Action comparator function.
Definition: aducm3029_irq.c:74
void(* callback)(void *context)
Definition: no_os_irq.h:144
#define STM32_IRQ_CTRL_NB
Definition: stm32_gpio_irq.c:49
int32_t no_os_list_remove(struct no_os_list_desc *list_desc)
uint32_t irq_id
Definition: aducm3029_irq.h:119
irq_id
Interrupts IDs supported by the irq driver.
Definition: aducm3029_irq.h:62
const struct no_os_irq_platform_ops stm32_gpio_irq_ops
stm32 platform specific irq platform ops structure
Definition: stm32_gpio_irq.c:467
void no_os_free(void *ptr)
Deallocate memory previously allocated by a call to no_os_calloc or no_os_malloc.
Definition: chibios_alloc.c:69
Struct used to store a (peripheral, callback) pair.
Definition: aducm3029_irq.h:117
#define NULL
Definition: wrapper.h:64
uint32_t irq_ctrl_id
Definition: no_os_irq.h:125
Structure holding the initial parameters for Interrupt Request.
Definition: no_os_irq.h:107
@ NO_OS_IRQ_EDGE_RISING
Definition: no_os_irq.h:80
void HAL_GPIO_EXTI_Falling_Callback(uint16_t pin)
EXTI GPIO Interrupt handler callback for falling edge detection.
Definition: stm32_gpio_irq.c:122
@ NO_OS_IRQ_EDGE_BOTH
Definition: no_os_irq.h:81
int32_t no_os_list_add_last(struct no_os_list_desc *list_desc, void *data)
int32_t no_os_list_init(struct no_os_list_desc **list_desc, enum no_os_adapter_type type, f_cmp comparator)
Header file of utility functions.
uint32_t no_os_find_first_set_bit(uint32_t word)
Header file for stm32 gpio irq specifics.
Definition: no_os_irq.h:123
void HAL_GPIO_EXTI_Callback(uint16_t pin)
EXTI GPIO Interrupt handler callback.
Definition: stm32_gpio_irq.c:104
void * extra
Definition: no_os_irq.h:134
stm32 platform specific GPIO IRQ descriptor
Definition: stm32_gpio_irq.h:52
Error macro definition for ARM Compiler.