pub trait Tasks {
// Required methods
fn cnt_start(&self) -> Task;
fn cnt_stop(&self) -> Task;
fn cnt_reload(&self) -> Task;
fn cnt_cap(&self) -> Task;
fn alarm_start(&self) -> Task;
}Expand description
General purpose timer ETM tasks
Required Methods§
Sourcefn cnt_reload(&self) -> Task
fn cnt_reload(&self) -> Task
ETM task to reload the counter
Sourcefn alarm_start(&self) -> Task
fn alarm_start(&self) -> Task
ETM task to load the counter with the value stored when the last
now() was called
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".