![]()  | 
  
    PDK API Guide for J721E
    
   | 
 
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 | 
| char* SemaphoreP_Params::name | 
Name of the semaphore instance. Memory must persist for the life of the semaphore instance
| SemaphoreP_Mode SemaphoreP_Params::mode | 
Mode for the semaphore SemaphoreP_Mode
| uint32_t SemaphoreP_Params::maxCount | 
The max count allowed for counting semaphore