|
AM263Px MCU+ SDK
10.01.00
|
|
Go to the documentation of this file.
60 #define TaskP_PRIORITY_LOWEST (0u)
65 #define TaskP_PRIORITY_HIGHEST (31u)
70 #define TaskP_LOAD_UPDATE_WINDOW_MSEC (500u)
88 #ifdef INCLUDE_FREERTOS_FAT
89 #define TaskP_OBJECT_SIZE_MAX (172u)
91 #define TaskP_OBJECT_SIZE_MAX (160u)
96 typedef struct TaskP_Object_ {
107 typedef struct TaskP_Params_ {
void(* TaskP_FxnMain)(void *args)
Entry point to the task.
Definition: TaskP.h:55
Parameters passed during TaskP_construct.
Definition: TaskP.h:107
void * args
Definition: hsmclient_msg.h:4
Task load statistics.
Definition: TaskP.h:76
const char * name
Definition: TaskP.h:78
Opaque task object used with the task APIs.
Definition: TaskP.h:96
void TaskP_loadResetAll(void)
Reset task load statistics.
void * args
Definition: TaskP.h:113
int32_t TaskP_construct(TaskP_Object *obj, TaskP_Params *params)
Create a task object.
const char * name
Definition: TaskP.h:109
void TaskP_loadUpdateAll(void)
Updated task load statistics.
TaskP_FxnMain taskMain
Definition: TaskP.h:114
void TaskP_exit(void)
Exit current task.
void TaskP_yield(void)
Yield current task.
uint32_t stackSize
Definition: TaskP.h:110
void * TaskP_getHndl(TaskP_Object *obj)
Return OS defined task handle.
uint32_t cpuLoad
Definition: TaskP.h:81
uint32_t priority
Definition: TaskP.h:112
uint32_t TaskP_loadGetTotalCpuLoad(void)
Get total CPU load including all task and ISR execution time.
uint64_t runTime
Definition: TaskP.h:79
void TaskP_loadGet(TaskP_Object *obj, TaskP_Load *taskLoad)
Get task load.
uintptr_t coreAffinity
Definition: TaskP.h:115
uint64_t totalTime
Definition: TaskP.h:80
#define TaskP_OBJECT_SIZE_MAX
Max size of task object across all OS's.
Definition: TaskP.h:91
uint8_t * stack
Definition: TaskP.h:111
void TaskP_Params_init(TaskP_Params *params)
Set default values to TaskP_Params.
void TaskP_destruct(TaskP_Object *obj)
Cleanup, delete, destruct a task object.