CoOS Demonstrator adapted to mbed Hardware.

Dependencies:   mbed

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?

UserRevisionLine numberNew contents of line
ericebert 0:57690853989a 1 /**
ericebert 0:57690853989a 2 *******************************************************************************
ericebert 0:57690853989a 3 * @file OsTime.c
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 time management
ericebert 0:57690853989a 7 * @details Thie file including some data declare related to time managment.
ericebert 0:57690853989a 8 *******************************************************************************
ericebert 0:57690853989a 9 * @copy
ericebert 0:57690853989a 10 *
ericebert 0:57690853989a 11 * INTERNAL FILE,DON'T PUBLIC.
ericebert 0:57690853989a 12 *
ericebert 0:57690853989a 13 * <h2><center>&copy; COPYRIGHT 2009 CooCox </center></h2>
ericebert 0:57690853989a 14 *******************************************************************************
ericebert 0:57690853989a 15 */
ericebert 0:57690853989a 16
ericebert 0:57690853989a 17 #ifndef _TIME_H
ericebert 0:57690853989a 18 #define _TIME_H
ericebert 0:57690853989a 19
ericebert 0:57690853989a 20 /*---------------------------- Variable declare ------------------------------*/
ericebert 0:57690853989a 21 extern P_OSTCB DlyList; /*!< A pointer to ther delay list. */
ericebert 0:57690853989a 22
ericebert 0:57690853989a 23 /*---------------------------- Function declare ------------------------------*/
ericebert 0:57690853989a 24 extern void TimeDispose(void); /*!< Time dispose function. */
ericebert 0:57690853989a 25 extern void isr_TimeDispose(void);
ericebert 0:57690853989a 26 extern void RemoveDelayList(P_OSTCB ptcb);
ericebert 0:57690853989a 27 extern void InsertDelayList(P_OSTCB ptcb,U32 ticks);
ericebert 0:57690853989a 28 #endif