summaryrefslogtreecommitdiff
path: root/Common.c
diff options
context:
space:
mode:
Diffstat (limited to 'Common.c')
-rw-r--r--Common.c41
1 files changed, 41 insertions, 0 deletions
diff --git a/Common.c b/Common.c
new file mode 100644
index 0000000..3c14262
--- /dev/null
+++ b/Common.c
@@ -0,0 +1,41 @@
+//////////////////////////////////////////////////////////////////////////////
+//
+// Filename: Common.c
+// Version:
+// Data:
+//
+// Author: Liu, Zemin
+// Company: JYE Tech
+//
+//-----------------------------------------------------------------------------
+//
+// Target: STM32F103C8
+// Tool chain: CodeSourcery G++
+//
+//
+//-----------------------------------------------------------------------------
+// Required files:
+//
+//-----------------------------------------------------------------------------
+// Notes:
+//
+//
+//-----------------------------------------------------------------------------
+// Revision History:
+//
+///////////////////////////////////////////////////////////////////////////////
+//
+//-----------------------------------------------------------------------------
+// Includes
+//-----------------------------------------------------------------------------
+
+#include "Common.h"
+
+void Delay(volatile U16 count)
+{
+ while(count) {
+ count--;
+ }
+}
+
+