13 #ifndef HEADERS_R_RTOS_EVENTS_H_ 14 #define HEADERS_R_RTOS_EVENTS_H_ uint8_t SysTicks
Amount of SysTicks.
Definition: R_RTOS_inc.h:511
TskID tskID
TskID stored with the event queue.
Definition: R_RTOS_events.h:34
uint32_t EVTQSlots
Used as a bitarry for slots of an event queue.
Definition: R_RTOS_inc.h:490
Defines, Typedefs and Macros for the whole system.
void evt_INIT(void)
Initialize the event service.
Definition: R_RTOS_events.c:28
A simple singly linked list serving as one event queue.
Definition: R_RTOS_events.h:31
uint8_t TskID
Task identification number (ID).
Definition: R_RTOS_inc.h:532
struct evtQueue * ptrNxtEvtQ
Pointer to next event queue.
Definition: R_RTOS_events.h:33
RetCode evt_WaitForEvts(PTskTCB const tsk, EVTQSlots evtMask, const SysTicks maxWaitTime)
Sets the task up to wait for the events specified by evtMask.
Definition: R_RTOS_events.c:44
RetCode evt_GiveUpOnEvts(PTskTCB const tsk)
Removes the specified task from all event queues it was queued into.
Definition: R_RTOS_events.c:128
Task Control Block.
Definition: R_RTOS_inc.h:1322
struct evtQueue EVTQueue
evtQueue
uint8_t RetCode
Return codes for functions.
Definition: R_RTOS_inc.h:1424
uint8_t EvtNr
Number of an event.
Definition: R_RTOS_inc.h:481
RetCode evt_SendEvt(const EvtNr evtNr)
Sends the event specified by evtNr to all entities in the corresponding event queue.
Definition: R_RTOS_events.c:93