00001 /* ************************************************************************************************ 00002 * 00003 * Copyright (C) 2008-2009 00004 * Martin Horauer (alias: horauer), Email: horauer@technikum-wien.at 00005 * Martin Kornfeld (alias: el07b502), Email: el07b502@technikum-wien.at 00006 * 00007 * ************************************************************************************************ 00008 * 00009 * SVN Status Information: 00010 * 00011 * $Rev:: 69 $: Rivision of last commit 00012 * $Author:: el07b502 $: Author of last commit 00013 * $Date:: 2008-12-04 21:21:54 #$: Date of last commit 00014 * 00015 * ************************************************************************************************ 00016 * 00017 * The following part is important for the Doxygen Documentation: 00018 */ 00024 /* ************************************************************************************************/ 00025 00026 #ifndef _my_delay_ 00027 #define _my_delay_ 00028 00029 /* Globals */ 00030 extern unsigned int gtime; 00031 extern int start_temp; 00032 extern void (*t_callback) (void); // global pointer to user defined function 00033 00034 /* Function to realise a delay */ 00035 int my_delay (unsigned int time, char *base); 00036 void my_timeout (void (*func)(void)); 00037 00038 #endif 00039 /* */
1.5.8