📄 board_8h.html
字号:
<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">( </td> </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap> {CCON &= 0x3F;}</td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </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">( </td> </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap> {CCON |= 0x40;}</td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </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> </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 P3_3 </td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </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 P2_1 </td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </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">( </td> <td class="md" nowrap valign="top">microseconds </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap> {SetPCAValue(65535-(unsigned int)((microseconds)/0.4069010));}</td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </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">( </td> <td class="md" nowrap valign="top">v </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap> {CH = ((unsigned)(v)) >> 8; CL = (v) & 0xff;}</td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </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 SPDAT </td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </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">( </td> <td class="md" nowrap valign="top">c </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap> {SPIWait();SPDAT=(c);}</td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </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">( </td> <td class="md" nowrap valign="top">c </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap> {SPDAT=(c);}</td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </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 + -