pub fn sleep(dur: Duration)
Current thread is going to sleep for the given duration.
If one of multitask or irq features is not enabled, it uses busy-wait instead.
multitask
irq