Trait _embedded_hal_blocking_delay_DelayMs

Source
pub trait _embedded_hal_blocking_delay_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

Implementations on Foreign Types§

Source§

impl<SPEED> DelayMs<u8> for Delay<SPEED>
where Delay<SPEED>: DelayMs<u16>,

Source§

fn delay_ms(&mut self, ms: u8)

Source§

impl<SPEED> DelayMs<u16> for Delay<SPEED>
where Delay<SPEED>: DelayUs<u32>,

Source§

fn delay_ms(&mut self, ms: u16)

Implementors§