00001 00003 #include "t89c51cc02.h" 00004 #include "datatypes.h" 00005 00007 #define TIMER_RELOAD_H 0xFA 00008 00009 #define TIMER_RELOAD_L 0xCB 00010 00016 #define TIMER_MILLISECONDS 62 00017 00018 extern volatile bit measurement_task; 00019 00020 void Timer_init(void); 00021 void Timer_interrupt(void) interrupt 1 using 2; 00022