Struct freertos_rs::TaskDelay
[−]
[src]
pub struct TaskDelay { /* fields omitted */ }
Delay the current task by the given duration, minus the time that was spent processing the last wakeup loop.
Methods
impl TaskDelay
[src]
fn new() -> TaskDelay
Create a new helper, marking the current time as the start of the next measurement.
fn delay_until(&mut self, delay: Duration)
Delay the execution of the current task by the given duration, minus the time spent in this task since the last delay.