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 |
const char* TaskP_Params::name |
Pointer to task name
uint32_t TaskP_Params::stackSize |
Size of stack in units of bytes
uint8_t* TaskP_Params::stack |
Pointer to stack memory, MUST be aligned based on CPU architecture, typically atleast 32b on 32b systems
uint32_t TaskP_Params::priority |
Task priority, MUST be between TaskP_PRIORITY_LOWEST and TaskP_PRIORITY_HIGHEST
void* TaskP_Params::args |
User arguments that are passed back as parater to task main
TaskP_FxnMain TaskP_Params::taskMain |
Entry point function to the task
uintptr_t TaskP_Params::coreAffinity |
Core affinity for the task (Applicable in case of SMP only)