summaryrefslogtreecommitdiff
path: root/AT91SAM7S256/Source/d_timer.c
diff options
context:
space:
mode:
authorNicolas Schodet2009-10-18 23:32:54 +0200
committerNicolas Schodet2010-08-19 23:23:56 +0200
commitba78bd9ba834260d035a9830726afc34fdad2a15 (patch)
tree01f85348fef84daea81f012b57d8ba5b602d5726 /AT91SAM7S256/Source/d_timer.c
import firmware from LEGO v1.05lego-1.05
Diffstat (limited to 'AT91SAM7S256/Source/d_timer.c')
-rw-r--r--AT91SAM7S256/Source/d_timer.c42
1 files changed, 42 insertions, 0 deletions
diff --git a/AT91SAM7S256/Source/d_timer.c b/AT91SAM7S256/Source/d_timer.c
new file mode 100644
index 0000000..7c38aed
--- /dev/null
+++ b/AT91SAM7S256/Source/d_timer.c
@@ -0,0 +1,42 @@
+//
+// Date init 14.12.2004
+//
+// Revision date $Date:: 16-05-06 10:18 $
+//
+// Filename $Workfile:: d_timer.c $
+//
+// Version $Revision:: 3 $
+//
+// Archive $Archive:: /LMS2006/Sys01/Main/Firmware/Source/d_timer.c $
+//
+// Platform C
+//
+
+
+#include "stdconst.h"
+#include "m_sched.h"
+#include "d_timer.h"
+#include "d_timer.r"
+
+
+void dTimerInit(void)
+{
+ TIMERInit;
+}
+
+
+ULONG dTimerRead(void)
+{
+ ULONG Tmp;
+
+ TIMERRead(Tmp);
+
+ return (Tmp);
+}
+
+
+void dTimerExit(void)
+{
+ TIMERExit;
+}
+