00001 /* ************************************************************************************************ 00002 * 00003 * Copyright (C) 2008-2009 00004 * Martin Kornfeld (alias: el07b502), Email: el07b502@technikum-wien.at 00005 * 00006 * ************************************************************************************************ 00007 * 00008 * SVN Status Information: 00009 * 00010 * $Rev:: 108 $: Rivision of last commit 00011 * $Author:: el08b004 $: Author of last commit 00012 * $Date:: 2009-01-11 17:14:24 #$: Date of last commit 00013 * 00014 * ************************************************************************************************ 00015 * 00016 * The following part is important for the Doxygen Documentation: 00017 */ 00024 /* ************************************************************************************************ */ 00025 00026 #ifndef TIMER_H 00027 #define TIMER_H 00028 00029 #include "sysconfig.h" 00030 00031 #ifdef USE_TIMER 00032 /* The Timeout function*/ 00033 int timeout (float value, char *what, void (*func)(void)); 00034 00035 /* This function is to toggle a led (it calls led_toggle_device, which is device specific) */ 00036 void led_toggle (void); 00037 00038 /* Timer Interrupt function, it is called when interrupted from Timer */ 00039 void timer_interrupt (void); 00040 00041 /* Extern value identifier arrays */ 00042 extern float sec_array [2]; 00043 extern float ms_array [6]; 00044 extern int sec_init_array [2]; 00045 extern int ms_init_array [6]; 00046 #endif 00047 00048 #endif
1.5.8