R_RTOS  0.1
DistributedRealTimeOperatingSystemfortheARMCortexMArchitecture
tskTCB Struct Reference

Task Control Block. More...

#include <R_RTOS_inc.h>

Data Fields

volatile StackPtrT pStckPtr
 current stack pointer
 
StackPtrT pStckTop
 top of the stack
 
TskStartAddr pTskStrt
 Pointer to task's function's address.
 
TskEndAddr pTskEnd
 Pointer to task's ending function, which is executed at the end of the task (usually tsk_EndTheTask)
 
volatile PTskMB tskMailBox
 pointer to task mailbox
 
volatile PSysTickTMR sysTckTmr
 Pointer to SysTickTMR for various SysTick events.
 
volatile PSyncEle tskSync
 Pointer to SyncEle the task is currently being blocked by.
 
StackSize stckSze
 size of the task's stack
 
AdvTskPrio tskPrio
 Current priority settings of the task.
 
volatile TskState tskState
 Current state of the task.
 
TskID tskID
 ID of the task.
 
volatile TskID nxtTsk
 TskID of the child task to the left.
 
volatile TskID prvTsk
 TskID of the child task to the right.
 

Detailed Description

Task Control Block.

The Task Control block contains information about the task and its state. In addition the TCB contains a XORed pointer to the next and previous task queue entry.


The documentation for this struct was generated from the following file: