?? lcd_8h.html
字號(hào):
00092 }00093 }</div></pre><p>Here is the call graph for this function:<p><center><img src="lcd_8h_a9_cgraph.png" border="0" usemap="#lcd_8h_a9_cgraph_map" alt=""></center><map name="lcd_8h_a9_cgraph_map"><area href="lcd_8h.html#a6" shape="rect" coords="148,7,225,30" alt=""></map> </td> </tr></table><a class="anchor" name="a15" doxytag="lcd.h::LcdPutUInt" ></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"> void LcdPutUInt </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">unsigned long </td> <td class="mdname1" valign="top" nowrap> <em>value</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>Print a 16-bit unsigned integer value on LCD. <p><p>Definition at line <a class="el" href="lcd_8c-source.html#l00221">221</a> of file <a class="el" href="lcd_8c-source.html">lcd.c</a>.<p>References <a class="el" href="lcd_8c-source.html#l00017">LcdPutChar()</a>.<p>Referenced by <a class="el" href="player_8c-source.html#l00765">main()</a>, and <a class="el" href="display_8c-source.html#l00058">UpdateDisplay()</a>.<p><pre class="fragment"><div>00221 {00222 xdata <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> valueString[10];00223 <span class="keywordtype">char</span> c;00224 <span class="keywordflow">for</span> (c=0; c<10; c++){00225 valueString[c]=value % 10;00226 value = value / 10;00227 }00228 c=9;00229 <span class="keywordflow">while</span> ((valueString[c]==0) && (c!=0))00230 c--;00231 <span class="keywordflow">for</span> (;c!=0;c--)00232 <a class="code" href="lcd_8h.html#a6">LcdPutChar</a>(<span class="charliteral">'0'</span>+valueString[c]);00233 <a class="code" href="lcd_8h.html#a6">LcdPutChar</a>(<span class="charliteral">'0'</span>+valueString[0]);00234 00235 }</div></pre><p>Here is the call graph for this function:<p><center><img src="lcd_8h_a15_cgraph.png" border="0" usemap="#lcd_8h_a15_cgraph_map" alt=""></center><map name="lcd_8h_a15_cgraph_map"><area href="lcd_8h.html#a6" shape="rect" coords="137,7,214,30" alt=""></map> </td> </tr></table><a class="anchor" name="a8" doxytag="lcd.h::LcdReset" ></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"> void LcdReset </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>Low level: Reset LCD. <p><p>Definition at line <a class="el" href="lcd_8c-source.html#l00056">56</a> of file <a class="el" href="lcd_8c-source.html">lcd.c</a>.<p>References <a class="el" href="board_8h-source.html#l00210">InitiateDelay</a>, <a class="el" href="board_8h-source.html#l00129">LCD_ENABLE</a>, <a class="el" href="lcdfonts_8c-source.html#l00008">lcdFont_barchars</a>, <a class="el" href="lcd_8c-source.html#l00033">LcdPutCommand()</a>, <a class="el" href="lcd_8c-source.html#l00043">LcdSelectFont()</a>, and <a class="el" href="board_8h-source.html#l00221">WaitOutDelay</a>.<p>Referenced by <a class="el" href="player_8c-source.html#l00332">AvailableProcessorTime()</a>, <a class="el" href="display_8c-source.html#l00023">InitDisplay()</a>, <a class="el" href="lcd_8c-source.html#l00147">LcdSplashScreen()</a>, and <a class="el" href="player_8c-source.html#l00765">main()</a>.<p><pre class="fragment"><div>00056 {00057 00058 00059 <a class="code" href="board_8h.html#a21">LCD_ENABLE</a> = 0;00060 <a class="code" href="board_8h.html#a40">InitiateDelay</a>(0); <span class="comment">/* Initialize the delay system */</span>00061 00062 <a class="code" href="lcd_8h.html#a7">LcdPutCommand</a>(56); <span class="comment">/* 8 data bits, 2 lines */</span>00063 <a class="code" href="board_8h.html#a40">InitiateDelay</a>(39);00064 00065 <a class="code" href="board_8h.html#a41">WaitOutDelay</a>();00066 <a class="code" href="lcd_8h.html#a7">LcdPutCommand</a>(56); <span class="comment">/* Command 2 times "just in case" */</span>00067 <a class="code" href="board_8h.html#a40">InitiateDelay</a>(39);00068 00069 <a class="code" href="board_8h.html#a41">WaitOutDelay</a>();00070 <a class="code" href="lcd_8h.html#a7">LcdPutCommand</a>(12); <span class="comment">/* Panel on, no cursor */</span>00071 <a class="code" href="board_8h.html#a40">InitiateDelay</a>(39);00072 00073 <a class="code" href="board_8h.html#a41">WaitOutDelay</a>();00074 <a class="code" href="lcd_8h.html#a7">LcdPutCommand</a>(1); <span class="comment">/* Clear screen */</span>00075 <a class="code" href="board_8h.html#a40">InitiateDelay</a>(1530); <span class="comment">/* Start a 1.53 ms delay */</span>00076 00077 <a class="code" href="lcd_8h.html#a5">LcdSelectFont</a>(lcdFont_barchars);00078 00079 }</div></pre><p>Here is the call graph for this function:<p><center><img src="lcd_8h_a8_cgraph.png" border="0" usemap="#lcd_8h_a8_cgraph_map" alt=""></center><map name="lcd_8h_a8_cgraph_map"><area href="lcd_8h.html#a7" shape="rect" coords="130,7,237,31" alt=""><area href="lcd_8h.html#a5" shape="rect" coords="138,54,229,78" alt=""><area href="lcd_8h.html#a10" shape="rect" coords="287,54,421,78" alt=""></map> </td> </tr></table><a class="anchor" name="a5" doxytag="lcd.h::LcdSelectFont" ></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"> void LcdSelectFont </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">ROM_CHAR_PTR </td> <td class="mdname1" valign="top" nowrap> <em>font</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p><p>Definition at line <a class="el" href="lcd_8c-source.html#l00043">43</a> of file <a class="el" href="lcd_8c-source.html">lcd.c</a>.<p>References <a class="el" href="lcd_8h-source.html#l00023">LcdLocateCG</a>, <a class="el" href="lcd_8h-source.html#l00017">LcdLocateHome</a>, <a class="el" href="lcd_8c-source.html#l00102">LcdPutConstantString()</a>, and <a class="el" href="lcd_8h-source.html#l00011">ROM_CHAR_PTR</a>.<p>Referenced by <a class="el" href="player_8c-source.html#l00332">AvailableProcessorTime()</a>, <a class="el" href="lcd_8c-source.html#l00056">LcdReset()</a>, and <a class="el" href="lcd_8c-source.html#l00147">LcdSplashScreen()</a>.<p><pre class="fragment"><div>00043 {00044 <span class="keyword">static</span> <a class="code" href="lcd_8h.html#a0">ROM_CHAR_PTR</a> loadedFont = 0;00045 <span class="keywordflow">if</span> (loadedFont != font){00046 loadedFont=font;00047 00048 <a class="code" href="lcd_8h.html#a3">LcdLocateCG</a>();00049 <a class="code" href="lcd_8h.html#a10">LcdPutConstantString</a>(font); 00050 <a class="code" href="lcd_8h.html#a1">LcdLocateHome</a>();00051 00052 }00053 }</div></pre><p>Here is the call graph for this function:<p><center><img src="lcd_8h_a5_cgraph.png" border="0" usemap="#lcd_8h_a5_cgraph_map" alt=""></center><map name="lcd_8h_a5_cgraph_map"><area href="lcd_8h.html#a10" shape="rect" coords="160,7,293,30" alt=""><area href="lcd_8h.html#a6" shape="rect" coords="342,7,420,30" alt=""></map> </td> </tr></table><a class="anchor" name="a11" doxytag="lcd.h::LcdSplashScreen" ></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"> void LcdSplashScreen </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>Splash screen. <p><p>Definition at line <a class="el" href="lcd_8c-source.html#l00147">147</a> of file <a class="el" href="lcd_8c-source.html">lcd.c</a>.<p>References <a class="el" href="lcd_8c-source.html#l00111">LcdFadeIn()</a>, <a class="el" href="lcd_8c-source.html#l00128">LcdFadeOut()</a>, <a class="el" href="lcdfonts_8c-source.html#l00018">lcdFont_vlsichars</a>, <a class="el" href="lcd_8h-source.html#l00017">LcdLocateHome</a>, <a class="el" href="lcd_8h-source.html#l00020">LcdLocateLine2</a>, <a class="el" href="lcd_8c-source.html#l00017">LcdPutChar()</a>, <a class="el" href="lcd_8c-source.html#l00102">LcdPutConstantString()</a>, <a class="el" href="lcd_8c-source.html#l00056">LcdReset()</a>, and <a class="el" href="lcd_8c-source.html#l00043">LcdSelectFont()</a>.<p><pre class="fragment"><div>00147 {00148 00149 <a class="code" href="lcd_8c.html#a4">LcdReset</a>();00150 00151 <a class="code" href="lcd_8h.html#a5">LcdSelectFont</a>(lcdFont_vlsichars);00152 00153 <a class="code" href="lcd_8h.html#a1">LcdLocateHome</a>();00154 00155 <a class="code" href="lcd_8h.html#a6">LcdPutChar</a>(0);00156 <a class="code" href="lcd_8h.html#a10">LcdPutConstantString</a>(<span class="stringliteral">"\1\2\3 Sol"</span>);00157 <a class="code" href="lcd_8h.html#a2">LcdLocateLine2</a>();00158 <a class="code" href="lcd_8h.html#a10">LcdPutConstantString</a>(<span class="stringliteral">"ution Oy"</span>);00159 00160 00161 <a class="code" href="lcd_8c.html#a7">LcdFadeIn</a>();00162 <a class="code" href="lcd_8c.html#a8">LcdFadeOut</a>();00163 00164 }</div></pre><p>Here is the call graph for this function:<p><center><img src="lcd_8h_a11_cgraph.png" border="0" usemap="#lcd_8h_a11_cgraph_map" alt=""></center><map name="lcd_8h_a11_cgraph_map"><area href="lcd_8c.html#a7" shape="rect" coords="184,7,251,31" alt=""><area href="lcd_8c.html#a8" shape="rect" coords="179,55,256,79" alt=""><area href="lcd_8h.html#a6" shape="rect" coords="646,177,724,201" alt=""><area href="lcd_8h.html#a10" shape="rect" coords="464,202,597,226" alt=""><area href="lcd_8c.html#a4" shape="rect" coords="187,103,248,127" alt=""><area href="lcd_8h.html#a5" shape="rect" coords="315,202,405,226" alt=""><area href="lcd_8h.html#a7" shape="rect" coords="307,55,413,79" alt=""></map> </td> </tr></table><hr><h2>Variable Documentation</h2><a class="anchor" name="a4" doxytag="lcd.h::lcd_hexchars" ></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"> code const unsigned char <a class="el" href="lcd_8h.html#a4">lcd_hexchars</a>[17] </td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>hexadecimal character set <p><p>Definition at line <a class="el" href="lcd_8h-source.html#l00014">14</a> of file <a class="el" href="lcd_8h-source.html">lcd.h</a>.<p>Referenced by <a class="el" href="lcd_8c-source.html#l00185">LcdPrintGenericResult()</a>, <a class="el" href="lcd_8c-source.html#l00168">LcdPutHex16()</a>, and <a class="el" href="lcd_8c-source.html#l00177">LcdPutHex8()</a>. </td> </tr></table><hr><FONT SIZE="-1">All software copyright 2000-2004 <a href="http://www.vlsi.fi/"> VLSI Solution OY.</a>Redistribution of these software modules are limited to promotional use onlyand only with the VS1011 / VS1002 / VS1003 MP3-Evakit evaluation boards. Free orcommercial use of these software modules in MP3 players is ok if theproduct includes MP3 decoder chip(s) from VLSI. You can request the complete(compilable) package from mp3@vlsi.fi</FONT>
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -