00001 #ifndef _mytime_ 00002 #define _mytime_ 00003 00004 #define NR_TIMER 10 00005 // timer 0 is for local use 00006 // wheel encoder use timer 1 00007 00008 00009 long double Get_mtime_diff(int timer_number); 00010 unsigned long GetCurrentTimeInMilliSec(void); 00011 void mydelay (unsigned long msec); 00012 00013 00014 00015 #endif