Home
last modified time | relevance | path

Searched refs:semaphore (Results 1 – 1 of 1) sorted by relevance

/modules/hal_infineon/abstraction-rtos/source/COMPONENT_ZEPHYR/
A Dcyabs_rtos_zephyr.c414 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() argument
490 if (semaphore == NULL) { in cy_rtos_deinit_semaphore()
[all …]

Completed in 4 milliseconds