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

IRQ common module. More...

#include <platform/irq.hpp>
#include <ecl/err.hpp>
#include <functional>
#include <type_traits>
Include dependency graph for common/export/common/irq.hpp:
This graph shows which files directly or indirectly include this file:

Namespaces

 ecl
 
 ecl::irq
 

Typedefs

using ecl::irq::handler_type = std::function< void()>
 

Functions

void ecl::irq::init_storage ()
 Initializes storage for callbacks and setups default handler for every IRQ. More...
 
void ecl::irq::subscribe (irq_num irqn, const irq::handler_type &handler)
 Subscribes to the given IRQ. More...
 
void ecl::irq::unsubscribe (irq_num irqn)
 Unsubscribes from the given IRQ. More...
 

Detailed Description

IRQ common module.