no-OS
mbed_gpio_irq.h
Go to the documentation of this file.
1 /***************************************************************************/
32 #ifndef MBED_GPIO_IRQ_H
33 #define MBED_GPIO_IRQ_H
34 
35 // Platform support needs to be C-compatible to work with other drivers
36 #ifdef __cplusplus
37 extern "C"
38 {
39 #endif
40 
41 /******************************************************************************/
42 /***************************** Include Files **********************************/
43 /******************************************************************************/
44 
45 #include <stdbool.h>
46 
47 /******************************************************************************/
48 /*************************** Types Declarations *******************************/
49 /******************************************************************************/
50 
61  /* External/GPIO interrupt IDs (Max possible instances of external IRQs are
62  * possible/implemented in the mbed irq module) */
73 
74  /* Number of available gpio interrupts */
76 };
77 
87  uint32_t gpio_irq_pin; // External Interrupt/GPIO pin
88 };
89 
95  uint32_t gpio_irq_pin; // External Interrupt/GPIO pin
96  void *int_obj; // GPIO/Ext IRQ instance
97 };
98 
102 extern const struct no_os_irq_platform_ops mbed_gpio_irq_ops;
103 
104 #ifdef __cplusplus // Closing extern c
105 }
106 #endif
107 
108 #endif // MBED_GPIO_IRQ_H
GPIO_IRQ_ID1
@ GPIO_IRQ_ID1
Definition: mbed_gpio_irq.h:64
NB_GPIO_IRQS
@ NB_GPIO_IRQS
Definition: mbed_gpio_irq.h:75
GPIO_IRQ_ID5
@ GPIO_IRQ_ID5
Definition: mbed_gpio_irq.h:72
GPIO_IRQ_ID3
@ GPIO_IRQ_ID3
Definition: mbed_gpio_irq.h:68
GPIO_IRQ_ID4
@ GPIO_IRQ_ID4
Definition: mbed_gpio_irq.h:70
mbed_gpio_irq_desc
Definition: mbed_gpio_irq.h:94
mbed_gpio_irq_desc::int_obj
void * int_obj
Definition: mbed_gpio_irq.h:96
mbed_gpio_irq_init_param
Structure holding the extra parameters for GPIO Interrupt Request Example: struct mbed_irq_init_param...
Definition: mbed_gpio_irq.h:86
mbed_gpio_irq_init_param::gpio_irq_pin
uint32_t gpio_irq_pin
Definition: mbed_gpio_irq.h:87
GPIO_IRQ_ID2
@ GPIO_IRQ_ID2
Definition: mbed_gpio_irq.h:66
mbed_gpio_irq_desc::gpio_irq_pin
uint32_t gpio_irq_pin
Definition: mbed_gpio_irq.h:95
no_os_irq_platform_ops
Structure holding IRQ function pointers that point to the platform specific function.
Definition: no_os_irq.h:160
mbed_gpio_irq_ops
const struct no_os_irq_platform_ops mbed_gpio_irq_ops
Mbed specific GPIO IRQ platform ops structure.
gpio_irq_id
gpio_irq_id
GPIO IRQ IDs supported by the mbed gpio irq driver.
Definition: mbed_gpio_irq.h:60