theCore C++ embedded framework
|
Functions | |
static void | ecl::irq::mask (irq_num irqn) |
Masks or disables the given IRQ. More... | |
static void | ecl::irq::unmask (irq_num irqn) |
Unmasks or enables the given IRQ. More... | |
static irq_num | ecl::irq::get_current_irqn () |
Gets current IRQ number. More... | |
static bool | ecl::irq::in_isr () |
Checks if a processor is in handler mode of execution at this time. More... | |
static void | ecl::irq::disable () |
Disables interrupts globally. More... | |
static void | ecl::irq::enable () |
Enables interrupts globally. More... | |
static void | ecl::irq::clear (irq_num irqn) |
Clears pending interrupt of the given IRQ. More... | |
|
inlinestatic |
Masks or disables the given IRQ.
[in] | irqn | Valid IRQ number. |
|
inlinestatic |
Unmasks or enables the given IRQ.
[in] | irqn | Valid IRQ number. |
|
inlinestatic |
Gets current IRQ number.
|
inlinestatic |
Checks if a processor is in handler mode of execution at this time.
true | Processor is in handler mode. I.e. servicing IRQ or exception. |
false | Processor is in thread mode. |
|
inlinestatic |
Disables interrupts globally.
|
inlinestatic |
Enables interrupts globally.
|
inlinestatic |
Clears pending interrupt of the given IRQ.
[in] | irqn | Valid IRQ number. |