embedded_hal::blocking::delay

Trait DelayUs

source
pub trait DelayUs<UXX> {
    // Required method
    fn delay_us(&mut self, us: UXX);
}
Expand description

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.

Required Methods§

source

fn delay_us(&mut self, us: UXX)

Pauses execution for us microseconds

Implementors§