SYS_PostTask Function

C

INLINE void SYS_PostTask(SYS_TaskId_t taskId)

Description

Posts a task to the task manager, which is later processed by the task handler of the corresponding stack layer.

A task is processed in the SYS_RunTask() function.

Parameters

ParamDescription
taskIdID of the posted task. The application's ID is ::APL_TASK_ID. IDs of the tasks are listed in the SYS_TaskId enum. Each task has its own priority and is called only if there is no any task with higher priority. A handler is called when respective task can be run. Each task has its own task handler. Correspondence between tasks and handlers is listed below: \n
HALHAL_TaskHandler() \n
BSPBSP_TaskHandler() \n
MAC_PHY_HWDMAC_PHY_HWD_TaskHandler() \n
MAC_HWIMAC_HWI_TaskHandler() \n
ZGPZGP_TaskHandler() \n
NWKNWK_TaskHandler() \n
ZDOZDO_TaskHandler() \n
APSAPS_TaskHandler() \n
APLAPL_TaskHandler() \n

Returns

None