Files
beaglefw/sleep.hh
Matthias Blankertz 76cc09a168 - WIP: OMAP35x SD/MMC controller driver
- WIP: Pagecache
- Added sleep() and usleep() functions
2013-07-19 19:51:40 +02:00

13 lines
250 B
C++

#ifndef _SLEEP_HH_
#define _SLEEP_HH_
#include <cstdint>
// "busy" sleep for at least 'us' microseconds with microsecond granularity
void usleep(uint32_t us);
// Sleep with yield, at least 10 ms, 10 ms granularity
void sleep(unsigned ms);
#endif