RTEMS
5.0.0
|
Modules | |
Interrupt_deprecated_group | |
Macros | |
#define | cpu_irq_enable() |
#define | cpu_irq_disable() |
#define | cpu_irq_is_enabled() (__get_PRIMASK() == 0) |
Typedefs | |
typedef uint32_t | irqflags_t |
Variables | |
volatile bool | g_interrupt_enabled |
Interrupt Service Routine definition | |
#define | irq_initialize_vectors() |
Initialize interrupt vectors. More... | |
#define | irq_register_handler(int_num, int_prio) |
Register handler for interrupt. More... | |
#define cpu_irq_disable | ( | ) |
#define cpu_irq_enable | ( | ) |
#define irq_initialize_vectors | ( | ) |
Initialize interrupt vectors.
For NVIC the interrupt vectors are put in vector table. So nothing to do to initialize them, except defined the vector function with right name.
This must be called prior to irq_register_handler.
#define irq_register_handler | ( | int_num, | |
int_prio | |||
) |
Register handler for interrupt.
For NVIC the interrupt vectors are put in vector table. So nothing to do to register them, except defined the vector function with right name.
Usage: