Available on crate feature
unstable
only.Expand description
§Delay
§Overview
The Delay driver provides blocking delay functionalities using the now function.
§Configuration
The delays are implemented in a “best-effort” way, meaning that the CPU will block for at least the amount of time specified, but accuracy can be affected by many factors, including interrupt usage.
§Usage
This module implements the blocking DelayNs trait from embedded-hal.
§Examples
§Delay for 1 second
let mut delay = Delay::new();
delay.delay_ms(1000 as u32);
Structs§
- Delay driver
Type Aliases§
- Alias for microsecond duration (
u64
backing storage)