Trait embassy_traits::gpio::WaitForHigh[][src]

pub trait WaitForHigh {
    type Future: Future<Output = ()> + 'a;
    fn wait_for_high<'a>(&'a mut self) -> Self::Future;
}

Wait for a pin to become high.

Associated Types

type Future: Future<Output = ()> + 'a[src]

Loading content...

Required methods

fn wait_for_high<'a>(&'a mut self) -> Self::Future[src]

Wait for a pin to become high.

If the pin is already high, the future completes immediately. Otherwise, it completes when it becomes high.

Loading content...

Implementors

Loading content...