AM263x MCU+ SDK  08.02.01
SemaphoreP.h File Reference

Go to the source code of this file.

Data Structures

struct  SemaphoreP_Object
 Opaque semaphore object used with the semaphore APIs. More...
 

Macros

#define SemaphoreP_OBJECT_SIZE_MAX   (152U)
 Max size of semaphore object across no-RTOS and all OS's. More...
 

Functions

int32_t SemaphoreP_constructMutex (SemaphoreP_Object *obj)
 Create a mutex semaphore object. More...
 
int32_t SemaphoreP_constructBinary (SemaphoreP_Object *obj, uint32_t initValue)
 Create a binary semaphore object. More...
 
int32_t SemaphoreP_constructCounting (SemaphoreP_Object *obj, uint32_t initValue, uint32_t maxValue)
 Create a counting semaphore object. More...
 
void SemaphoreP_destruct (SemaphoreP_Object *obj)
 Cleanup, delete, destruct a semaphore object. More...
 
void SemaphoreP_post (SemaphoreP_Object *obj)
 Post a semaphore object or unlock a mutex. More...
 
int32_t SemaphoreP_pend (SemaphoreP_Object *obj, uint32_t timeToWaitInTicks)
 Pend on a semaphore object or lock a mutex. More...