|
RTOS Wrapper
API reference
|
Miscellaneous utility helpers for the RTOS wrapper. More...
Go to the source code of this file.
Functions | |
| template<typename Func , typename T > | |
| static bool | TestLogicWithTimeout (Func func, T expected, uint32_t timeoutMsec, uint32_t checkIntervalMs) |
| Helper to repeatedly check a condition until timeout. | |
Miscellaneous utility helpers for the RTOS wrapper.
|
inlinestatic |
Helper to repeatedly check a condition until timeout.
| Func | Callable returning a comparable value. |
| T | Type of the expected value. |
| func | Function returning a value to compare. |
| expected | Expected value from the function. |
| timeoutMsec | Maximum time in milliseconds to wait. |
| checkIntervalMs | Delay between checks in milliseconds. |