AM62Ax MCU+ SDK  10.01.00
TaskP_Params Struct Reference

Detailed Description

Parameters passed during TaskP_construct.

Data Fields

const char * name
 
uint32_t stackSize
 
uint8_t * stack
 
uint32_t priority
 
void * args
 
TaskP_FxnMain taskMain
 
uintptr_t coreAffinity
 

Field Documentation

◆ name

const char* TaskP_Params::name

Pointer to task name

◆ stackSize

uint32_t TaskP_Params::stackSize

Size of stack in units of bytes

◆ stack

uint8_t* TaskP_Params::stack

Pointer to stack memory, MUST be aligned based on CPU architecture, typically atleast 32b on 32b systems

◆ priority

uint32_t TaskP_Params::priority

Task priority, MUST be between TaskP_PRIORITY_LOWEST and TaskP_PRIORITY_HIGHEST

◆ args

void* TaskP_Params::args

User arguments that are passed back as parater to task main

◆ taskMain

TaskP_FxnMain TaskP_Params::taskMain

Entry point function to the task

◆ coreAffinity

uintptr_t TaskP_Params::coreAffinity

Core affinity for the task (Applicable in case of SMP only)