CooCox 1.1.4 on mbed with simple blinky example
OsTask.h File Reference
Header file related to task. More...
Go to the source code of this file.
Data Structures | |
struct | TCB |
Task control blcok. More... | |
Functions | |
void | Schedule (void) |
Schedule function. | |
void | IdleTask (void *pdata) |
void | InsertToTCBRdyList (P_OSTCB tcbInser) |
Insert a task to the ready list. | |
void | RemoveFromTCBRdyList (P_OSTCB ptcb) |
Remove a task from the READY list. | |
void | CreateTCBList (void) |
Create a TCB list. | |
void | ActiveTaskPri (U8 pri) |
Active priority in queue. | |
void | DeleteTaskPri (U8 pri) |
Delete priority in queue. | |
Variables | |
P_OSTCB | FreeTCB |
OSTCB | TCBTbl [CFG_MAX_USER_TASKS+SYS_TASK_NUM] |
P_OSTCB | TCBRdy |
P_OSTCB | TCBNext |
P_OSTCB | TCBRunning |
U64 | OSCheckTime |
volatile U8 | OSIntNesting |
volatile U8 | OSSchedLock |
Detailed Description
Header file related to task.
- Version:
- V1.1.4
- Date:
- 2011.04.20
This file including some defines and function declare related to task.
INTERNAL FILE,DON'T PUBLIC.
© COPYRIGHT 2009 CooCox
Definition in file OsTask.h.
Function Documentation
void ActiveTaskPri | ( | U8 | pri ) |
Active priority in queue.
- Parameters:
-
[in] pri Task priority [in] None [out] None
- Return values:
-
None
- Description
This function is called in Binary-Scheduling Algorithm to active priority in queue, if this priority had been in activation, increate the task num for this priority.
void CreateTCBList | ( | void | ) |
void DeleteTaskPri | ( | U8 | pri ) |
void IdleTask | ( | void * | pdata ) |
IDLE task code
void InsertToTCBRdyList | ( | P_OSTCB | tcbInsert ) |
void RemoveFromTCBRdyList | ( | P_OSTCB | ptcb ) |
void Schedule | ( | void | ) |
Variable Documentation
U64 OSCheckTime |
volatile U8 OSIntNesting |
volatile U8 OSSchedLock |
Generated on Tue Jul 12 2022 18:19:10 by 1.7.2