os_tsk_create_user_ex函数生成一个函数指针task参数指定的任务,并把它添加到就绪队列中。它动态地分配一个任务识别值(TID)到新的任务。该函数可为任务提供单独的栈,当一个栈需要一个更大的栈来存储局部变量时,这非常有用。os_tsk_create_user_ex函数是os_tsk_create_user函数的扩展,它允许传递参数给任务。
The os_tsk_create_user function creates the task identified by the task function pointer argument and then adds the task to the ready queue. It dynamically assigns a task identifier value (TID) to the new task. This function enables you to provide a sepa
The os_tsk_create function creates the task identified by the task function pointer argument and then adds the task to the ready queue. It dynamically assigns a task identifier value (TID) to the new task. The priority argument specifies the priority for