POSIX operating system API

nRF5 SDK v15.0.0

POSIX standard functions. More...

Functions

unsigned int sleep (unsigned int seconds)
POSIX sleep function. More...
unsigned int usleep (unsigned int useconds)
POSIX usleep function. More...

Detailed Description

POSIX standard functions.

Function Documentation

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.