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

STM32 IRQ interface. More...

#include <stm32_device.hpp>
#include <ecl/err.hpp>
#include <functional>
#include <type_traits>
Include dependency graph for stm32/export/platform/irq.hpp:

Namespaces

 ecl
 
 ecl::irq
 

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

STM32 IRQ interface.