no-OS
All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
mbed_irq.h
Go to the documentation of this file.
1/***************************************************************************/
31
32#ifndef MBED_IRQ_H
33#define MBED_IRQ_H
34
35// Platform support needs to be C-compatible to work with other drivers
36#ifdef __cplusplus
37extern "C"
38{
39#endif
40
41#include <stdbool.h>
42
51enum irq_id {
55
58
59 /* Number of available interrupts */
61};
62
73 uint32_t ticker_period_usec; // Time period in usec for ticker event
74 void *int_obj_type; // Other app created Mbed driver instance (e.g. UnBuffered uart)
75};
76
82 uint32_t ticker_period_usec; // Time period in usec for ticker event
83 void *int_obj; // Mbed driver instance (e.g. Ticker, uart)
84};
85
89extern const struct no_os_irq_platform_ops mbed_irq_ops;
90
91#ifdef __cplusplus // Closing extern c
92}
93#endif
94
95#endif // MBED_IRQ_H
irq_id
Interrupts IDs supported by the irq driver.
Definition aducm3029_irq.h:50
@ NB_INTERRUPTS
Definition aducm3029_irq.h:58
const struct no_os_irq_platform_ops mbed_irq_ops
Mbed specific IRQ platform ops structure.
@ UART_RX_INT_ID1
Definition mbed_irq.h:54
@ TICKER_INT_ID
Definition mbed_irq.h:57
Structure holding the platform descriptor for Interrupt Request.
Definition mbed_irq.h:81
void * int_obj
Definition mbed_irq.h:83
uint32_t ticker_period_usec
Definition mbed_irq.h:82
Structure holding the extra parameters for Interrupt Request Example: mbed::UnBufferedSerial my_uart;...
Definition mbed_irq.h:72
uint32_t ticker_period_usec
Definition mbed_irq.h:73
void * int_obj_type
Definition mbed_irq.h:74
Structure holding IRQ function pointers that point to the platform specific function.
Definition no_os_irq.h:154