![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Pont Architecture Time Triggered OS
Diff: OS.h
- Revision:
- 0:823a9a4db739
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/OS.h Thu Oct 27 22:01:30 2011 +0000 @@ -0,0 +1,15 @@ +#ifndef OS_H_GUARD +#define OS_H_GUARD +#include "mbed.h" +typedef struct { + void(*fP)(void); + int Delay; + int Period; + int RunMe; +}pTask; //The Task List array structure + +void SCHUpdate(); +void SCHDispatch(); +int SCHRemoveTask(int i); +int SCHAddTask(void(*fP)(void), int P, int D); +#endif \ No newline at end of file