Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
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.3
- Date:
- 2010.04.26
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 15:09:52 by
1.7.2