Eric Ebert
/
CoOS
CoOS Demonstrator adapted to mbed Hardware.
OsCore.h@0:57690853989a, 2010-12-03 (annotated)
- Committer:
- ericebert
- Date:
- Fri Dec 03 19:45:30 2010 +0000
- Revision:
- 0:57690853989a
Some basic LED-Flashing works in the CoOS-RTOS using Tasks
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
ericebert | 0:57690853989a | 1 | /** |
ericebert | 0:57690853989a | 2 | ******************************************************************************* |
ericebert | 0:57690853989a | 3 | * @file OsCore.h |
ericebert | 0:57690853989a | 4 | * @version V1.1.3 |
ericebert | 0:57690853989a | 5 | * @date 2010.04.26 |
ericebert | 0:57690853989a | 6 | * @brief Header file related to kernel |
ericebert | 0:57690853989a | 7 | ******************************************************************************* |
ericebert | 0:57690853989a | 8 | * @copy |
ericebert | 0:57690853989a | 9 | * |
ericebert | 0:57690853989a | 10 | * INTERNAL FILE,DON'T PUBLIC. |
ericebert | 0:57690853989a | 11 | * |
ericebert | 0:57690853989a | 12 | * <h2><center>© COPYRIGHT 2009 CooCox </center></h2> |
ericebert | 0:57690853989a | 13 | ******************************************************************************* |
ericebert | 0:57690853989a | 14 | */ |
ericebert | 0:57690853989a | 15 | |
ericebert | 0:57690853989a | 16 | |
ericebert | 0:57690853989a | 17 | #ifndef _CORE_H |
ericebert | 0:57690853989a | 18 | #define _CORE_H |
ericebert | 0:57690853989a | 19 | |
ericebert | 0:57690853989a | 20 | #include <CoOS.h> |
ericebert | 0:57690853989a | 21 | |
ericebert | 0:57690853989a | 22 | |
ericebert | 0:57690853989a | 23 | #define OsSchedLock() OSSchedLock++; /*!< Lock schedule */ |
ericebert | 0:57690853989a | 24 | extern void OsSchedUnlock(void); |
ericebert | 0:57690853989a | 25 | |
ericebert | 0:57690853989a | 26 | #endif |
ericebert | 0:57690853989a | 27 |