Trait async_embedded_traits::delay::AsyncDelayUs[][src]

pub trait AsyncDelayUs<UXX> {
    type DelayFuture: Future<Output = ()>;
    fn async_delay_us(&mut self, us: UXX) -> Self::DelayFuture;

Microsecond delay

UXX denotes the range type of the delay time. UXX can be u8, u16, etc. A single type can implement this trait for different types of UXX.

Associated Types

type DelayFuture: Future<Output = ()>[src]

Delay future for polling on completion

Loading content...

Required methods

fn async_delay_us(&mut self, us: UXX) -> Self::DelayFuture[src]

Pauses execution for us microseconds

Loading content...


Loading content...