56 #ifndef ti_dpl_SemaphoreP__include 57 #define ti_dpl_SemaphoreP__include 76 #define SemaphoreP_STRUCT_SIZE (80) 93 #define SemaphoreP_WAIT_FOREVER ~(0) 98 #define SemaphoreP_NO_WAIT (0) 141 void (*callback)(void);
void SemaphoreP_delete(SemaphoreP_Handle handle)
Function to delete a semaphore.
Basic SemaphoreP Parameters.
Definition: SemaphoreP.h:138
ADC_Params params
Definition: Driver_Init.h:11
void SemaphoreP_post(SemaphoreP_Handle handle)
Function to post (signal) a semaphore from task of ISR context.
#define SemaphoreP_STRUCT_SIZE
Number of bytes greater than or equal to the size of any RTOS SemaphoreP object.
Definition: SemaphoreP.h:76
uint32_t dummy
Definition: SemaphoreP.h:86
SemaphoreP_Status
Status codes for SemaphoreP APIs (for backwards compatibility)
Definition: SemaphoreP.h:103
Definition: SemaphoreP.h:108
SemaphoreP_Mode mode
Definition: SemaphoreP.h:140
SemaphoreP_Status SemaphoreP_pend(SemaphoreP_Handle handle, uint32_t timeout)
Function to pend (wait) on a semaphore.
void * SemaphoreP_Handle
Opaque client reference to an instance of a SemaphoreP.
Definition: SemaphoreP.h:118
SemaphoreP_Handle SemaphoreP_createBinary(unsigned int count)
Function to create a binary semaphore.
void SemaphoreP_destruct(SemaphoreP_Struct *semP)
SemaphoreP_Handle SemaphoreP_create(unsigned int count, SemaphoreP_Params *params)
Function to create a semaphore.
Definition: SemaphoreP.h:125
SemaphoreP_Mode
Mode of the semaphore.
Definition: SemaphoreP.h:123
void SemaphoreP_Params_init(SemaphoreP_Params *params)
Initialize params structure to default values.
SemaphoreP_Handle SemaphoreP_constructBinary(SemaphoreP_Struct *handle, unsigned int count)
uint8_t data[(80)]
Definition: SemaphoreP.h:87
Definition: SemaphoreP.h:106
SemaphoreP_Params SemaphoreP_defaultParams
Default SemaphoreP instance parameters.
union SemaphoreP_Struct SemaphoreP_Struct
SemaphoreP structure.
SemaphoreP_Handle SemaphoreP_createBinaryCallback(unsigned int count, void(*callback)(void))
Function to create a binary semaphore.
Definition: SemaphoreP.h:126
SemaphoreP_Handle SemaphoreP_construct(SemaphoreP_Struct *handle, unsigned int count, SemaphoreP_Params *params)
SemaphoreP structure.
Definition: SemaphoreP.h:84