CooCox 1.1.4 on mbed with simple blinky example

Dependencies:   mbed

Embed: (wiki syntax)

« Back to documentation index

TCB Struct Reference

TCB Struct Reference

Task control blcok. More...

Data Fields

OS_STK * stkPtr
U8 prio
U8 state
OS_TID taskID
OS_MutexID mutexID
OS_EventID eventID
U16 timeSlice
OS_STK * stack
void * pmail
struct TCBwaitNext
struct TCBwaitPrev
void * pnode
U32 delayTick
struct TCBTCBnext
struct TCBTCBprev

Detailed Description

Task control blcok.

This struct use to manage task.

Definition at line 39 of file OsTask.h.


Field Documentation

U32 delayTick

The number of ticks which delay.

Definition at line 79 of file OsTask.h.

OS_EventID eventID

Event ID.

Definition at line 51 of file OsTask.h.

OS_MutexID mutexID

Mutex ID.

Definition at line 47 of file OsTask.h.

void* pmail

Mail to task.

Definition at line 63 of file OsTask.h.

void* pnode

Pointer to node of event flag.

Definition at line 75 of file OsTask.h.

U8 prio

Task priority.

Definition at line 42 of file OsTask.h.

OS_STK* stack

The top point of task.

Definition at line 59 of file OsTask.h.

U8 state

TaSk status.

Definition at line 43 of file OsTask.h.

OS_STK* stkPtr

The current point of task.

Definition at line 41 of file OsTask.h.

OS_TID taskID

Task ID.

Definition at line 44 of file OsTask.h.

struct TCB* TCBnext

The pointer to next TCB.

Definition at line 81 of file OsTask.h.

struct TCB* TCBprev

The pointer to prev TCB.

Definition at line 82 of file OsTask.h.

U16 timeSlice

Task time slice

Definition at line 55 of file OsTask.h.

struct TCB* waitNext

Point to next TCB in the Event waitting list.

Definition at line 64 of file OsTask.h.

struct TCB* waitPrev

Point to prev TCB in the Event waitting list.

Definition at line 65 of file OsTask.h.