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

Function mdelay

components/libc/posix/delay/delay.c:42–45  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

40 * @param msecs The number of milliseconds to delay.
41 */
42void mdelay(unsigned long msecs)
43{
44 rt_hw_us_delay(msecs * 1000);
45}
46RTM_EXPORT(mdelay);
47
48/**

Callers

nothing calls this directly

Calls 1

rt_hw_us_delayFunction · 0.50

Tested by

no test coverage detected