Searched refs:millisec (Results 1 – 5 of 5) sorted by relevance
/hal_nxp-3.5.0/mcux/mcux-sdk/components/osa/ |
D | fsl_os_abstraction_threadx.c | 39 #define millisecToTicks(millisec) (((millisec)*TX_TIMER_TICKS_PER_SECOND + 999U) / 1000U) argument 323 void OSA_TimeDelay(uint32_t millisec) in OSA_TimeDelay() argument 325 (void)tx_thread_sleep(millisecToTicks(millisec)); in OSA_TimeDelay() 421 osa_status_t OSA_SemaphoreWait(osa_semaphore_handle_t semaphoreHandle, uint32_t millisec) in OSA_SemaphoreWait() argument 429 if (millisec == osaWaitForever_c) in OSA_SemaphoreWait() 433 else if (millisec == osaWaitNone_c) in OSA_SemaphoreWait() 439 timeoutTicks = MSEC_TO_TICK(millisec); in OSA_SemaphoreWait() 505 osa_status_t OSA_MutexLock(osa_mutex_handle_t mutexHandle, uint32_t millisec) in OSA_MutexLock() argument 513 if (millisec == osaWaitForever_c) in OSA_MutexLock() 519 timeoutTicks = MSEC_TO_TICK(millisec); in OSA_MutexLock() [all …]
|
D | fsl_os_abstraction_free_rtos.c | 38 #define millisecToTicks(millisec) (((millisec)*configTICK_RATE_HZ + 999U) / 1000U) argument 335 void OSA_TimeDelay(uint32_t millisec) in OSA_TimeDelay() argument 337 vTaskDelay(millisecToTicks(millisec)); in OSA_TimeDelay() 459 osa_status_t OSA_SemaphoreWait(osa_semaphore_handle_t semaphoreHandle, uint32_t millisec) in OSA_SemaphoreWait() argument 466 if (millisec == osaWaitForever_c) in OSA_SemaphoreWait() 472 timeoutTicks = MSEC_TO_TICK(millisec); in OSA_SemaphoreWait() 565 osa_status_t OSA_MutexLock(osa_mutex_handle_t mutexHandle, uint32_t millisec) in OSA_MutexLock() argument 572 if (millisec == osaWaitForever_c) in OSA_MutexLock() 578 timeoutTicks = MSEC_TO_TICK(millisec); in OSA_MutexLock() 794 uint32_t millisec, in OSA_EventWait() argument [all …]
|
D | fsl_os_abstraction_bm.c | 507 void OSA_TimeDelay(uint32_t millisec) in OSA_TimeDelay() argument 517 } while (millisec >= OSA_TimeDiff(timeStart, currTime)); in OSA_TimeDelay() 638 osa_status_t OSA_SemaphoreWait(osa_semaphore_handle_t semaphoreHandle, uint32_t millisec) in OSA_SemaphoreWait() argument 664 if (0U == millisec) in OSA_SemaphoreWait() 683 else if (millisec != osaWaitForever_c) /* If don't wait forever, start the timer */ in OSA_SemaphoreWait() 690 pSemStruct->timeout = millisec; in OSA_SemaphoreWait() 778 osa_status_t OSA_MutexLock(osa_mutex_handle_t mutexHandle, uint32_t millisec) in OSA_MutexLock() argument 800 if (0U == millisec) in OSA_MutexLock() 819 else if (millisec != osaWaitForever_c) /* If dont't wait forever, start timer. */ in OSA_MutexLock() 826 pMutexStruct->timeout = millisec; in OSA_MutexLock() [all …]
|
D | fsl_os_abstraction.h | 662 osa_status_t OSA_SemaphoreWait(osa_semaphore_handle_t semaphoreHandle, uint32_t millisec); 718 osa_status_t OSA_MutexLock(osa_mutex_handle_t mutexHandle, uint32_t millisec); 863 uint32_t millisec, 933 osa_status_t OSA_MsgQGet(osa_msgq_handle_t msgqHandle, osa_msg_handle_t pMessage, uint32_t millisec… 981 void OSA_TimeDelay(uint32_t millisec);
|
/hal_nxp-3.5.0/mcux/middleware/wireless/framework_5.3.3/OSAbstraction/Interface/ |
D | fsl_os_abstraction.h | 359 osaStatus_t OSA_SemaphoreWait(osaSemaphoreId_t semId, uint32_t millisec); 405 osaStatus_t OSA_MutexLock(osaMutexId_t mutexId, uint32_t millisec); 495 …ventId_t eventId, osaEventFlags_t flagsToWait, bool_t waitAll, uint32_t millisec, osaEventFlags_t … 550 osaStatus_t OSA_MsgQGet(osaMsgQId_t msgQId, osaMsg_t pMessage, uint32_t millisec); 587 void OSA_TimeDelay(uint32_t millisec);
|