@CHIP-RTOS C Library - RTOS API
The calling task waits until the Event Manager
wakes it up (the event has occurred) or the specified timeout is
int RTX_Wait_For_Event ( unsigned int id,
RTX_Wait_Event far *event_ptr );
- Event group ID produced by
- Pointer to RTX_Wait_Event
filled in by caller.
- 0 on success else
- Note that the Event Manager's wakeup mechanism is level sensitive
(not edge triggered). Consequently, a task may want to acknowledge
an event bit level after a wakeup by negating the flag using the
following a wakeup.
The alternative RTX_Wait_For_EventP
function is identical to this function, except for parameter passing
function can be used to pick up the event states.
- This library function invokes a RTOS software interrupt.
Refer to this RTOS API function's
for more details.
- RTX API Overview
Supported since or modified in @CHIP-RTOS version
This API List
List of C Libraries
@CHIP-RTOS Main Index
End of document