|
theCore C++ embedded framework
|
#include "application.h"#include "stdarg.h"#include "aux/platform_defines.hpp"
Data Structures | |
| struct | tmr_cb |
| Struct-container for timer callback and corresponding object. More... | |
Namespaces | |
| ecl | |
| ecl::systmr | |
Functions | |
| __attribute__ ((weak)) void systmr_handler() | |
| User-overridable timer event handler. More... | |
| void | ecl::systmr::enable () |
| Enables timer, start counting. More... | |
| void | ecl::systmr::disable () |
| Disables timer, stop counting. More... | |
| uint32_t | ecl::systmr::speed () |
| Gets speed in which timer generate events. More... | |
| uint32_t | ecl::systmr::events () |
| Gets amount of events occurred so far. More... | |
Variables | |
| static struct tmr_cb | cb_obj |
| static constexpr auto | tmr_speed_hz = THECORE_SYSTMR_FREQ |
| Timer speed in hertz. More... | |
| static Timer | particle_tmr {1000 / tmr_speed_hz, &tmr_cb::on_timeout, cb_obj} |
| Particle timer object, used as system timer. More... | |
| __attribute__ | ( | (weak) | ) |
User-overridable timer event handler.
|
static |
|
static |
Timer speed in hertz.
|
static |
Particle timer object, used as system timer.