 |
AM64x MCU+ SDK
11.01.00
|
|
Go to the documentation of this file.
55 #if defined (OS_NORTOS)
56 typedef struct EventP_Object_
58 volatile uint32_t eventMask;
60 #elif defined (OS_FREERTOS) || defined (OS_FREERTOS_SMP) || defined (OS_FREERTOS_MPU)
62 #include <event_groups.h>
63 typedef struct EventP_Object_
65 StaticEventGroup_t eventObj;
66 EventGroupHandle_t eventHndl;
68 #elif defined (OS_SAFERTOS)
70 #include <eventgroups.h>
71 typedef struct EventP_Object_
73 eventGroupType eventObj;
74 eventGroupHandleType eventHndl;
77 #error "Define OS_NORTOS, OS_FREERTOS or OS_SAFERTOS"
133 uint32_t bitsToWaitFor,
136 uint32_t timeToWaitInTicks,
137 uint32_t *eventBits);
int32_t EventP_clearBits(EventP_Object *obj, uint32_t bitsToClear)
Clear a bit or multiple bits in the Event bits.
int32_t EventP_waitBits(EventP_Object *obj, uint32_t bitsToWaitFor, uint8_t clearOnExit, uint8_t waitForAll, uint32_t timeToWaitInTicks, uint32_t *eventBits)
Read the Event bits, after optionally waiting for a bit or multiple bits to be set.
int32_t EventP_getBits(EventP_Object *obj, uint32_t *eventBits)
Getting the current value of Event bits.
int32_t EventP_construct(EventP_Object *obj)
Opaque Event object used with the Event APIs.
int32_t EventP_setBits(EventP_Object *obj, uint32_t bitsToSet)
Setting a bit or multiple bits in the Event bits.
void EventP_destruct(EventP_Object *obj)
Cleanup, delete, destruct an Event object.