nrfxlib API 0.1.0
Loading...
Searching...
No Matches

◆ OSAL_Wait_Event()

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.

Parameters
[in]EventHandle to the event returned from OSAL_Create_Event().
[in]FlagsBitmask of the event bits to wait for, must include at least one bit.
[in]FlagsSetBitmask of the events that were set.
[in]ResetIf TRUE, resets the event bits that were set.
[in]TimeoutValue in milliseconds to wait for the event or OSAL_TIMEOUT_INFINITE to wait forever.
Returns
OSAL_STATUS_SUCCESS upon success or other status value upon failure.