85 (void)memset(&gEvents[0],0,
sizeof(gEvents));
101 #ifndef MATLAB_SIMULATION
struct _EVENT_Obj_ * EVENT_Handle
Defines the EVENT handle.
QUEUE_Handle QUEUE_init(void *pMemory, const size_t numBytes)
Initializes the queue.
EVENT_Handle lastEvent
the last event in the queue
#define QUEUE_MAX_NUM_EVENTS
Defines the maximum number of events per queue Note: must be a power of 2.
Contains the public interface to the event queue (QUEUE) module routines.
Defines the event queue object.
uint32_t gEventIndex
The event index.
EVENT_Obj gEvents[QUEUE_MAX_NUM_EVENTS]
The array of events.
struct _QUEUE_Obj_ * QUEUE_Handle
Defines the queue handle.
EVENT_Handle firstEvent
the first event in the queue
void QUEUE_listen(QUEUE_Handle handle)
Puts the calling process in a listen state. It loops until.
static void QUEUE_executeEvent(QUEUE_Handle handle)
Checks the specified event queue for an event. If there is an event,.
static bool QUEUE_isIdle(QUEUE_Handle handle)
Checks if the specified queue is idle.
Defines the queue object structure.