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

Platform bus common interface. More...

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

Namespaces

 ecl
 

Typedefs

using ecl::bus_handler = std::function< void(bus_channel ch, bus_event type, size_t total)>
 Event handler type. More...
 

Enumerations

enum  ecl::bus_channel { ecl::bus_channel::rx, ecl::bus_channel::tx, ecl::bus_channel::meta }
 Channels of a bus. More...
 
enum  ecl::bus_event { ecl::bus_event::ht, ecl::bus_event::tc, ecl::bus_event::err }
 Various events. More...
 
enum  ecl::async_type { ecl::async_type::deferred, ecl::async_type::immediate }
 Defines async xfer types. More...
 

Detailed Description

Platform bus common interface.