[][src]Trait bl602_hal::prelude::_embedded_hal_blocking_delay_DelayUs

pub trait _embedded_hal_blocking_delay_DelayUs<UXX> {
    type Error;
    fn try_delay_us(&mut self, us: UXX) -> Result<(), Self::Error>;
}

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 Error

Enumeration of DelayMs errors

Loading content...

Required methods

fn try_delay_us(&mut self, us: UXX) -> Result<(), Self::Error>

Pauses execution for us microseconds

Loading content...

Implementors

Loading content...