summaryrefslogtreecommitdiffstats
path: root/Graphic_Equalizer/include/smartmedia.hch
diff options
context:
space:
mode:
Diffstat (limited to 'Graphic_Equalizer/include/smartmedia.hch')
-rw-r--r--Graphic_Equalizer/include/smartmedia.hch46
1 files changed, 46 insertions, 0 deletions
diff --git a/Graphic_Equalizer/include/smartmedia.hch b/Graphic_Equalizer/include/smartmedia.hch
new file mode 100644
index 0000000..e44e435
--- /dev/null
+++ b/Graphic_Equalizer/include/smartmedia.hch
@@ -0,0 +1,46 @@
+/*! \file smartmedia.hch
+ *
+ * \section generic SmartMedia API
+ *
+ * \section project Project information.
+ * Project Graphic Equalizer\n
+ * \author O.M. Schinagl
+ * \date 20041110
+ * \version 0.1
+ *
+ * \section copyright Copyright
+ * Copyright ©2004 Koninklijke Philips Electronics N.V. All rights reserved
+ *
+ * \section history Change history
+ * 20041110: O.M. Schinagl\n Initial version
+ *
+ ********************************************************************/
+
+#ifndef _SMARTMEDIA_HCH
+#define _SMARTMEDIA_HCH 1
+
+
+
+/*
+ * Create a define to keep API generic
+ */
+#define CPLDRun(ClockRate) RC200CPLDRun(ClockRate)
+#define SmartMediaRun(ClockRate) RC200SmartMediaRun(ClockRate)
+
+
+
+/*
+ * Initializes the smartmedia device.
+ */
+void smartmedia_init(void);
+
+
+/*
+ * This function loads the memory with data from the smartmedia card.
+ */
+void smartmedia_loaddata(void);
+
+#else
+#error "ERROR file smartmedia.hch multiple times included"
+#endif /* --- _SMARTMEDIA_HCH --- */
+