Trait stm32_hal2::prelude::DelayUs[][src]

pub trait DelayUs<UXX> {
    pub fn delay_us(&mut self, us: UXX);
}

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

pub fn delay_us(&mut self, us: UXX)[src]

Pauses execution for us microseconds

Loading content...

Implementations on Foreign Types

impl DelayUs<u16> for Delay[src]

impl DelayUs<u32> for Delay[src]

impl DelayUs<u8> for Delay[src]

impl DelayUs<i32> for Delay[src]

Loading content...

Implementors

impl DelayUs<u8> for stm32_hal2::delay::Delay[src]

impl DelayUs<u16> for stm32_hal2::delay::Delay[src]

impl DelayUs<u32> for stm32_hal2::delay::Delay[src]

Loading content...