Searched refs:sema (Results 1 – 3 of 3) sorted by relevance
80 #define CY_IPC_SEMA_SEC(sema) (0x10000000UL | (sema)) argument82 #define CY_IPC_SEMA_IS_SEC(sema) (((sema) & 0x10000000UL) != 0UL) argument84 #define CY_IPC_SEMA_GET_NUM(sema) ((sema) & (~(0x10000000UL))) argument
49 sema) if (buff == \ argument53 (void)cy_rtos_deinit_semaphore(sema); \56 #define CHECK_RETURN_WITH_SEMAPHORE(expr, sema) { whd_result_t check_res = (expr); if (check_res !… argument60 (void)cy_rtos_deinit_semaphore(sema); \
76 SemaphoreHandle_t sema; member129 wrapper->sema = xSemaphoreCreateBinary(); in cy_rtos_create_thread()130 CY_ASSERT(wrapper->sema != NULL); in cy_rtos_create_thread()170 xSemaphoreGive(wrapper->sema); in cy_rtos_exit_thread()209 vSemaphoreDelete(wrapper->sema); in cy_rtos_terminate_thread()303 xSemaphoreTake(wrapper->sema, portMAX_DELAY); in cy_rtos_join_thread()