Searched refs:semaphore (Results 1 – 1 of 1) sorted by relevance
414 if (semaphore == NULL) { in cy_rtos_init_semaphore()418 status_internal = k_sem_init(semaphore, initcount, maxcount); in cy_rtos_init_semaphore()430 if (semaphore == NULL) { in cy_rtos_get_semaphore()448 status_internal = k_sem_take(semaphore, k_timeout); in cy_rtos_get_semaphore()463 if (semaphore == NULL) { in cy_rtos_set_semaphore()467 k_sem_give(semaphore); in cy_rtos_set_semaphore()477 if ((semaphore == NULL) || (count == NULL)) { in cy_rtos_get_count_semaphore()480 *count = k_sem_count_get(semaphore); in cy_rtos_get_count_semaphore()486 cy_rslt_t cy_rtos_deinit_semaphore(cy_semaphore_t *semaphore) in cy_rtos_deinit_semaphore() argument490 if (semaphore == NULL) { in cy_rtos_deinit_semaphore()[all …]
Completed in 4 milliseconds