Searched refs:millisec (Results 1 – 7 of 7) sorted by relevance
/Zephyr-Core-3.5.0/subsys/portability/cmsis_rtos_v1/ |
D | cmsis_mailq.c | 31 void *osMailAlloc(osMailQId queue_id, uint32_t millisec) in osMailAlloc() argument 41 if (millisec == 0U) { in osMailAlloc() 45 } else if (millisec == osWaitForever) { in osMailAlloc() 52 (void **)&ptr, K_MSEC(millisec)); in osMailAlloc() 65 void *osMailCAlloc(osMailQId queue_id, uint32_t millisec) in osMailCAlloc() argument 75 if (millisec == 0U) { in osMailCAlloc() 79 } else if (millisec == osWaitForever) { in osMailCAlloc() 86 (void **)&ptr, K_MSEC(millisec)); in osMailCAlloc() 125 osEvent osMailGet(osMailQId queue_id, uint32_t millisec) in osMailGet() argument 141 if (millisec == 0U) { in osMailGet() [all …]
|
D | cmsis_msgq.c | 32 osStatus osMessagePut(osMessageQId queue_id, uint32_t info, uint32_t millisec) in osMessagePut() argument 41 if (millisec == 0U) { in osMessagePut() 43 } else if (millisec == osWaitForever) { in osMessagePut() 47 K_MSEC(millisec)); in osMessagePut() 62 osEvent osMessageGet(osMessageQId queue_id, uint32_t millisec) in osMessageGet() argument 74 if (millisec == 0U) { in osMessageGet() 76 } else if (millisec == osWaitForever) { in osMessageGet() 79 retval = k_msgq_get(queue_def->msgq, &info, K_MSEC(millisec)); in osMessageGet()
|
D | cmsis_timer.c | 70 osStatus osTimerStart(osTimerId timer_id, uint32_t millisec) in osTimerStart() argument 83 k_timer_start(&timer->ztimer, K_MSEC(millisec), K_NO_WAIT); in osTimerStart() 85 k_timer_start(&timer->ztimer, K_MSEC(millisec), in osTimerStart() 86 K_MSEC(millisec)); in osTimerStart()
|
D | cmsis_signal.c | 71 osEvent osSignalWait(int32_t signals, uint32_t millisec) in osSignalWait() argument 75 uint32_t time_delta_ms, timeout = millisec; in osSignalWait() 95 switch (millisec) { in osSignalWait() 113 if (millisec == 0U) { in osSignalWait()
|
/Zephyr-Core-3.5.0/include/zephyr/portability/ |
D | cmsis_os.h | 350 osStatus osDelay (uint32_t millisec); 358 osEvent osWait (uint32_t millisec); 398 osStatus osTimerStart (osTimerId timer_id, uint32_t millisec); 434 osEvent osSignalWait (int32_t signals, uint32_t millisec); 469 osStatus osMutexWait (osMutexId mutex_id, uint32_t millisec); 519 int32_t osSemaphoreWait (osSemaphoreId semaphore_id, uint32_t millisec); 632 osStatus osMessagePut (osMessageQId queue_id, uint32_t info, uint32_t millisec); 639 osEvent osMessageGet (osMessageQId queue_id, uint32_t millisec); 684 void *osMailAlloc (osMailQId queue_id, uint32_t millisec); 691 void *osMailCAlloc (osMailQId queue_id, uint32_t millisec); [all …]
|
/Zephyr-Core-3.5.0/drivers/sensor/stmemsc/ |
D | stmemsc.h | 19 static inline void stmemsc_mdelay(uint32_t millisec) in stmemsc_mdelay() argument 21 k_msleep(millisec); in stmemsc_mdelay()
|
/Zephyr-Core-3.5.0/drivers/can/ |
D | can_shell.c | 821 int millisec; in cmd_can_recover() local 832 millisec = (int)strtol(argv[2], &endptr, 10); in cmd_can_recover() 838 timeout = K_MSEC(millisec); in cmd_can_recover() 839 shell_print(sh, "recovering, timeout %d ms", millisec); in cmd_can_recover()
|