diff -r f45fd4cd3832 -r 34654679f262 doc/doxygen/html/timer_8h-source.html --- a/doc/doxygen/html/timer_8h-source.html Fri Jul 06 10:53:15 2007 +0200 +++ b/doc/doxygen/html/timer_8h-source.html Mon Jul 16 08:56:03 2007 +0200 @@ -18,7 +18,7 @@
00001 /* 00002 This file is part of CanFestival, a library implementing CanOpen Stack. 00003 @@ -47,7 +47,7 @@ 00026 #include <timerscfg.h> 00027 #include <applicfg.h> 00028 -00029 #define TIMER_HANDLE INTEGER16 +00029 #define TIMER_HANDLE INTEGER16 00030 00031 #include "data.h" 00032 @@ -59,31 +59,31 @@ 00038 00039 #define TIMER_NONE -1 00040 -00041 typedef void (*TimerCallback_t)(CO_Data* d, UNS32 id); +00041 typedef void (*TimerCallback_t)(CO_Data* d, UNS32 id); 00042 00043 struct struct_s_timer_entry { -00044 UNS8 state; -00045 CO_Data* d; -00046 TimerCallback_t callback; /* The callback func. */ -00047 UNS32 id; /* The callback func. */ -00048 TIMEVAL val; -00049 TIMEVAL interval; /* Periodicity */ +00044 UNS8 state; +00045 CO_Data* d; +00046 TimerCallback_t callback; /* The callback func. */ +00047 UNS32 id; /* The callback func. */ +00048 TIMEVAL val; +00049 TIMEVAL interval; /* Periodicity */ 00050 }; 00051 -00052 typedef struct struct_s_timer_entry s_timer_entry; +00052 typedef struct struct_s_timer_entry s_timer_entry; 00053 00054 /* --------- prototypes --------- */ 00055 /*#define SetAlarm(d, id, callback, value, period) printf("%s, %d, SetAlarm(%s, %s, %s, %s, %s)\n",__FILE__, __LINE__, #d, #id, #callback, #value, #period); _SetAlarm(d, id, callback, value, period)*/ -00056 TIMER_HANDLE SetAlarm(CO_Data* d, UNS32 id, TimerCallback_t callback, TIMEVAL value, TIMEVAL period); -00057 TIMER_HANDLE DelAlarm(TIMER_HANDLE handle); -00058 void TimeDispatch(void); +00056 TIMER_HANDLE SetAlarm(CO_Data* d, UNS32 id, TimerCallback_t callback, TIMEVAL value, TIMEVAL period); +00057 TIMER_HANDLE DelAlarm(TIMER_HANDLE handle); +00058 void TimeDispatch(void); 00059 00060 /* --------- to be defined in user app ---------*/ -00061 void setTimer(TIMEVAL value); -00062 TIMEVAL getElapsedTime(void); +00061 void setTimer(TIMEVAL value); +00062 TIMEVAL getElapsedTime(void); 00063 00064 #endif /* #define __timer_h__ */ -