summaryrefslogtreecommitdiffstats
path: root/Graphic_Equalizer_v1.0/doc/html/smartmedia_8hch-source.html
blob: 112cdc0870de85a7681f7ee80ae51757d197dfe6 (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
63
64
65
<!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 2: 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="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</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>
<a name="l00020"></a><a class="code" href="smartmedia_8hch.html#a0">00020</a> <span class="preprocessor"></span><span class="preprocessor">#define _SMARTMEDIA_HCH 1</span>
00021 <span class="preprocessor"></span>
00022 
00023 
00024 <span class="comment">/*</span>
00025 <span class="comment"> * SmartMedia functioncalls a bit to be set to either Read or Write. This</span>
00026 <span class="comment"> * define should make life easier identifying which one is what.</span>
00027 <span class="comment"> */</span>
<a name="l00028"></a><a class="code" href="smartmedia_8hch.html#a1">00028</a> <span class="preprocessor">#define READ 0</span>
<a name="l00029"></a><a class="code" href="smartmedia_8hch.html#a2">00029</a> <span class="preprocessor"></span><span class="preprocessor">#define WRITE 1</span>
00030 <span class="preprocessor"></span>
00031 
00032 
00033 <span class="comment">/*</span>
00034 <span class="comment"> * The different stages the smart media loaders knows.</span>
00035 <span class="comment"> */</span>
<a name="l00036"></a><a class="code" href="smartmedia_8hch.html#a3">00036</a> <span class="preprocessor">#define STAGE_LOAD_SKIN         0x00</span>
<a name="l00037"></a><a class="code" href="smartmedia_8hch.html#a4">00037</a> <span class="preprocessor"></span><span class="preprocessor">#define STAGE_LOAD_HELP         0x01</span>
<a name="l00038"></a><a class="code" href="smartmedia_8hch.html#a5">00038</a> <span class="preprocessor"></span><span class="preprocessor">#define STAGE_LOAD_GRAPH        0x02</span>
<a name="l00039"></a><a class="code" href="smartmedia_8hch.html#a6">00039</a> <span class="preprocessor"></span><span class="preprocessor">#define STAGE_LOAD_PRESET       0x03</span>
00040 <span class="preprocessor"></span>
00041 
00042 
00043 <span class="comment">/*</span>
00044 <span class="comment"> * Create a define to keep API generic</span>
00045 <span class="comment"> * FIXME: replace with PAL calls when avaiable.</span>
00046 <span class="comment"> */</span>
<a name="l00047"></a><a class="code" href="smartmedia_8hch.html#a7">00047</a> <span class="preprocessor">#define CPLDRun(ClockRate) RC200CPLDRun(ClockRate)</span>
<a name="l00048"></a><a class="code" href="smartmedia_8hch.html#a8">00048</a> <span class="preprocessor"></span><span class="preprocessor">#define SmartMediaRun(ClockRate) RC200SmartMediaRun(ClockRate)</span>
00049 <span class="preprocessor"></span>
00050 
00051 
00052 <span class="comment">/*</span>
00053 <span class="comment"> * Initializes the smartmedia device.</span>
00054 <span class="comment"> */</span>
00055 
00056 <span class="keywordtype">unsigned</span> 1 <a class="code" href="smartmedia_8hch.html#a9">smartmedia_init</a>(<span class="keywordtype">void</span>);
00057 
00058 
00059 
00060 <span class="comment">/*</span>
00061 <span class="comment"> * This function loads the memory with data from the smartmedia card.</span>
00062 <span class="comment"> */</span>
00063 <span class="keywordtype">void</span> <a class="code" href="smartmedia_8hcc.html#a1">smartmedia_loaddata</a>(<a class="code" href="structskindata__t.html">skindata_t</a> *skindata);
00064 
00065 <span class="preprocessor">#else</span>
00066 <span class="preprocessor"></span><span class="preprocessor">#error "ERROR file smartmedia.hch multiple times included"</span>
00067 <span class="preprocessor"></span><span class="preprocessor">#endif </span><span class="comment">/* --- _SMARTMEDIA_HCH --- */</span>
00068 
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Thu Dec 9 14:37:06 2004 for Graphic Equalizer 2 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>