Trait microbit::hal::prelude::_embedded_hal_blocking_delay_DelayUs[]

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

fn delay_us(&mut self, us: UXX)

Pauses execution for us microseconds

Implementations on Foreign Types

impl DelayUs<u32> for Delay

pub fn delay_us(&mut self, us: u32)

impl DelayUs<u16> for Delay

pub fn delay_us(&mut self, us: u16)

impl DelayUs<u8> for Delay

pub fn delay_us(&mut self, us: u8)

impl DelayUs<i32> for Delay

pub fn delay_us(&mut self, us: i32)

Implementors

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

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

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

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

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

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

impl<T, U> DelayUs<u8> for Timer<T, U> where
    T: Instance
[src]

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

impl<T, U> DelayUs<u16> for Timer<T, U> where
    T: Instance
[src]

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

impl<T, U> DelayUs<u32> for Timer<T, U> where
    T: Instance
[src]

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