|
WS63 SDK 文档 7021f4f@fbb_ws63
ws63 和 ws63e 解决方案的 SDK 文档
|
#include <los_task.h>
成员变量 | |
| TSK_ENTRY_FUNC | pfnTaskEntry |
| UINT16 | usTaskPrio |
| void * | pArgs |
| UINT32 | uwStackSize |
| CHAR * | pcName |
| UINT32 | uwResved |
Define the structure of the parameters used for task creation.
Information of specified parameters passed in during task creation.
| void* tagTskInitParam::pArgs |
Task Parameter, of which the type is void *
| CHAR* tagTskInitParam::pcName |
Task name
| TSK_ENTRY_FUNC tagTskInitParam::pfnTaskEntry |
Task entrance function
| UINT16 tagTskInitParam::usTaskPrio |
Task priority
| 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.
| UINT32 tagTskInitParam::uwStackSize |
Task stack size