Trait Tasks

Source
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;
}
Available on crate feature unstable only.
Expand description

General purpose timer ETM tasks

Required Methods§

Source

fn cnt_start(&self) -> Task

ETM task to start the counter

Source

fn cnt_stop(&self) -> Task

ETM task to start the alarm

Source

fn cnt_reload(&self) -> Task

ETM task to stop the counter

Source

fn cnt_cap(&self) -> Task

ETM task to reload the counter

Source

fn alarm_start(&self) -> Task

ETM task to load the counter with the value stored when the last now() was called

Implementors§

Source§

impl Tasks for Timer<'_>