pub trait DelayMs<UXX> {
    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

Pauses execution for ms milliseconds

Implementors

impl DelayMs<u32> for Delay

impl DelayMs<u16> for Delay

impl DelayMs<u8> for Delay

impl<TIM, TYPE> DelayMs<TYPE> for SleepingDelay<TIM>where
    TIM: InterruptDrivenTimer,
    TYPE: Into<u32>,

impl DelayMs<u32> for Delay

impl DelayMs<i32> for Delay

impl DelayMs<u16> for Delay

impl DelayMs<u8> for Delay