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.

Releases the system timer (SysTick) resource

Trait Implementations

Formats the value using the given formatter. Read more

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

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.