Function cortex_m::asm::delay[][src]

pub fn delay(_n: u32)

Blocks the program for at least n instruction cycles

This is implemented in assembly so its execution time is the same regardless of the optimization level.

NOTE that the delay can take much longer if interrupts are serviced during its execution.