📄 board_8h.html
字号:
<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#l00176">176</a> of file <a class="el" href="board_8h-source.html">board.h</a>. </td> </tr></table><a class="anchor" name="a45" 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#l00262">262</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#l00249">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#l00477">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#l00066">66</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#l00477">ReadPhysicalSector()</a>, <a class="el" href="vs10xx_8c-source.html#l00112">VsSineTest()</a>, and <a class="el" href="mmc_8c-source.html#l00502">WritePhysicalSector()</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#l00134">134</a> of file <a class="el" href="board_8h-source.html">board.h</a>. </td> </tr></table><a class="anchor" name="a37" 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#l00189">189</a> of file <a class="el" href="board_8h-source.html">board.h</a>. </td> </tr></table><a class="anchor" name="a36" 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#l00186">186</a> of file <a class="el" href="board_8h-source.html">board.h</a>. </td> </tr></table><a class="anchor" name="a44" 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#l00223">223</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#l00332">PerformBlockRead()</a>, and <a class="el" href="board_8c-source.html#l00018">SPIGetChar()</a>. </td> </tr></table><a class="anchor" name="a42" 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#l00217">217</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#l00327">AvailableProcessorTime()</a>, <a class="el" href="aviplay_8c-source.html#l00015">GetAVIBlock()</a>, <a class="el" href="mmc_8c-source.html#l00249">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="a43" 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#l00220">220</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#l00249">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#l00035">Mp3SoftReset()</a>, <a class="el" href="mmc_8c-source.html#l00332">PerformBlockRead()</a>, <a class="el" href="vs10xx_8c-source.html#l00202">PlayDiskSectors()</a>, <a class="el" href="vs10xx_8c-source.html#l00178">SendZerosToVS10xx()</a>, <a class="el" href="board_8c-source.html#l00026">SPI8Clocks()</a>, <a class="el" href="board_8c-source.html#l00018">SPIGetChar()</a>, <a class="el" href="vs10xx_8c-source.html#l00112">VsSineTest()</a>, and <a class="el" href="mmc_8c-source.html#l00502">WritePhysicalSector()</a>. </td> </tr></table><a class="anchor" name="a40" doxytag="board.h::SPISetFastClock" ></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 SPISetFastClock </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> {SPCON=0x71;} /* 0x73 is much slower*/</td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>switch to fast SPI Clock <p><p>Definition at line <a class="el" href="board_8h-source.html#l00210">210</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#l00069">Mp3Reset()</a>. </td> </tr></table><a class="anchor" name="
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -