atsamd_hal::prelude

Trait _embedded_hal_blocking_delay_DelayUs

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

Implementations on Foreign Types§

Source§

impl DelayUs<i32> for Delay

Source§

fn delay_us(&mut self, us: i32)

Source§

impl DelayUs<u8> for Delay

Source§

fn delay_us(&mut self, us: u8)

Source§

impl DelayUs<u16> for Delay

Source§

fn delay_us(&mut self, us: u16)

Source§

impl DelayUs<u32> for Delay

Source§

fn delay_us(&mut self, us: u32)

Implementors§

Source§

impl DelayUs<u8> for atsamd_hal::delay::Delay

Source§

impl DelayUs<u16> for atsamd_hal::delay::Delay

Source§

impl DelayUs<u32> for atsamd_hal::delay::Delay

Source§

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