<libmaple/delay.h>

Provides a simple busy-loop delay function. Note that this function does not account for time spent in interrupts, so actual delay times may vary depending on your application.

void delay_us(uint32 us)

Delay the given number of microseconds.

Parameters:
  • us -

    Number of microseconds to delay.