This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

MSP-EXP432P4111: What is the role of the ti_sysbios_knl_Semaphore_reset__E function

Part Number: MSP-EXP432P4111

Hi Team,

The definition of the ti_sysbios_knl_Semaphore_reset__E function in ti\sysbios\knl\Semaphore.h is "xdc_Void ti_sysbios_knl_Semaphore_reset__E( ti_sysbios_knl_Semaphore_Handle __inst, xdc_Int count );"

  1. Can this function be mixed with sem_init, sem_wait, sem_post, etc. in ti\posix\ccs\semaphore.h?
  2. Is its role to artificially set the count of semaphore objects at runtime?
  3. Can the blocking state of the corresponding task be released by calling this function when the semaphore object has been suspended?