summaryrefslogtreecommitdiff
path: root/AT91SAM7S256/Source/d_button.c
diff options
context:
space:
mode:
Diffstat (limited to 'AT91SAM7S256/Source/d_button.c')
-rw-r--r--AT91SAM7S256/Source/d_button.c36
1 files changed, 36 insertions, 0 deletions
diff --git a/AT91SAM7S256/Source/d_button.c b/AT91SAM7S256/Source/d_button.c
new file mode 100644
index 0000000..a74c166
--- /dev/null
+++ b/AT91SAM7S256/Source/d_button.c
@@ -0,0 +1,36 @@
+//
+// Date init 14.12.2004
+//
+// Revision date $Date:: 16-05-06 9:58 $
+//
+// Filename $Workfile:: d_button.c $
+//
+// Version $Revision:: 4 $
+//
+// Archive $Archive:: /LMS2006/Sys01/Main/Firmware/Source/d_button.c $
+//
+// Platform C
+//
+
+#include "stdconst.h"
+#include "m_sched.h"
+#include "d_button.h"
+#include "d_button.r"
+
+static UBYTE TimeTick;
+
+void dButtonInit(UBYTE Prescaler)
+{
+ TimeTick = Prescaler;
+ BUTTONInit;
+}
+
+void dButtonRead(UBYTE *pButton)
+{
+ BUTTONRead(pButton);
+}
+
+void dButtonExit(void)
+{
+ BUTTONExit;
+}