POSIX standard functions.
More...
|
unsigned int | sleep (unsigned int seconds) |
| POSIX sleep function. More...
|
|
unsigned int | usleep (unsigned int useconds) |
| POSIX usleep function. More...
|
|
POSIX standard functions.
unsigned int sleep |
( |
unsigned int |
seconds | ) |
|
POSIX sleep function.
- Note
- Uses busy looping nrf_delay.
- Parameters
-
[in] | seconds | The number of seconds to sleep. |
- Returns
- The number of seconds slept.
unsigned int usleep |
( |
unsigned int |
useconds | ) |
|
POSIX usleep function.
- Note
- Uses busy looping nrf_delay.
- Parameters
-
[in] | useconds | The number of microseconds to sleep. |
- Returns
- The number of microseconds slept.