TIOVX User Guide
|
APIs for event operations on the host.
Defines | |
#define | TIVX_EVENT_TIMEOUT_NO_WAIT (0u) |
Constant to indicate tivxEventPend() should only check and not wait for event to arrive. | |
#define | TIVX_EVENT_TIMEOUT_WAIT_FOREVER (0xFFFFFFFFu) |
Constant to indicate tivxEventPend() should only wait forever for the event to arrive. | |
Typedefs | |
typedef struct _tivx_event_t * | tivx_event |
Typedef for a event. | |
Functions | |
vx_status | tivxEventCreate (tivx_event *event) |
Create a event. More... | |
vx_status | tivxEventDelete (tivx_event *event) |
Delete a event. More... | |
vx_status | tivxEventPost (tivx_event event) |
Post a event. More... | |
vx_status | tivxEventWait (tivx_event event, uint32_t timeout) |
Pend on a event. More... | |
vx_status | tivxEventClear (tivx_event event) |
Clear any pending events. More... | |
vx_status tivxEventCreate | ( | tivx_event * | event | ) |
Create a event.
event | [out] Pointer to event object |
vx_status tivxEventDelete | ( | tivx_event * | event | ) |
Delete a event.
event | [in] Pointer to event object |
vx_status tivxEventPost | ( | tivx_event | event | ) |
Post a event.
event | [in] event object |
vx_status tivxEventWait | ( | tivx_event | event, |
uint32_t | timeout | ||
) |
Pend on a event.
event | [in] event object |
timeout | [in] Timeout in units of msecs, use TIVX_EVENT_TIMEOUT_WAIT_FOREVER to wait forever |
vx_status tivxEventClear | ( | tivx_event | event | ) |
Clear any pending events.
event | [in] event object |