void * DPS_GetEventData(const DPS_Event *event)
Get the event application data.
int DPS_Status
The status code type.
Definition: err.h:41
struct _DPS_Event DPS_Event
Opaque type for an event.
Definition: event.h:47
DPS_Event * DPS_CreateEvent(void)
Create and initialize an event.
void DPS_SignalEvent(DPS_Event *event, DPS_Status status)
Signal an event.
void DPS_SetEventData(DPS_Event *event, void *data)
Set the event application data.
void DPS_DestroyEvent(DPS_Event *event)
Destroy an event and free resources.
DPS_Status DPS_WaitForEvent(DPS_Event *event)
Wait for an event to be signalled.
DPS_Status DPS_TimedWaitForEvent(DPS_Event *event, uint16_t timeout)
Wait for an event to be signalled with a timeout.