heartbeat.h

00001 /*
00002   @file heartbeat.h
00003   
00004   @author Nicolas Williamson
00005   @see heartbeat.c
00006 */
00007 
00008 #ifndef  TASK_HEARTBEAT_H
00009 #define  TASK_HEARTBEAT_H
00010   
00011 /* Public Functions */
00012 //intitializes the heartbeat with the given period in units of schedule periods
00013 void hb_init(int period, VOID_VOID_F func, INT_VOID_F get_time);
00014 //called every schedule period
00015 //put into every row of the schedule
00016 void hb_beat(void);
00017 int hb_get_count(void);
00018 static void hb_update(int count);
00019 
00020 #endif// TASK_HEARTBEAT_H
00021 
Generated on Tue Jun 29 16:36:14 2010 by  doxygen 1.6.3