AM263Px MCU+ SDK: TaskP_Params Struct Reference

| AM263Px MCU+ SDK 26.00.00 |

Data Fields
TaskP_Params Struct Reference
APIs for Driver Porting Layer » APIs for Task

## Detailed Description

Opaque task object used with the task APIs.

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 parameter 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)