AM62x MCU+ SDK  10.01.00
EventP.h File Reference

Go to the source code of this file.

Data Structures

struct  EventP_Object
 Opaque Event object used with the Event APIs. More...
 

Macros

#define EventP_OBJECT_SIZE_MAX   (60u)
 Max size of Event object across no-RTOS and all OS's. More...
 

Functions

int32_t EventP_construct (EventP_Object *obj)
 Create an Event object. More...
 
void EventP_destruct (EventP_Object *obj)
 Cleanup, delete, destruct an Event object. More...
 
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. More...
 
int32_t EventP_setBits (EventP_Object *obj, uint32_t bitsToSet)
 Setting a bit or multiple bits in the Event bits. More...
 
int32_t EventP_clearBits (EventP_Object *obj, uint32_t bitsToClear)
 Clear a bit or multiple bits in the Event bits. More...
 
int32_t EventP_getBits (EventP_Object *obj, uint32_t *eventBits)
 Getting the current value of Event bits. More...