projects
/
avr_bc100.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
4008-04-07 Release
[avr_bc100.git]
/
BaseMegaFirmware
/
GCC
/
timebase.h
diff --git a/BaseMegaFirmware/GCC/timebase.h
b/BaseMegaFirmware/GCC/timebase.h
new file mode 100644
(file)
index 0000000..
b5325eb
--- /dev/null
+++ b/
BaseMegaFirmware/GCC/timebase.h
@@ -0,0
+1,11
@@
+#ifndef TIMEBASE_H_
\r
+#define TIMEBASE_H_
\r
+
\r
+#include <stdint.h>
\r
+
\r
+#define TIMEBASE_DELTAT_MS 10 /* ms */
\r
+
\r
+void timebase_init(void);
\r
+uint16_t timebase_get_tick(void);
\r
+
\r
+#endif
\r