pub struct Delay;Expand description
A delay provided by the SysTick core peripheral
This requires SysTick to be set up and running. Assumes conditions: upcount, hclk. hclk/8 is not accurate enough for ns delays.
Implementations§
Trait Implementations§
Source§impl DelayNs for Delay
impl DelayNs for Delay
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.