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
[src]
Create a new helper, marking the current time as the start of the next measurement.
fn delay_until<D: DurationTicks>(&mut self, delay: D)
[src]
Delay the execution of the current task by the given duration, minus the time spent in this task since the last delay.