summaryrefslogtreecommitdiffstats
path: root/Graphic_Equalizer/doc/html/smartmedia_8hch-source.html
blob: 712530e56eacd3e732bf8ce9646e106fd9f698b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>Graphic Equalizer: C:/Project  Marcel &amp; Oliver/Graphic_Equalizer/include/smartmedia.hch Source File</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3.9.1 -->
<div class="qindex"><a class="qindex" href="main.html">Main&nbsp;Page</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="globals.html">Globals</a></div>
<div class="nav">
<a class="el" href="dir_000000.html">C:</a>&nbsp;/&nbsp;<a class="el" href="dir_000001.html">Project  Marcel &amp; Oliver</a>&nbsp;/&nbsp;<a class="el" href="dir_000002.html">Graphic_Equalizer</a>&nbsp;/&nbsp;<a class="el" href="dir_000003.html">include</a></div>
<h1>smartmedia.hch</h1><a href="smartmedia_8hch.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment">00001 
00019 <span class="preprocessor">#ifndef _SMARTMEDIA_HCH</span>
00020 <span class="preprocessor"></span><span class="preprocessor">#define _SMARTMEDIA_HCH 1</span>
00021 <span class="preprocessor"></span>
00022 <span class="comment">/*</span>
00023 <span class="comment"> * SmartMedia functioncalls a bit to be set to either Read or Write. This</span>
00024 <span class="comment"> * define should make life easier identifying which one is what.</span>
00025 <span class="comment"> */</span>
00026 <span class="preprocessor">#define READ 0</span>
00027 <span class="preprocessor"></span><span class="preprocessor">#define WRITE 1</span>
00028 <span class="preprocessor"></span>
00029 
00030 
00031 <span class="comment">/*</span>
00032 <span class="comment"> * The different stages the smart media loaders knows.</span>
00033 <span class="comment"> */</span>
00034 <span class="preprocessor">#define STAGE_LOAD_SKIN         0x00</span>
00035 <span class="preprocessor"></span><span class="preprocessor">#define STAGE_LOAD_HELP         0x01</span>
00036 <span class="preprocessor"></span><span class="preprocessor">#define STAGE_LOAD_GRAPH        0x02</span>
00037 <span class="preprocessor"></span><span class="preprocessor">#define STAGE_LOAD_PRESET       0x03</span>
00038 <span class="preprocessor"></span>
00039 
00040 <span class="comment">/*</span>
00041 <span class="comment"> * Create a define to keep API generic</span>
00042 <span class="comment"> * FIXME: replace with PAL calls when avaiable.</span>
00043 <span class="comment"> */</span>
00044 <span class="preprocessor">#define CPLDRun(ClockRate) RC200CPLDRun(ClockRate)</span>
00045 <span class="preprocessor"></span><span class="preprocessor">#define SmartMediaRun(ClockRate) RC200SmartMediaRun(ClockRate)</span>
00046 <span class="preprocessor"></span>
00047 
00048 
00049 <span class="comment">/*</span>
00050 <span class="comment"> * Initializes the smartmedia device.</span>
00051 <span class="comment"> */</span>
00052 
00053 <span class="keywordtype">unsigned</span> 1 <a class="code" href="smartmedia_8hch.html#a9">smartmedia_init</a>(<span class="keywordtype">void</span>);
00054 
00055 
00056 
00057 <span class="comment">/*</span>
00058 <span class="comment"> * This function loads the memory with data from the smartmedia card.</span>
00059 <span class="comment"> */</span>
00060 <span class="keywordtype">void</span> <a class="code" href="smartmedia_8hcc.html#a1">smartmedia_loaddata</a>(skindata_t *skindata);
00061 
00062 <span class="preprocessor">#else</span>
00063 <span class="preprocessor"></span><span class="preprocessor">#error "ERROR file smartmedia.hch multiple times included"</span>
00064 <span class="preprocessor"></span><span class="preprocessor">#endif </span><span class="comment">/* --- _SMARTMEDIA_HCH --- */</span>
00065 
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Mon Nov 29 12:04:47 2004 for Graphic Equalizer by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.3.9.1 </small></address>
</body>
</html>