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

Module aggregates routines that are control execution flow of the MCU. More...

#include <platform/execution.hpp>
#include <ecl/assert.h>
#include <chrono>
Include dependency graph for platform/common/export/common/execution.hpp:
This graph shows which files directly or indirectly include this file:

Namespaces

 ecl
 

Functions

template<class Predicate >
static bool ecl::wait_for (uint32_t ms, Predicate pred)
 Waits conditionally not less than given amount of milliseconds. More...
 
static void ecl::wait_for (uint32_t ms)
 Waits in loop for a given amount of milliseconds. More...
 
template<class Rep , class Period >
static void ecl::wait_for (const std::chrono::duration< Rep, Period > &wait_duration)
 Waits in loop for given amount of time, expressed using std::chrono library. More...
 

Detailed Description

Module aggregates routines that are control execution flow of the MCU.

Common implementation across multiple platforms.