pub struct AsmDelay { /* private fields */ }Expand description
asm::delay based Timer
Implementations§
Trait Implementations§
Source§impl DelayNs for AsmDelay
impl DelayNs for AsmDelay
Source§fn delay_ns(&mut self, ns: u32)
fn delay_ns(&mut self, ns: u32)
Pauses execution for at minimum
ns nanoseconds. Pause can be longer
if the implementation requires it due to precision/timing issues.Auto Trait Implementations§
impl Freeze for AsmDelay
impl RefUnwindSafe for AsmDelay
impl Send for AsmDelay
impl Sync for AsmDelay
impl Unpin for AsmDelay
impl UnwindSafe for AsmDelay
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more