periphery_8h.html

来自「MSP acquires data and sends through USB 」· HTML 代码 · 共 431 行 · 第 1/2 页

HTML
431
字号
<p>Definition at line <a class="el" href="periphery_8c-source.html#l00349">349</a> of file <a class="el" href="periphery_8c-source.html">periphery.c</a>.</div></div><p><a class="anchor" name="bdf0a3bb022e0beb710bcfd588afd99e"></a><!-- doxytag: member="periphery.h::ADC12_getTempCelsius" ref="bdf0a3bb022e0beb710bcfd588afd99e" args="()" --><div class="memitem"><div class="memproto">      <table class="memname">        <tr>          <td class="memname">float ADC12_getTempCelsius           </td>          <td>(</td>          <td class="paramname">          </td>          <td>&nbsp;)&nbsp;</td>          <td width="100%"></td>        </tr>      </table></div><div class="memdoc"><p>Calculates internal temperature of MSP430. You should calibrate the value! Change the TEMP_OFFSET define!<p><dl class="author" compact><dt><b>Author:</b></dt><dd>Peter Ivanov</dd></dl><dl class="return" compact><dt><b>Returns:</b></dt><dd>Temperature in Celsius-degrees. </dd></dl><p>Definition at line <a class="el" href="periphery_8c-source.html#l00436">436</a> of file <a class="el" href="periphery_8c-source.html">periphery.c</a>.</div></div><p><a class="anchor" name="d4968c9198afd4c51e5ce6a8f8feebff"></a><!-- doxytag: member="periphery.h::ADC12_getVCC" ref="d4968c9198afd4c51e5ce6a8f8feebff" args="(void)" --><div class="memitem"><div class="memproto">      <table class="memname">        <tr>          <td class="memname">float ADC12_getVCC           </td>          <td>(</td>          <td class="paramtype">void&nbsp;</td>          <td class="paramname">          </td>          <td>&nbsp;)&nbsp;</td>          <td width="100%"></td>        </tr>      </table></div><div class="memdoc"><p>Get value form ADC12 chanel A11 (measure VCC) <dl class="return" compact><dt><b>Returns:</b></dt><dd>Voltage of power supply (VCC) in volts. </dd></dl><p>Definition at line <a class="el" href="periphery_8c-source.html#l00395">395</a> of file <a class="el" href="periphery_8c-source.html">periphery.c</a>.</div></div><p><a class="anchor" name="d773088e6129cd48c3d19dc2d2bd9a94"></a><!-- doxytag: member="periphery.h::ADC12_init" ref="d773088e6129cd48c3d19dc2d2bd9a94" args="(void)" --><div class="memitem"><div class="memproto">      <table class="memname">        <tr>          <td class="memname">void ADC12_init           </td>          <td>(</td>          <td class="paramtype">void&nbsp;</td>          <td class="paramname">          </td>          <td>&nbsp;)&nbsp;</td>          <td width="100%"></td>        </tr>      </table></div><div class="memdoc"><p>Initialize ADC12 module <p>Definition at line <a class="el" href="periphery_8c-source.html#l00228">228</a> of file <a class="el" href="periphery_8c-source.html">periphery.c</a>.</div></div><p><a class="anchor" name="75690af9e89afd801dc40b20b5c813f1"></a><!-- doxytag: member="periphery.h::GPIO_init" ref="75690af9e89afd801dc40b20b5c813f1" args="(void)" --><div class="memitem"><div class="memproto">      <table class="memname">        <tr>          <td class="memname">void GPIO_init           </td>          <td>(</td>          <td class="paramtype">void&nbsp;</td>          <td class="paramname">          </td>          <td>&nbsp;)&nbsp;</td>          <td width="100%"></td>        </tr>      </table></div><div class="memdoc"><p>Initialize GPIO port <p>Definition at line <a class="el" href="periphery_8c-source.html#l00186">186</a> of file <a class="el" href="periphery_8c-source.html">periphery.c</a>.</div></div><p><a class="anchor" name="3ef001533f2bf00e62e27f2a1e5172ed"></a><!-- doxytag: member="periphery.h::JOY_getPosition" ref="3ef001533f2bf00e62e27f2a1e5172ed" args="(void)" --><div class="memitem"><div class="memproto">      <table class="memname">        <tr>          <td class="memname">JOY_pos_t JOY_getPosition           </td>          <td>(</td>          <td class="paramtype">void&nbsp;</td>          <td class="paramname">          </td>          <td>&nbsp;)&nbsp;</td>          <td width="100%"></td>        </tr>      </table></div><div class="memdoc"><p>Calculates joystick position. Use function <a class="el" href="periphery_8c.html#63c0677a7650d8b00aabded94d64693c">KBD_getButtonPressed()</a> instead of this one! Note: presumably you should update the numbers below.<p><dl class="return" compact><dt><b>Returns:</b></dt><dd>Actual status of joystick. </dd></dl><p>Definition at line <a class="el" href="periphery_8c-source.html#l00114">114</a> of file <a class="el" href="periphery_8c-source.html">periphery.c</a>.</div></div><p><a class="anchor" name="b28c3e1b3cf39437be09919fb78a364c"></a><!-- doxytag: member="periphery.h::JOY_init" ref="b28c3e1b3cf39437be09919fb78a364c" args="(void)" --><div class="memitem"><div class="memproto">      <table class="memname">        <tr>          <td class="memname">void JOY_init           </td>          <td>(</td>          <td class="paramtype">void&nbsp;</td>          <td class="paramname">          </td>          <td>&nbsp;)&nbsp;</td>          <td width="100%"></td>        </tr>      </table></div><div class="memdoc"><p>Initialize Joystick Button <p>Definition at line <a class="el" href="periphery_8c-source.html#l00093">93</a> of file <a class="el" href="periphery_8c-source.html">periphery.c</a>.</div></div><p><a class="anchor" name="2a649e701ffa69773fb450e89db89698"></a><!-- doxytag: member="periphery.h::KBD_getB1" ref="2a649e701ffa69773fb450e89db89698" args="()" --><div class="memitem"><div class="memproto">      <table class="memname">        <tr>          <td class="memname">uint8_t KBD_getB1           </td>          <td>(</td>          <td class="paramname">          </td>          <td>&nbsp;)&nbsp;</td>          <td width="100%"><code> [inline]</code></td>        </tr>      </table></div><div class="memdoc"><p>Get B1 status<p><dl class="return" compact><dt><b>Returns:</b></dt><dd>TRUE: if button pressed. FALSE: if button not pressed. </dd></dl><p>Definition at line <a class="el" href="periphery_8c-source.html#l00031">31</a> of file <a class="el" href="periphery_8c-source.html">periphery.c</a>.</div></div><p><a class="anchor" name="d16bb4f020abd6db5093cccc2fdede88"></a><!-- doxytag: member="periphery.h::KBD_getB2" ref="d16bb4f020abd6db5093cccc2fdede88" args="()" --><div class="memitem"><div class="memproto">      <table class="memname">        <tr>          <td class="memname">uint8_t KBD_getB2           </td>          <td>(</td>          <td class="paramname">          </td>          <td>&nbsp;)&nbsp;</td>          <td width="100%"><code> [inline]</code></td>        </tr>      </table></div><div class="memdoc"><p>Get B2 status<p><dl class="return" compact><dt><b>Returns:</b></dt><dd>TRUE: if button pressed. FALSE: if button not pressed. </dd></dl><p>Definition at line <a class="el" href="periphery_8c-source.html#l00042">42</a> of file <a class="el" href="periphery_8c-source.html">periphery.c</a>.</div></div><p><a class="anchor" name="477b8611b60e8470d77f072cf7c9d0b7"></a><!-- doxytag: member="periphery.h::KBD_init" ref="477b8611b60e8470d77f072cf7c9d0b7" args="(void)" --><div class="memitem"><div class="memproto">      <table class="memname">        <tr>          <td class="memname">void KBD_init           </td>          <td>(</td>          <td class="paramtype">void&nbsp;</td>          <td class="paramname">          </td>          <td>&nbsp;)&nbsp;</td>          <td width="100%"></td>        </tr>      </table></div><div class="memdoc"><p>Initialize buttons B1 and B2 <p>Definition at line <a class="el" href="periphery_8c-source.html#l00074">74</a> of file <a class="el" href="periphery_8c-source.html">periphery.c</a>.</div></div><p><hr size="1"><address style="align: right;"><small>Generated on Sun Oct 21 19:25:35 2007 for Sample MSP430-4619LCD Project by&nbsp;<a href="http://www.doxygen.org/index.html"><img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address></body></html>

⌨️ 快捷键说明

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