Trait embassy_traits::gpio::WaitForLow[][src]

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

Wait for a pin to become low.

Associated Types

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

Loading content...

Required methods

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

Wait for a pin to become low.

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

Loading content...

Implementors

Loading content...