?? spec__rew_8c-source.html
字號:
<!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>VLSI Solution Oy Evaluation MP3 Player Source Code Documentation</title><link href="doxygen.css" rel="stylesheet" type="text/css"><img src="vlsi_small.gif" hspace="20" bordercolor="#ffffff" alt="VLSI Solution Oy"><b>VLSI Solution Oy Evaluation MP3 Player Source Code Documentation</b><p></p></head><body><!-- Generated by Doxygen 1.3.7 --><div class="qindex"><a class="qindex" href="index.html">Main Page</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Class Members</a> | <a class="qindex" href="globals.html">File Members</a> | <a class="qindex" href="pages.html">Related Pages</a></div><h1>spec_rew.c</h1><a href="spec__rew_8c.html">Go to the documentation of this file.</a><pre class="fragment"><div>00001 00002 <span class="comment">/* User application code loading tables for VS10xx */</span>00003 00004 <span class="comment">/* PATCH 1: */</span>00005 <span class="comment">/* VS1003B spectrum analyzer */</span>00006 00007 <span class="comment">/* PATCH 2: */</span>00008 <span class="comment">/* VS1003B WMA resync/rewind IRAM 0x300..0x45b */</span>00009 <span class="comment">/* 1) when you want to interrupt data transfer, write SYNC_START (0x1234) to */</span>00010 <span class="comment">/* SCI_AICTRL2 */</span>00011 <span class="comment">/* 2) continue sending the data until SCI_AICTRL2 becomes SYNC_ACK (0x2345) */</span>00012 <span class="comment">/* 3) start sending data from new file offset, write the skip */</span>00013 <span class="comment">/* size in bytes to SCI_AICTRL1 (negative for seeks backward) */</span>00014 <span class="comment">/* 4) SCI_AICTRL1 becomes 0 when the seek size has been handled */</span>00015 00016 00017 <span class="preprocessor">#if 0</span>00018 <span class="preprocessor"></span><span class="keywordtype">void</span> LoadUserCode(<span class="keywordtype">void</span>) {00019 <span class="keywordtype">int</span> i;00020 <span class="keywordflow">for</span> (i=0;i<CODE_SIZE;i++) {00021 WriteVS10xxRegister(atab[i], dtab[i]);00022 }00023 }00024 <span class="preprocessor">#endif</span>00025 <span class="preprocessor"></span><a name="l00026"></a><a class="code" href="spec__rew_8c.html#a0">00026</a> <span class="preprocessor">#define CODELEN 967+994</span><a name="l00027"></a><a class="code" href="spec__rew_8c.html#a1">00027</a> <span class="preprocessor"></span><span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <a class="code" href="loud__sa_8c.html#a1">atab</a>[<a class="code" href="loud__sa_8c.html#a0">CODELEN</a>] = { <span class="comment">/* Register addresses */</span>00028 7, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6,00029 6, 6, 6, 6, 6, 6, 6, 6, 6, 7, 6, 6, 6, 6, 6, 6,00030 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6,00031 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6,00032 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6,00033 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6,00034 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6,00035 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6,00036 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6,00037 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6,00038 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6,00039 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6,00040 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6,00041 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6,00042 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 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, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6,00149 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6,00150 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6,00151 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6,00152 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6,00153 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 7,00154 6, 600155 00156 00157 00158 00159 00160 };<a name="l00161"></a><a class="code" href="spec__rew_8c.html#a2">00161</a> <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> <a class="code" href="loud__sa_8c.html#a2">dtab</a>[<a class="code" href="loud__sa_8c.html#a0">CODELEN</a>] = { <span class="comment">/* Data to write */</span>00162 0x8050, 0x3613, 0x0024, 0x3e00, 0x3801, 0x0000, 0x16d7, 0xf400,00163 0x55c0, 0x0000, 0x0a17, 0xf400, 0x57c0, 0x0006, 0x5017, 0xb080,00164 0x0024, 0x3f00, 0x0024, 0x2000, 0x0000, 0x36f0, 0x1801, 0x2800,00165 0x31c0, 0x805c, 0x3e12, 0xb817, 0x3e12, 0x3815, 0x3e05, 0xb814,00166 0x3615, 0x0024, 0x0000, 0x800a, 0x3e10, 0x3801, 0x0006, 0x0000,00167 0x3e10, 0xb803, 0x0000, 0x0303, 0x3e11, 0x3805, 0x3e11, 0xb807,00168 0x3e14, 0x3812, 0xb884, 0x130c, 0x3410, 0x4024, 0x4112, 0x10d0,00169 0x4010, 0x008c, 0x4010, 0x0024, 0xf400, 0x4012, 0x3000, 0x3840,00170 0x3009, 0x3801, 0x0000, 0x0041, 0xfe02, 0x0024, 0x2900, 0x8740,00171 0x48b2, 0x0024, 0x36f3, 0x0844, 0x6306, 0x8845, 0xae3a, 0x8840,00172 0xbf8e, 0x8b41, 0xac32, 0xa846, 0xffc8, 0xabc7, 0x3e01, 0x7800,00173 0xf400, 0x4480, 0x6090, 0x0024, 0x6090, 0x0024, 0xf400, 0x4015,00174 0x3009, 0x3446, 0x3009, 0x37c7, 0x3009, 0x1800, 0x3009, 0x3844,00175 0x48b3, 0xe1e0, 0x4882, 0x4040, 0xfeca, 0x0024, 0x5ac2, 0x0024,00176 0x5a52, 0x0024, 0x4cc2, 0x0024, 0x48ba, 0x4040, 0x4eea, 0x4801,00177 0x4eca, 0x9800, 0xff80, 0x1bc1, 0xf1eb, 0xe3e2, 0xf1ea, 0x184c,00178 0x4c8b, 0xe5e4, 0x48be, 0x9804, 0x488e, 0x41c6, 0xfe82, 0x0024,00179 0x5a8e, 0x0024, 0x525e, 0x1b85, 0x4ffe, 0x0024, 0x48b6, 0x41c6,00180 0x4dd6, 0x48c7, 0x4df6, 0x0024, 0xf1d6, 0x0024, 0xf1d6, 0x0024,00181 0x4eda, 0x0024, 0x0000, 0x0fc3, 0x2900, 0x8740, 0x4e82, 0x0024,00182 0x4084, 0x130c, 0x0006, 0x0100, 0x3440, 0x4024, 0x4010, 0x0024,00183 0xf400, 0x4012, 0x3200, 0x4024, 0xb132, 0x0024, 0x4214, 0x0024,00184 0xf224, 0x0024, 0x6230, 0x0024, 0x0001, 0x0001, 0x2800, 0x2b49,00185 0x0000, 0x0024, 0xf400, 0x40c2, 0x3200, 0x0024, 0xff82, 0x0024,00186 0x48b2, 0x0024, 0xb130, 0x0024, 0x6202, 0x0024, 0x003f, 0xf001,00187 0x2800, 0x2e51, 0x0000, 0x1046, 0xfe64, 0x0024, 0x48be, 0x0024,00188 0x2800, 0x2f40, 0x3a01, 0x8024, 0x3200, 0x0024, 0xb010, 0x0024,00189 0xc020, 0x0024, 0x3a00, 0x0024, 0x36f4, 0x1812, 0x36f1, 0x9807,00190 0x36f1, 0x1805, 0x36f0, 0x9803, 0x36f0, 0x1801, 0x3405, 0x9014,00191 0x36f3, 0x0024, 0x36f2, 0x1815, 0x2000, 0x0000, 0x36f2, 0x9817,00192 0x80c7, 0x3e12, 0xb817, 0x3e12, 0x3815, 0x3e05, 0xb814, 0x3625,00193 0x0024, 0x0000, 0x800a, 0x3e10, 0x7802, 0x3e10, 0xf804, 0x3e11,00194 0x7806, 0x3e14, 0x3811, 0x0006, 0x0051, 0x0006, 0x06d0, 0x3e14,00195 0xf80d, 0x3e13, 0xf80e, 0x3009, 0x3840, 0x2919, 0x64c0, 0x3009,00196 0x3852, 0x3100, 0x5bd2, 0x0006, 0x55d1, 0x3009, 0x1800, 0x3009,00197 0x0402, 0x6126, 0x0024, 0x0006, 0x0011, 0x2800, 0x4fc5, 0xb882,00198 0x0024, 0x3009, 0x3850, 0x0006, 0x0010, 0x3009, 0x3800, 0x291d,00199 0x5800, 0x0000, 0x1800, 0x0006, 0x0010, 0xb882, 0x0024, 0x291d,00200 0x5b00, 0x0000, 0x1700, 0x0000, 0x0301, 0x3900, 0x5bc0, 0x0006,00201 0x55d1, 0x3009, 0x1bd0, 0x3009, 0x0404, 0x0006, 0x0051, 0x2800,00202 0x3cc0, 0x3901, 0x0024, 0x4448, 0x0401, 0x4192, 0x0024, 0x6498,00203 0x2401, 0x001f, 0x4001, 0x6412, 0x0024, 0x0006, 0x0011, 0x2800,00204 0x3c11, 0x0000, 0x058e, 0x2400, 0x4f0e, 0x0000, 0x0013, 0x0006,00205 0x0051, 0x0006, 0x1a03, 0x3100, 0x4024, 0xf212, 0x44c4, 0x4346,00206 0x0024, 0xf400, 0x40d5, 0x3500, 0x8024, 0x612a, 0x0024, 0x0000,00207 0x0024, 0x2800, 0x4f51, 0x0000, 0x0024, 0x3613, 0x0024, 0x292e,
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -