theCore C++ embedded framework
particle_electron/export/platform/irq.hpp File Reference

Electron IRQ interface. More...

#include <spark_wiring_interrupts.h>
Include dependency graph for particle_electron/export/platform/irq.hpp:

Namespaces

 ecl
 
 ecl::irq
 

Typedefs

using ecl::irq_num = int
 

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...
 

Detailed Description

Electron IRQ interface.