|
AM263Px MCU+ SDK
10.01.00
|
|
Go to the documentation of this file.
55 #define SemaphoreP_OBJECT_SIZE_MAX (152U)
59 typedef struct SemaphoreP_Object_ {
int32_t SemaphoreP_constructCounting(SemaphoreP_Object *obj, uint32_t initValue, uint32_t maxValue)
Create a counting semaphore object.
void SemaphoreP_destruct(SemaphoreP_Object *obj)
Cleanup, delete, destruct a semaphore object.
int32_t SemaphoreP_constructMutex(SemaphoreP_Object *obj)
Create a mutex semaphore object.
int32_t SemaphoreP_getCount(SemaphoreP_Object *obj)
Function to return the count of a semaphore.
void SemaphoreP_post(SemaphoreP_Object *obj)
Post a semaphore object or unlock a mutex.
Opaque semaphore object used with the semaphore APIs.
Definition: SemaphoreP.h:59
int32_t SemaphoreP_constructBinary(SemaphoreP_Object *obj, uint32_t initValue)
Create a binary semaphore object.
#define SemaphoreP_OBJECT_SIZE_MAX
Max size of semaphore object across no-RTOS and all OS's.
Definition: SemaphoreP.h:55
int32_t SemaphoreP_pend(SemaphoreP_Object *obj, uint32_t timeToWaitInTicks)
Pend on a semaphore object or lock a mutex.