|
Myriota UltraLite SDK 2.4.0
|
Timing functions for delays and sleep modes. More...
Functions | |
| MYRIOTA_USER_API void | Delay (uint32_t mSec) |
| Delays execution for a specified number of milliseconds. | |
| MYRIOTA_USER_API void | MicroSecondDelay (uint32_t uSec) |
| Delays execution for a specified number of microseconds. | |
| MYRIOTA_USER_API void | Sleep (uint32_t Sec) |
| Put the system in lower power mode for a specified number of seconds. | |
Timing functions for delays and sleep modes.
| MYRIOTA_USER_API void Delay | ( | uint32_t | mSec | ) |
| MYRIOTA_USER_API void MicroSecondDelay | ( | uint32_t | uSec | ) |
Delays execution for a specified number of microseconds.
This is a blocking operation and should be used sparingly in the scheduler context.
| uSec | Duration to delay in microseconds. |
| MYRIOTA_USER_API void Sleep | ( | uint32_t | Sec | ) |
Put the system in lower power mode for a specified number of seconds.
The calling job won't be interrupted by other jobs except for events while sleeping.
| Sec | Duration to sleep in seconds. |