Home
last modified time | relevance | path

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

/hal_nxp-3.5.0/mcux/mcux-sdk/components/osa/
Dfsl_os_abstraction_threadx.c64 TX_THREAD taskHandle; member
222 osa_task_priority_t OSA_TaskGetPriority(osa_task_handle_t taskHandle) in OSA_TaskGetPriority() argument
235 osa_status_t OSA_TaskSetPriority(osa_task_handle_t taskHandle, osa_task_priority_t taskPriority) in OSA_TaskSetPriority() argument
251 osa_status_t OSA_TaskCreate(osa_task_handle_t taskHandle, const osa_task_def_t *thread_def, osa_tas… in OSA_TaskCreate() argument
253 assert(taskHandle); in OSA_TaskCreate()
255 osa_thread_task_t *ptask = (osa_thread_task_t *)taskHandle; in OSA_TaskCreate()
257 …if (tx_thread_create(&ptask->taskHandle, /* task handle, allocated by a… in OSA_TaskCreate()
287 osa_status_t OSA_TaskDestroy(osa_task_handle_t taskHandle) in OSA_TaskDestroy() argument
289 assert(taskHandle); in OSA_TaskDestroy()
290 osa_thread_task_t *ptask = (osa_thread_task_t *)taskHandle; in OSA_TaskDestroy()
[all …]
Dfsl_os_abstraction_free_rtos.c61 TaskHandle_t taskHandle; member
203 if (ptask->taskHandle == xTaskGetCurrentTaskHandle()) in OSA_TaskGetCurrentHandle()
234 osa_task_priority_t OSA_TaskGetPriority(osa_task_handle_t taskHandle) in OSA_TaskGetPriority() argument
236 assert(NULL != taskHandle); in OSA_TaskGetPriority()
237 osa_freertos_task_t *ptask = (osa_freertos_task_t *)taskHandle; in OSA_TaskGetPriority()
238 return (osa_task_priority_t)(PRIORITY_RTOS_TO_OSA((uxTaskPriorityGet(ptask->taskHandle)))); in OSA_TaskGetPriority()
249 osa_status_t OSA_TaskSetPriority(osa_task_handle_t taskHandle, osa_task_priority_t taskPriority) in OSA_TaskSetPriority() argument
251 assert(NULL != taskHandle); in OSA_TaskSetPriority()
252 osa_freertos_task_t *ptask = (osa_freertos_task_t *)taskHandle; in OSA_TaskSetPriority()
253 …vTaskPrioritySet((task_handler_t)ptask->taskHandle, PRIORITY_OSA_TO_RTOS(((uint32_t)taskPriority))… in OSA_TaskSetPriority()
[all …]
Dfsl_os_abstraction_bm.c295 osa_task_priority_t OSA_TaskGetPriority(osa_task_handle_t taskHandle) in OSA_TaskGetPriority() argument
297 assert(taskHandle); in OSA_TaskGetPriority()
298 task_handler_t handler = (task_handler_t)taskHandle; in OSA_TaskGetPriority()
310 osa_status_t OSA_TaskSetPriority(osa_task_handle_t taskHandle, osa_task_priority_t taskPriority) in OSA_TaskSetPriority() argument
312 assert(taskHandle); in OSA_TaskSetPriority()
318 task_control_block_t *ptaskStruct = (task_control_block_t *)taskHandle; in OSA_TaskSetPriority()
373 osa_status_t OSA_TaskCreate(osa_task_handle_t taskHandle, const osa_task_def_t *thread_def, osa_tas… in OSA_TaskCreate() argument
383 task_control_block_t *ptaskStruct = (task_control_block_t *)taskHandle; in OSA_TaskCreate()
386 assert(taskHandle); in OSA_TaskCreate()
452 osa_status_t OSA_TaskDestroy(osa_task_handle_t taskHandle) in OSA_TaskDestroy() argument
[all …]
Dfsl_os_abstraction.h501 osa_status_t OSA_TaskCreate(osa_task_handle_t taskHandle,
535 osa_task_priority_t OSA_TaskGetPriority(osa_task_handle_t taskHandle);
548 osa_status_t OSA_TaskSetPriority(osa_task_handle_t taskHandle, osa_task_priority_t taskPriority);
560 osa_status_t OSA_TaskDestroy(osa_task_handle_t taskHandle);
/hal_nxp-3.5.0/mcux/mcux-sdk/components/button/
Dfsl_component_button.c85 OSA_TASK_HANDLE_DEFINE(taskHandle);
368 …osaStatus = OSA_TaskCreate((osa_task_handle_t)s_buttonList.taskHandle, OSA_TASK(BUTTON_Task), &s_b…
448 (void)OSA_TaskDestroy((osa_task_handle_t)s_buttonList.taskHandle);