Lab3

timer.h

00001 #ifndef __TIMER_H
00002 #define __TIMER_H
00003 
00017 int timer_set_square(unsigned long timer, unsigned long freq);
00018 
00024 int timer_subscribe_int(void );
00025 
00031 int timer_unsubscribe_int();
00032 
00038 void timer_int_handler();
00039 
00040 
00049 int timer_test_square(unsigned long freq);
00050 
00060 int timer_test_int(unsigned long time);
00061 
00062 
00063 
00064 #endif /* __TIMER_H */