pub struct Delay { /* fields omitted */ }
Expand description
System timer (SysTick) as a delay provider.
pub fn new(syst: SYST, ahb_frequency: u32) -> Self
Configures the system timer (SysTick) as a delay provider.
ahb_frequency
is a frequency of the AHB bus in Hz.
Releases the system timer (SysTick) resource.
Delay using the Cortex-M systick for a certain duration, in µs.
Delay using the Cortex-M systick for a certain duration, in ms.
Pauses execution for ms
milliseconds
Pauses execution for ms
milliseconds
Pauses execution for ms
milliseconds
Pauses execution for ms
milliseconds
Pauses execution for us
microseconds
Pauses execution for us
microseconds
Pauses execution for us
microseconds
Pauses execution for us
microseconds
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.