![]() |
RTEMS 6.3
|
Topics | |
| 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() |
| #define | Enable_global_interrupt() |
| #define | Disable_global_interrupt() |
| #define | Is_global_interrupt_enabled() |
| #define cpu_irq_disable | ( | ) |
| #define cpu_irq_enable | ( | ) |
| #define cpu_irq_is_enabled | ( | ) |
| #define Disable_global_interrupt | ( | ) |
| #define Enable_global_interrupt | ( | ) |
| #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:
| #define Is_global_interrupt_enabled | ( | ) |