RTEMS 6.1-rc2
|
Modules | |
Interrupt_deprecated_group | |
Interrupt Service Routine definition | |
typedef uint32_t | irqflags_t |
volatile bool | g_interrupt_enabled |
#define | irq_initialize_vectors() |
Initialize interrupt vectors. | |
#define | irq_register_handler(int_num, int_prio) |
Register handler for interrupt. | |
#define | cpu_irq_enable() |
#define | cpu_irq_disable() |
#define | cpu_irq_is_enabled() (__get_PRIMASK() == 0) |
#define | Enable_global_interrupt() cpu_irq_enable() |
#define | Disable_global_interrupt() cpu_irq_disable() |
#define | Is_global_interrupt_enabled() cpu_irq_is_enabled() |
#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: