nrfxlib API 2.8.99
|
int OSAL_Wait_Event | ( | OSAL_Event_t | Event, |
uint32_t | Flags, | ||
uint32_t * | FlagsSet, | ||
bool_t | Reset, | ||
int | Timeout ) |
Waits for one or more event bits to be set.
[in] | Event | Handle to the event returned from OSAL_Create_Event(). |
[in] | Flags | Bitmask of the event bits to wait for, must include at least one bit. |
[in] | FlagsSet | Bitmask of the events that were set. |
[in] | Reset | If TRUE, resets the event bits that were set. |
[in] | Timeout | Value in milliseconds to wait for the event or OSAL_TIMEOUT_INFINITE to wait forever. |