15 #include <asm/errno.h>
26 struct timespec req, rem;
27 req.tv_sec = microseconds / (1000 * 1000);
28 req.tv_nsec = (microseconds - (req.tv_sec*1000*1000))*1000;
30 while(nanosleep(&req, &rem) == EINTR)
void Delay_ms(uint32_t milliseconds)
void Delay_us(uint32_t microseconds)