PDK API Guide for J721E
SemaphoreP_Params Struct Reference

Detailed Description

Basic SemaphoreP Parameters.

Structure that contains the parameters are passed into SemaphoreP_create when creating a SemaphoreP instance. The SemaphoreP_Params_init function should be used to initialize the fields to default values before the application sets the fields manually. The SemaphoreP default parameters are noted in SemaphoreP_Params_init.

Data Fields

char * name
 
SemaphoreP_Mode mode
 
uint32_t maxCount
 

Field Documentation

◆ name

char* SemaphoreP_Params::name

Name of the semaphore instance. Memory must persist for the life of the semaphore instance

◆ mode

SemaphoreP_Mode SemaphoreP_Params::mode

Mode for the semaphore SemaphoreP_Mode

◆ maxCount

uint32_t SemaphoreP_Params::maxCount

The max count allowed for counting semaphore