|
AM65x MCU+ SDK
09.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 #define TaskP_OBJECT_SIZE_MAX (160u)
92 typedef struct TaskP_Object_ {
103 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:103
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:92
void TaskP_loadResetAll(void)
Reset task load statistics.
void * args
Definition: TaskP.h:109
int32_t TaskP_construct(TaskP_Object *obj, TaskP_Params *params)
Create a task object.
const char * name
Definition: TaskP.h:105
void TaskP_loadUpdateAll(void)
Updated task load statistics.
TaskP_FxnMain taskMain
Definition: TaskP.h:110
void TaskP_exit(void)
Exit current task.
void TaskP_yield(void)
Yield current task.
uint32_t stackSize
Definition: TaskP.h:106
void * TaskP_getHndl(TaskP_Object *obj)
Return OS defined task handle.
uint32_t cpuLoad
Definition: TaskP.h:81
uint32_t priority
Definition: TaskP.h:108
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:111
uint64_t totalTime
Definition: TaskP.h:80
#define TaskP_OBJECT_SIZE_MAX
Max size of task object across all OS's.
Definition: TaskP.h:88
uint8_t * stack
Definition: TaskP.h:107
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.