embedded_hal::blocking::delay

Trait DelayMs

source
pub trait DelayMs<UXX> {
    // Required method
    fn delay_ms(&mut self, ms: UXX);
}
Expand description

Millisecond 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_ms(&mut self, ms: UXX)

Pauses execution for ms milliseconds

Implementors§