|
|
| ETL_STATIC_ASSERT (Max_Timers_<=254U, "No more than 254 timers are allowed") |
|
| callback_timer_deferred_locked () |
| | Constructor.
|
|
| callback_timer_deferred_locked (try_lock_type try_lock_, lock_type lock_, unlock_type unlock_) |
| | Constructor.
|
| bool | tick (uint32_t count) final |
| | Handle the tick call.
|
| void | handle_deferred (void) |
|
etl::timer::id::type | register_timer (const callback_type &callback_, uint32_t period_, bool repeating_) |
| | Register a timer.
|
| etl::timer::id::type | register_timer (const callback_type &callback_, uint32_t period_, bool repeating_, uint_least8_t priority_) |
|
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 | 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.
|
|
void | set_locks (try_lock_type try_lock_, lock_type lock_, lock_type unlock_) |
| | Sets the lock and unlock delegates.
|
|
bool | has_active_timer () const |
| | Check if there is an active timer.
|
| uint32_t | time_to_next () const |
| bool | is_active (etl::timer::id::type id_) const |
|
void | set_insert_callback (event_callback_type insert_) |
| | Set a callback when a timer is inserted on list.
|
|
void | set_remove_callback (event_callback_type remove_) |
| | Set a callback when a timer is removed from list.
|
|
void | clear_insert_callback () |
|
void | clear_remove_callback () |
template<uint_least8_t Max_Timers_, uint32_t Max_Handlers_>
class etl::callback_timer_deferred_locked< Max_Timers_, Max_Handlers_ >
The deferred callback timer.