Skip to main content

delay_us

Function delay_us 

Source
pub fn delay_us(us: u64)
Expand description

High-precision delay in microseconds.

Reads mmio_base and period_ns once (single lock acquisition), then spins on the HPET main counter with direct volatile reads : no further lock traffic in the hot loop.