MCPcopy Create free account
hub / github.com/RT-Thread/rt-thread / udelay

Function udelay

components/libc/posix/delay/delay.c:53–56  ·  view source on GitHub ↗

* @brief Delays the execution of the current thread for the specified number of microseconds. * * @param usecs The number of microseconds to delay. */

Source from the content-addressed store, hash-verified

51 * @param usecs The number of microseconds to delay.
52 */
53void udelay(unsigned long usecs)
54{
55 rt_hw_us_delay(usecs);
56}
57RTM_EXPORT(udelay);
58
59/**

Callers 2

sleepFunction · 0.70
usleepFunction · 0.70

Calls 1

rt_hw_us_delayFunction · 0.50

Tested by

no test coverage detected