⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 board_8h.html

📁 MP3播放器源代码, VS1003B
💻 HTML
📖 第 1 页 / 共 5 页
字号:
<a class="anchor" name="a37" doxytag="board.h::PCAHaltAndClearOV" ></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"> #define PCAHaltAndClearOV          </td>          <td class="md" valign="top">(&nbsp;</td>&nbsp;</td>          <td class="mdname1" valign="top" nowrap>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap>&nbsp;&nbsp;&nbsp;{CCON &amp;= 0x3F;}</td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Stop PCA core counter and clear overflow flag. <p><p>Definition at line <a class="el" href="board_8h-source.html#l00200">200</a> of file <a class="el" href="board_8h-source.html">board.h</a>.    </td>  </tr></table><a class="anchor" name="a35" doxytag="board.h::PCARun" ></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"> #define PCARun          </td>          <td class="md" valign="top">(&nbsp;</td>&nbsp;</td>          <td class="mdname1" valign="top" nowrap>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap>&nbsp;&nbsp;&nbsp;{CCON |= 0x40;}</td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Start Programmable Counter Array core counter. <p><p>Definition at line <a class="el" href="board_8h-source.html#l00194">194</a> of file <a class="el" href="board_8h-source.html">board.h</a>.    </td>  </tr></table><a class="anchor" name="a47" doxytag="board.h::Public" ></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"> #define Public          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>"Public" has no code meaning but it is meant for the programmer to remember that this function is called from outside the module <p><p>Definition at line <a class="el" href="board_8h-source.html#l00280">280</a> of file <a class="el" href="board_8h-source.html">board.h</a>.<p>Referenced by <a class="el" href="filesys_8c-source.html#l00401">BuildFragmentTable()</a>, <a class="el" href="storage_8c-source.html#l00141">DumpDiskSector()</a>, <a class="el" href="filesys_8c-source.html#l00561">FGetChar()</a>, <a class="el" href="filesys_8c-source.html#l00923">InitFileSystem()</a>, <a class="el" href="mmc_8c-source.html#l00246">InitMMC()</a>, <a class="el" href="storage_8c-source.html#l00043">InitStorage()</a>, <a class="el" href="filesys_8c-source.html#l00610">OpenFile()</a>, <a class="el" href="storage_8c-source.html#l00071">PrepareToReadDiskSector()</a>, <a class="el" href="storage_8c-source.html#l00110">ReadDiskSector()</a>, <a class="el" href="mmc_8c-source.html#l00463">ReadPhysicalSector()</a>, <a class="el" href="mmc_8c-source.html#l00431">SeekSector()</a>, and <a class="el" href="storage_8c-source.html#l00183">WriteDiskSector()</a>.    </td>  </tr></table><a class="anchor" name="a10" doxytag="board.h::RED_LED" ></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"> #define RED_LED&nbsp;&nbsp;&nbsp;P3_3          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Red LED in multicolor LED, 0 = on, 1 = off. <p><p>Definition at line <a class="el" href="board_8h-source.html#l00078">78</a> of file <a class="el" href="board_8h-source.html">board.h</a>.<p>Referenced by <a class="el" href="vs10xx_8c-source.html#l00112">VsSineTest()</a>.    </td>  </tr></table><a class="anchor" name="a25" doxytag="board.h::RSEN" ></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"> #define RSEN&nbsp;&nbsp;&nbsp;P2_1          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>RS-232 Buffer Enable. <p><p>Definition at line <a class="el" href="board_8h-source.html#l00146">146</a> of file <a class="el" href="board_8h-source.html">board.h</a>.    </td>  </tr></table><a class="anchor" name="a39" doxytag="board.h::SetPCADelayValue" ></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"> #define SetPCADelayValue          </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">microseconds&nbsp;</td>          <td class="mdname1" valign="top" nowrap>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap>&nbsp;&nbsp;&nbsp;{SetPCAValue(65535-(unsigned int)((microseconds)/0.4069010));}</td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Calculate and set Time-Until-Overflow to PCA in microseconds. <p><p>Definition at line <a class="el" href="board_8h-source.html#l00207">207</a> of file <a class="el" href="board_8h-source.html">board.h</a>.    </td>  </tr></table><a class="anchor" name="a38" doxytag="board.h::SetPCAValue" ></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"> #define SetPCAValue          </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">v&nbsp;</td>          <td class="mdname1" valign="top" nowrap>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap>&nbsp;&nbsp;&nbsp;{CH = ((unsigned)(v)) &gt;&gt; 8;  CL = (v) &amp; 0xff;}</td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Set PCA core counter value. <p><p>Definition at line <a class="el" href="board_8h-source.html#l00204">204</a> of file <a class="el" href="board_8h-source.html">board.h</a>.    </td>  </tr></table><a class="anchor" name="a46" doxytag="board.h::SPI_RESULT_BYTE" ></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"> #define SPI_RESULT_BYTE&nbsp;&nbsp;&nbsp;SPDAT          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>SPI data return register. <p><p>Definition at line <a class="el" href="board_8h-source.html#l00241">241</a> of file <a class="el" href="board_8h-source.html">board.h</a>.<p>Referenced by <a class="el" href="mmc_8c-source.html#l00019">MmcCommand()</a>, <a class="el" href="vs10xx_8c-source.html#l00017">Mp3ReadRegister()</a>, <a class="el" href="mmc_8c-source.html#l00330">PerformBlockRead()</a>, and <a class="el" href="board_8c-source.html#l00018">SPIGetChar()</a>.    </td>  </tr></table><a class="anchor" name="a44" doxytag="board.h::SPIPutChar" ></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"> #define SPIPutChar          </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">c&nbsp;</td>          <td class="mdname1" valign="top" nowrap>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap>&nbsp;&nbsp;&nbsp;{SPIWait();SPDAT=(c);}</td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Wait for SPI ready, then initiate character sending. <p><p>Definition at line <a class="el" href="board_8h-source.html#l00235">235</a> of file <a class="el" href="board_8h-source.html">board.h</a>.<p>Referenced by <a class="el" href="player_8c-source.html#l00332">AvailableProcessorTime()</a>, <a class="el" href="aviplay_8c-source.html#l00015">GetAVIBlock()</a>, <a class="el" href="mmc_8c-source.html#l00246">InitMMC()</a>, <a class="el" href="mmc_8c-source.html#l00019">MmcCommand()</a>, <a class="el" href="vs10xx_8c-source.html#l00017">Mp3ReadRegister()</a>, <a class="el" href="vs10xx_8c-source.html#l00035">Mp3SoftReset()</a>, <a class="el" href="vs10xx_8c-source.html#l00202">PlayDiskSectors()</a>, <a class="el" href="vs10xx_8c-source.html#l00178">SendZerosToVS10xx()</a>, and <a class="el" href="vs10xx_8c-source.html#l00112">VsSineTest()</a>.    </td>  </tr></table><a class="anchor" name="a45" doxytag="board.h::SPIPutCharWithoutWaiting" ></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"> #define SPIPutCharWithoutWaiting          </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">c&nbsp;</td>          <td class="mdname1" valign="top" nowrap>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap>&nbsp;&nbsp;&nbsp;{SPDAT=(c);}</td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Initiate SPI character sending. <p><p>Definition at line <a class="el" href="board_8h-source.html#l00238">238</a> of file <a class="el" href="board_8h-source.html">board.h</a>.<p>Referenced by <a class="el" href="aviplay_8c-source.html#l00015">GetAVIBlock()</a>, <a class="el" href="mmc_8c-source.html#l00246">InitMMC()</a>, <a class="el" href="mmc_8c-source.html#l00019">MmcCommand()</a>, <a class="el" href="vs10xx_8c-source.html#l00017">Mp3ReadRegister()</a>, <a class="el" href="vs10xx_8c-source.html#l00069">Mp3Reset()</a>, <a class="el" href="vs10xx_8c-source.html#l00

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -