WS63 SDK 文档 7021f4f@fbb_ws63
ws63 和 ws63e 解决方案的 SDK 文档
载入中...
搜索中...
未找到
tagTskInitParam结构体 参考

#include <los_task.h>

成员变量

TSK_ENTRY_FUNC pfnTaskEntry
 
UINT16 usTaskPrio
 
void * pArgs
 
UINT32 uwStackSize
 
CHARpcName
 
UINT32 uwResved
 

详细描述

Define the structure of the parameters used for task creation.

Information of specified parameters passed in during task creation.

结构体成员变量说明

◆ pArgs

void* tagTskInitParam::pArgs

Task Parameter, of which the type is void *

◆ pcName

CHAR* tagTskInitParam::pcName

Task name

◆ pfnTaskEntry

TSK_ENTRY_FUNC tagTskInitParam::pfnTaskEntry

Task entrance function

◆ usTaskPrio

UINT16 tagTskInitParam::usTaskPrio

Task priority

◆ uwResved

UINT32 tagTskInitParam::uwResved

bit[0]: If this bit is set to 1, indicates that this task will access the secure world. This bit is valid only when the trustzone feature of ARMv8-M is enabled, LOS_TASK_OS_ALLOC_SECURE could be used to set it. bit[7]: If this bit is set to 1, indicates that this task is not automatically deleted, otherwise task will be deleted automatically, LOS_TASK_STATUS_JOINABLE could be used to set it. bit[8]: If this bit is set to 1, indicates that this task is automatically deleted, LOS_TASK_STATUS_DETACHED could be used to set it. other bits are reserved.

◆ uwStackSize

UINT32 tagTskInitParam::uwStackSize

Task stack size


该结构体的文档由以下文件生成: