NXShield
v1.07
NXShield Library Reference by OpenElectrons.com
Main Page
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
Enumerations
Enumerator
Macros
Pages
MsTimer2.h
1
#if defined(__AVR__)
2
#ifndef MsTimer2_h
3
#define MsTimer2_h
4
5
#include <avr/interrupt.h>
6
7
namespace
MsTimer2 {
8
extern
unsigned
long
msecs;
9
extern
void (*func)();
10
extern
volatile
unsigned
long
count;
11
extern
volatile
char
overflowing;
12
extern
volatile
unsigned
int
tcnt2;
13
14
void
set(
unsigned
long
ms,
void
(*f)());
15
void
start();
16
void
stop();
17
void
_overflow();
18
}
19
20
#endif
21
#endif
MsTimer2.h
Generated on Mon Mar 17 2014 14:20:55 for NXShield by
1.8.5