| EVShield v1.3 EVShield Library Reference by mindsensors.com

MsTimer2.h
1 #ifndef MsTimer2_h
2 #define MsTimer2_h
3
4 #if defined(__AVR__)
5 #include <avr/interrupt.h>
6 #endif
7
8 namespace MsTimer2 {
9 extern unsigned long msecs;
10 extern void (*func)();
11 extern volatile unsigned long count;
12 extern volatile char overflowing;
13 extern volatile unsigned int tcnt2;
14
15 void set(unsigned long ms, void (*f)());
16 void start();
17 void stop();
18 void _overflow();
19 void reset();
20 }
21
22 #endif
MsTimer2
Definition: MsTimer2.h:8