#ifndef _TIME_H_ #define _TIME_H_ #include "conf.h" #define TIMER1_MAX_VALUE 0xffff #define TIMER1_COMPA_VALUE (TIMER1_MAX_VALUE / F_CPU) extern volatile unsigned int _eigentime_ms; unsigned int get_eigentime(void); void time_init(void); #endif