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

📄 player_8c.html

📁 MP3播放器源代码, VS1003B
💻 HTML
📖 第 1 页 / 共 5 页
字号:
<!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>player.c File Reference</h1>VLSI Modular Player Main file.  <a href="#_details">More...</a><p><code>#include "<a class="el" href="board_8h-source.html">board.h</a>"</code><br><code>#include "<a class="el" href="lcd_8h-source.html">lcd.h</a>"</code><br><code>#include "<a class="el" href="filesys_8h-source.html">filesys.h</a>"</code><br><code>#include "<a class="el" href="vs10xx_8h-source.html">vs10xx.h</a>"</code><br><code>#include "<a class="el" href="storage_8h-source.html">storage.h</a>"</code><br><code>#include "<a class="el" href="display_8h-source.html">display.h</a>"</code><br><code>#include "string.h"</code><br><code>#include "<a class="el" href="ui_8h-source.html">ui.h</a>"</code><br><code>#include "<a class="el" href="mmc_8h-source.html">mmc.h</a>"</code><br><code>#include "<a class="el" href="record_8h-source.html">record.h</a>"</code><br><code>#include "<a class="el" href="loud__sa_8c-source.html">loud_sa.c</a>"</code><br><p>Include dependency graph for player.c:<p><center><img src="player_8c__incl.png" border="0" usemap="#player.c_map" alt="Include dependency graph"></center><map name="player.c_map"><area href="board_8h.html" shape="rect" coords="79,93,129,117" alt=""><area href="filesys_8h.html" shape="rect" coords="7,168,63,192" alt=""><area href="vs10xx_8h.html" shape="rect" coords="137,168,196,192" alt=""><area href="lcd_8h.html" shape="rect" coords="220,168,257,192" alt=""><area href="lcdfonts_8h.html" shape="rect" coords="268,93,332,117" alt=""><area href="buffer_8h.html" shape="rect" coords="7,93,55,117" alt=""><area href="storage_8h.html" shape="rect" coords="281,168,343,192" alt=""><area href="display_8h.html" shape="rect" coords="367,168,425,192" alt=""><area href="ui_8h.html" shape="rect" coords="524,168,561,192" alt=""><area href="mmc_8h.html" shape="rect" coords="585,168,633,192" alt=""><area href="record_8h.html" shape="rect" coords="657,168,710,192" alt=""><area href="loud__sa_8c.html" shape="rect" coords="734,168,798,192" alt=""></map><p><a href="player_8c-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>Defines</h2></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>#define&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="player_8c.html#a0">u_int8</a>&nbsp;&nbsp;&nbsp;code unsigned char</td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">typedef for loading patch code  <a href="#a0"></a><br><br></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>#define&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="player_8c.html#a1">u_int16</a>&nbsp;&nbsp;&nbsp;code unsigned int</td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">typedef for loading patch code  <a href="#a1"></a><br><br></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>#define&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="player_8c.html#a2">UI_RETURN_DELAY</a>&nbsp;&nbsp;&nbsp;150</td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">How much to wait for button pressed before returning to title.  <a href="#a2"></a><br><br></td></tr><tr><td colspan=2><br><h2>Functions</h2></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="player_8c.html#a8">timer0_interrupt</a> (void)</td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">User Interface Timer interrupt.  <a href="#a8"></a><br><br></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="player_8c.html#a9">LoadPatch</a> ()</td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Load a patch code to VS10xx.  <a href="#a9"></a><br><br></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="player_8c.html#a10">StartPatch</a> ()</td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Start patch code.  <a href="#a10"></a><br><br></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="player_8c.html#a11">ScreenSetPlayTime</a> ()</td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets playing time and mode icon to left display title.  <a href="#a11"></a><br><br></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="player_8c.html#a12">AvailableProcessorTime</a> ()</td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This is called when there is free processor time, implement externally.  <a href="#a12"></a><br><br></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="player_8c.html#a13">PlayCurrentFile</a> ()</td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Plays a disk file.  <a href="#a13"></a><br><br></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="player_8c.html#a14">main</a> ()</td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Program Entry Point.  <a href="#a14"></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 <a class="el" href="ui_8h.html#a25">playingstatetype</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="player_8c.html#a3">playingState</a> = PS_NORMAL</td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Playing State Global, 0=normal playing, 1=abort playing.  <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="player_8c.html#a4">intlevel</a> = 0</td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Current interrupt level.  <a href="#a4"></a><br><br></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="player_8c.html#a5">userInterfaceDelayElapsed</a> = 0</td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Interrupt-driven flag to reduce unnecessary UI updates.  <a href="#a5"></a><br><br></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>xdata <a class="el" href="ui_8h.html#a24">uimodetype</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="player_8c.html#a6">uiMode</a> = UI_SPEC</td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Current User Interface mode (Title, Volume, ...).  <a href="#a6"></a><br><br></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="player_8c.html#a7">SPMax</a> = 0</td></tr></table><hr><a name="_details"></a><h2>Detailed Description</h2>VLSI Modular Player Main file. <p>This file contains the <a class="el" href="player_8c.html#a14">main()</a> function. It's also the main playground for player UI development. Many functions will be transferred to a new module when they're ok.<p>Definition in file <a class="el" href="player_8c-source.html">player.c</a>.<hr><h2>Define Documentation</h2><a class="anchor" name="a1" doxytag="player.c::u_int16" ></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 u_int16&nbsp;&nbsp;&nbsp;code unsigned int          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>typedef for loading patch code <p><p>Definition at line <a class="el" href="player_8c-source.html#l00211">211</a> of file <a class="el" href="player_8c-source.html">player.c</a>.    </td>  </tr></table><a class="anchor" name="a0" doxytag="player.c::u_int8" ></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 u_int8&nbsp;&nbsp;&nbsp;code unsigned char          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>typedef for loading patch code <p><p>Definition at line <a class="el" href="player_8c-source.html#l00209">209</a> of file <a class="el" href="player_8c-source.html">player.c</a>.    </td>  </tr></table><a class="anchor" name="a2" doxytag="player.c::UI_RETURN_DELAY" ></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 UI_RETURN_DELAY&nbsp;&nbsp;&nbsp;150          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>How much to wait for button pressed before returning to title. <p><p>Definition at line <a class="el" href="player_8c-source.html#l00223">223</a> of file <a class="el" href="player_8c-source.html">player.c</a>.<p>Referenced by <a class="el" href="player_8c-source.html#l00332">AvailableProcessorTime()</a>.    </td>  </tr></table><hr><h2>Function Documentation</h2><a class="anchor" name="a12" doxytag="player.c::AvailableProcessorTime" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>

⌨️ 快捷键说明

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