Interface for callback timer.
More...
#include <callback_timer_interrupt.h>
|
etl::timer::id::type | register_timer (const callback_type &callback_, uint32_t period_, bool repeating_) |
| Register a timer.
|
|
bool | unregister_timer (etl::timer::id::type id_) |
| Unregister a timer.
|
|
void | enable (bool state_) |
| Enable/disable the timer.
|
|
bool | is_running () const |
| Get the enable/disable state.
|
|
void | clear () |
| Clears the timer of data.
|
|
bool | tick (uint32_t count) |
|
bool | start (etl::timer::id::type id_, bool immediate_=false) |
| Starts a timer.
|
|
bool | stop (etl::timer::id::type id_) |
| Stops a timer.
|
|
bool | set_period (etl::timer::id::type id_, uint32_t period_) |
| Sets a timer's period.
|
|
bool | set_mode (etl::timer::id::type id_, bool repeating_) |
| Sets a timer's mode.
|
|
|
const uint_least8_t | MAX_TIMERS |
|
|
| icallback_timer_interrupt (timer_data *const timer_array_, const uint_least8_t MAX_TIMERS_) |
| Constructor.
|
|
template<typename TInterruptGuard>
class etl::icallback_timer_interrupt< TInterruptGuard >
Interface for callback timer.
The documentation for this class was generated from the following file: