亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? mmc_8h.html

?? MP3播放器源代碼, VS1003B
?? HTML
?? 第 1 頁 / 共 3 頁
字號(hào):
<!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&nbsp;Page</a> | <a class="qindex" href="annotated.html">Class&nbsp;List</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Class&nbsp;Members</a> | <a class="qindex" href="globals.html">File&nbsp;Members</a> | <a class="qindex" href="pages.html">Related&nbsp;Pages</a></div><h1>mmc.h File Reference</h1>MMC interface routines for <a class="el" href="storage_8c.html">storage.c</a>.  <a href="#_details">More...</a><p><p>This graph shows which files directly or indirectly include this file:<p><center><img src="mmc_8h__dep__incl.png" border="0" usemap="#mmc.hdep_map" alt="Included by dependency graph"></center><map name="mmc.hdep_map"><area href="filesys_8c.html" shape="rect" coords="6,18,62,42" alt=""><area href="mmc_8c.html" shape="rect" coords="86,18,134,42" alt=""><area href="player_8c.html" shape="rect" coords="158,18,211,42" alt=""><area href="storage_8c.html" shape="rect" coords="235,18,297,42" alt=""></map><p><a href="mmc_8h-source.html">Go to the source code of this file.</a><table border=0 cellpadding=0 cellspacing=0><tr><td></td></tr><tr><td colspan=2><br><h2>Functions</h2></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>unsigned char&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="mmc_8h.html#a1">InitMMC</a> ()</td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Start-up the MMC card.  <a href="#a1"></a><br><br></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>unsigned char&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="mmc_8h.html#a2">SeekSector</a> (unsigned long sectorN)</td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Perform MMC Seek Command for offset sectorN*512.  <a href="#a2"></a><br><br></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>unsigned char&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="mmc_8h.html#a3">ReadPhysicalSector</a> ()</td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Perform block read of previously sought sector to diskSect.  <a href="#a3"></a><br><br></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>unsigned char&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="mmc_8h.html#a4">WritePhysicalSector</a> ()</td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Perform MMC block write from <b>*dataBufPtr</b> to sector sectorAddress.l.  <a href="#a4"></a><br><br></td></tr><tr><td colspan=2><br><h2>Variables</h2></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>xdata unsigned char&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="mmc_8h.html#a0">storageFlags</a></td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Storage status flags.  <a href="#a0"></a><br><br></td></tr></table><hr><a name="_details"></a><h2>Detailed Description</h2>MMC interface routines for <a class="el" href="storage_8c.html">storage.c</a>. <p><p>Definition in file <a class="el" href="mmc_8h-source.html">mmc.h</a>.<hr><h2>Function Documentation</h2><a class="anchor" name="a1" doxytag="mmc.h::InitMMC" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> unsigned char InitMMC           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="mdname1" valign="top" nowrap>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Start-up the MMC card. <p><ul><li>Returns 0 when successful and supports seek-before-read</li><li>Returns 0x0e when successful but no support for seek-before-read</li><li>Returns 1 when MMC card is not found</li><li>Returns 2 when MMC card seems to be present but can't be read from. </li></ul><p>Definition at line <a class="el" href="mmc_8c-source.html#l00246">246</a> of file <a class="el" href="mmc_8c-source.html">mmc.c</a>.<p>References <a class="el" href="buffer_8h-source.html#l00107">DiskBlock::Raw::buf</a>, <a class="el" href="board_8c-source.html#l00036">Delay()</a>, <a class="el" href="buffer_8c-source.html#l00010">diskSect</a>, <a class="el" href="mmc_8c-source.html#l00171">GetStorageInformation()</a>, <a class="el" href="board_8h-source.html#l00254">Temp::i</a>, <a class="el" href="board_8h-source.html#l00162">MMC_OFF</a>, <a class="el" href="mmc_8c-source.html#l00019">MmcCommand()</a>, <a class="el" href="board_8h-source.html#l00178">MMCDeselect</a>, <a class="el" href="board_8h-source.html#l00175">MMCSelect</a>, <a class="el" href="board_8h-source.html#l00159">NO</a>, <a class="el" href="board_8h-source.html#l00280">Public</a>, <a class="el" href="unionDiskBlock.html#o1">DiskBlock::raw</a>, <a class="el" href="mmc_8c-source.html#l00463">ReadPhysicalSector()</a>, <a class="el" href="mmc_8c-source.html#l00217">RebootMMC()</a>, <a class="el" href="mmc_8c-source.html#l00431">SeekSector()</a>, <a class="el" href="board_8h-source.html#l00235">SPIPutChar</a>, <a class="el" href="board_8h-source.html#l00238">SPIPutCharWithoutWaiting</a>, <a class="el" href="board_8h-source.html#l00232">SPIWait</a>, <a class="el" href="board_8c.html#a0">temp</a>, and <a class="el" href="board_8h-source.html#l00156">YES</a>.<p>Referenced by <a class="el" href="storage_8c-source.html#l00043">InitStorage()</a>, and <a class="el" href="filesys_8c-source.html#l00610">OpenFile()</a>.<p><pre class="fragment"><div>00246                               {00247   <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> c;00248 00249   <span class="comment">//Switch off the MMC power supply</span>00250   <a class="code" href="board_8h.html#a28">MMC_OFF</a> = <a class="code" href="board_8h.html#a26">YES</a>; 00251 00252   ConsoleWrite (<span class="stringliteral">"Init: MMC\r"</span>);00253   <a class="code" href="board_8h.html#a51">Delay</a>(100);00254 00255   <span class="comment">//Switch on the MMC power supply</span>00256   <a class="code" href="board_8h.html#a28">MMC_OFF</a> = <a class="code" href="board_8h.html#a27">NO</a>;00257   <a class="code" href="board_8h.html#a51">Delay</a>(100);00258 00259   <a class="code" href="board_8h.html#a32">MMCSelect</a>();00260   <span class="comment">/* Allow MMC some time and clock cycles to reset */</span>00261   <span class="keywordflow">for</span> (c=0; c&lt;200; c++){    00262     <a class="code" href="board_8h.html#a45">SPIPutCharWithoutWaiting</a>(0xff);00263     <a class="code" href="board_8h.html#a43">SPIWait</a>();00264   }00265   <a class="code" href="board_8h.html#a51">Delay</a>(20);00266 00267   <span class="keywordflow">if</span> (<a class="code" href="mmc_8c.html#a4">RebootMMC</a>()) <span class="keywordflow">return</span> 1; <span class="comment">//not able to powerup;</span>00268   <span class="comment">//An existing MMC card should be able to respond now.</span>00269 00270   <a class="code" href="mmc_8c.html#a3">GetStorageInformation</a>();00271   00272   <span class="comment">/* Set Block Size of 512 bytes (2 == 512 &lt;&lt; 8) */</span>00273   <span class="keywordflow">if</span> ((c=<a class="code" href="mmc_8c.html#a0">MmcCommand</a>(0x50,0,0,2,0))) <span class="keywordflow">return</span> c|0x80; <span class="comment">/* blocksize error */</span>00274   00275   <span class="comment">/* Check if MMC supports interrupted data transfer */</span>00276   <span class="comment">/* This does a simple checksum check to see if interrupted and </span>00277 <span class="comment">   * non-interrupted read blocks are the same. */</span>00278   <span class="comment">/* This could be a function, so it is in braces for clarity purposes */</span>00279   {  00280     <span class="keywordflow">if</span> (<a class="code" href="mmc_8h.html#a2">SeekSector</a>(0)) <span class="keywordflow">return</span> 2; <span class="comment">//Storage powerup failure    </span>00281     <span class="keywordflow">if</span> (<a class="code" href="mmc_8c.html#a9">ReadPhysicalSector</a>()) <span class="keywordflow">return</span> 2; <span class="comment">//Storage powerup failure</span>00282 00283     <a class="code" href="board_8c.html#a0">temp</a>.<a class="code" href="unionTemp.html#o1">i</a> = <a class="code" href="buffer_8c.html#a0">diskSect</a>.<a class="code" href="unionDiskBlock.html#o1">raw</a>.<a class="code" href="structDiskBlock_1_1Raw.html#o0">buf</a>[511];00284     <span class="keywordflow">for</span> (c=0; c&lt;250; c++){00285       <a class="code" href="board_8c.html#a0">temp</a>.<a class="code" href="unionTemp.html#o1">i</a> += <a class="code" href="buffer_8c.html#a0">diskSect</a>.<a class="code" href="unionDiskBlock.html#o1">raw</a>.<a class="code" href="structDiskBlock_1_1Raw.html#o0">buf</a>[c];00286     }00287     00288     <span class="keywordflow">if</span> (<a class="code" href="mmc_8h.html#a2">SeekSector</a>(0)) <span class="keywordflow">return</span> 2;<span class="comment">//Storage powerup failure</span>00289     00290     <span class="comment">/* Send some extra SPI clocks */</span>00291     <a class="code" href="board_8h.html#a33">MMCDeselect</a>();00292     <a class="code" href="board_8h.html#a45">SPIPutCharWithoutWaiting</a>(0xff);00293     <span class="keywordflow">for</span> (c=0; c&lt;100; c++){00294       <a class="code" href="board_8h.html#a44">SPIPutChar</a>(0xff);00295     }00296     <a class="code" href="board_8h.html#a43">SPIWait</a>();00297     00298     <span class="keywordflow">if</span> (<a class="code" href="mmc_8c.html#a9">ReadPhysicalSector</a>()){00299       ConsoleWrite(<span class="stringliteral">"Interrupted read failed.\r"</span>);00300       ConsoleWrite(<span class="stringliteral">"Using compatibility mode.\r"</span>);00301       <span class="keywordflow">return</span> 0x0e; <span class="comment">//ok but no support for seek-before-read</span>00302       00303     }<span class="keywordflow">else</span>{00304       <span class="comment">//Check if received data was same</span>00305       <a class="code" href="board_8c.html#a0">temp</a>.<a class="code" href="unionTemp.html#o1">i</a> -= <a class="code" href="buffer_8c.html#a0">diskSect</a>.<a class="code" href="unionDiskBlock.html#o1">raw</a>.<a class="code" href="structDiskBlock_1_1Raw.html#o0">buf</a>[511];00306       <span class="keywordflow">for</span> (c=0; c&lt;250; c++){00307         <a class="code" href="board_8c.html#a0">temp</a>.<a class="code" href="unionTemp.html#o1">i</a> -= <a class="code" href="buffer_8c.html#a0">diskSect</a>.<a class="code" href="unionDiskBlock.html#o1">raw</a>.<a class="code" href="structDiskBlock_1_1Raw.html#o0">buf</a>[c];00308       }00309     }00310     00311     <span class="keywordflow">if</span> (<a class="code" href="board_8c.html#a0">temp</a>.<a class="code" href="unionTemp.html#o1">i</a>) { <span class="comment">/* Checksum does not match */</span>00312       ConsoleWrite(<span class="stringliteral">"This MMC has no support for interrupted read. "</span>);00313       ConsoleWrite(<span class="stringliteral">"Using compatibility mode.\r"</span>);00314       <span class="keywordflow">return</span> 0x0e; <span class="comment">//ok but no support for seek-before-read</span>00315     }00316     

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
91精品在线免费| 国产日韩欧美不卡在线| 国产激情视频一区二区在线观看| 亚洲女女做受ⅹxx高潮| 欧美精品一区二区三区一线天视频 | 日韩网站在线看片你懂的| 成人免费视频免费观看| 久久91精品久久久久久秒播| 亚洲福利电影网| 国产精品不卡在线| 久久久久久久久久电影| 91精品国产综合久久小美女| 欧美亚洲一区二区在线观看| av午夜精品一区二区三区| 国产中文一区二区三区| 免费看黄色91| 婷婷综合久久一区二区三区| 亚洲美女免费视频| 亚洲欧洲日韩一区二区三区| 日本一区二区三区在线不卡| 亚洲精品一线二线三线无人区| 欧美精品一二三区| 欧美日韩一二区| 欧美亚洲高清一区二区三区不卡| 99久久精品免费看| 国产suv精品一区二区三区| 九九**精品视频免费播放| 日韩va欧美va亚洲va久久| 亚洲福利视频一区二区| 亚洲一区在线免费观看| 亚洲综合男人的天堂| 亚洲蜜桃精久久久久久久| 日韩一区在线免费观看| 日韩美女视频一区| 国产精品久久久久久久岛一牛影视 | 国产精品一区专区| 美女视频黄久久| 美女视频黄a大片欧美| 蜜桃久久久久久| 日本不卡123| 久久精品国产久精国产| 激情综合网天天干| 国产在线播放一区二区三区| 国产一区视频导航| 国产一区二区三区久久久| 91视频观看免费| 97精品国产97久久久久久久久久久久| jvid福利写真一区二区三区| www.欧美.com| 欧美视频一区二| 欧美久久一区二区| 日韩欧美在线观看一区二区三区| 欧美本精品男人aⅴ天堂| 久久久99免费| 亚洲男同性视频| 婷婷综合另类小说色区| 裸体歌舞表演一区二区| 国产91在线|亚洲| 日本韩国欧美在线| 91精品国产综合久久久蜜臀图片 | 成人免费视频视频在线观看免费| 波多野结衣的一区二区三区| 色综合久久88色综合天天 | 欧美一区二区久久| 久久青草欧美一区二区三区| 国产精品久久二区二区| 亚洲第一二三四区| 国内久久精品视频| 日本精品一区二区三区四区的功能| 欧美浪妇xxxx高跟鞋交| 精品久久久久久最新网址| 中文字幕一区二区三区四区不卡| 亚洲高清免费观看 | 中文字幕一区二区三区精华液 | 91麻豆国产自产在线观看| 欧美日精品一区视频| 精品盗摄一区二区三区| 亚洲久草在线视频| 麻豆成人免费电影| jlzzjlzz欧美大全| 69av一区二区三区| 国产精品久久久久久户外露出| 偷偷要91色婷婷| 国产成人午夜视频| 欧美精品久久天天躁| 欧美国产精品久久| 午夜精品久久久久久久99樱桃| 国产精品自拍av| 欧洲av一区二区嗯嗯嗯啊| 精品国产一区二区三区忘忧草| 亚洲精品成人精品456| 极品销魂美女一区二区三区| 欧美在线观看一区二区| 国产亚洲成年网址在线观看| 丝袜美腿亚洲综合| a亚洲天堂av| 久久男人中文字幕资源站| 亚洲成人手机在线| 91免费观看国产| 久久久国产一区二区三区四区小说 | 欧美三级电影在线观看| 亚洲国产美女搞黄色| 国产91丝袜在线播放| 日韩一区二区三| 亚洲一区精品在线| 成人av在线看| 国产日韩欧美精品电影三级在线| 免费观看30秒视频久久| 在线观看欧美精品| 国产精品福利av| 国产精品系列在线播放| 欧美大片在线观看一区二区| 亚洲大型综合色站| 欧美专区亚洲专区| 18欧美亚洲精品| 暴力调教一区二区三区| 久久久久亚洲蜜桃| 国内不卡的二区三区中文字幕| 欧美精品久久99| 一区二区在线观看免费| 97久久人人超碰| 国产精品久久夜| 成人免费看片app下载| 欧美激情综合在线| 丰满亚洲少妇av| 亚洲国产精华液网站w| 国产成人综合在线观看| 国产欧美日韩另类视频免费观看| 精品在线你懂的| 日韩久久久精品| 久久9热精品视频| 日韩欧美国产精品一区| 久久se精品一区二区| 精品国产乱码久久久久久1区2区| 久草这里只有精品视频| 日韩欧美国产1| 国内精品免费**视频| 亚洲精品一区二区三区蜜桃下载| 国产在线精品一区二区夜色| 精品久久久久久无| 国产麻豆一精品一av一免费| 久久精品日韩一区二区三区| 成人在线视频一区二区| 国产精品超碰97尤物18| 91成人免费网站| 亚洲午夜免费福利视频| 日韩一区二区中文字幕| 精品一区二区日韩| 国产亚洲精品资源在线26u| 成人午夜精品在线| 亚洲三级在线播放| 欧美少妇一区二区| 久久精品国产久精国产| 国产无一区二区| 99久久久无码国产精品| 一区二区三区成人在线视频| 欧美精品在线视频| 国产一区二区三区免费| 国产精品每日更新| 色94色欧美sute亚洲线路一ni| 水蜜桃久久夜色精品一区的特点| 日韩一区二区免费在线电影| 国产成人午夜视频| 一区二区三区高清不卡| 亚洲色图一区二区三区| 欧美日韩国产成人在线91| 久久草av在线| 综合久久国产九一剧情麻豆| 欧美日韩精品欧美日韩精品一综合| 麻豆91在线看| 综合分类小说区另类春色亚洲小说欧美| 欧美天堂一区二区三区| 国产一区二区三区在线观看免费视频 | 久久毛片高清国产| 日本精品视频一区二区三区| 麻豆精品精品国产自在97香蕉| 亚洲国产电影在线观看| 欧美特级限制片免费在线观看| 精品一区二区三区不卡| 中文字幕亚洲欧美在线不卡| 91精品国产综合久久国产大片| 成人久久久精品乱码一区二区三区 | 欧美色图激情小说| 国产成人在线网站| 午夜欧美2019年伦理| 久久久国际精品| 717成人午夜免费福利电影| 成人免费黄色大片| 麻豆高清免费国产一区| 伊人色综合久久天天人手人婷| 2021国产精品久久精品| 色老头久久综合| 国产精品中文字幕欧美| 日韩av一区二| 亚洲美女少妇撒尿| 国产三级精品视频| 日韩欧美在线观看一区二区三区| 色香蕉久久蜜桃| 成人av小说网| 国产一区二区按摩在线观看|