Struct stm32f3xx_hal::delay::Delay [−][src]
pub struct Delay { /* fields omitted */ }Expand description
System timer (SysTick) as a delay provider
Implementations
Configures the system timer (SysTick) as a delay provider
Limitations
Depending on the core clock, this delay provider can delay between 1 minute (for 72 Mhz) up to almost 9 minutes (for 8 Mhz). Higher input values will be capped to these limits.
For accuracy purposes and because this is a blocking, busy-waiting function, if delays in the second to minute range are needed, use timers instead.
Get access to the underlying register block.
Safety
This function is not memory unsafe per se, but does not guarantee anything about assumptions of invariants made in this implementation.
Changing specific options can lead to un-expected behavior and nothing is guaranteed.
Trait Implementations
Pauses execution for ms milliseconds
Pauses execution for us microseconds