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

📄 fixedpt_8c.html

📁 ATMEL的AVR单片机库文件
💻 HTML
字号:
<!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>Procyon AVRlib: fixedpt.c File Reference</title><link href="dox.css" rel="stylesheet" type="text/css"></head><body><!-- Generated by Doxygen 1.3.6 --><div class="qindex"><a class="qindex" href="main.html">Main&nbsp;Page</a> | <a class="qindex" href="modules.html">Modules</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</a> | <a class="qindex" href="globals.html">Globals</a></div><h1>fixedpt.c File Reference</h1>Fixed-point math function library.  <a href="#_details">More...</a><p><code>#include "<a class="el" href="fixedpt_8h-source.html">fixedpt.h</a>"</code><br><p><a href="fixedpt_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>Functions</h2></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top><a class="anchor" name="a1" doxytag="fixedpt.c::fixedptInit" ></a>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="fixedpt_8c.html#a1">fixedptInit</a> (u08 fixedPtBits)</td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><a class="el" href="fixedpt_8c.html#a1">fixedptInit()</a> initializes fixed-point math function library <br><br></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top><a class="anchor" name="a2" doxytag="fixedpt.c::fixedptConvertFromInt" ></a>s32&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="fixedpt_8c.html#a2">fixedptConvertFromInt</a> (s32 int_number)</td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">convert integer to fixed-point number <br><br></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top><a class="anchor" name="a3" doxytag="fixedpt.c::fixedptConvertToInt" ></a>s32&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="fixedpt_8c.html#a3">fixedptConvertToInt</a> (s32 fp_number)</td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">convert fixed-point number to integer <br><br></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top><a class="anchor" name="a4" doxytag="fixedpt.c::fixedptAdd" ></a>s32&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="fixedpt_8c.html#a4">fixedptAdd</a> (s32 a, s32 b)</td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">add a and b (a+b) with fixed-point math <br><br></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top><a class="anchor" name="a5" doxytag="fixedpt.c::fixedptSubtract" ></a>s32&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="fixedpt_8c.html#a5">fixedptSubtract</a> (s32 a, s32 b)</td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">subtract a and b (a-b) with fixed-point math <br><br></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top><a class="anchor" name="a6" doxytag="fixedpt.c::fixedptMultiply" ></a>s32&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="fixedpt_8c.html#a6">fixedptMultiply</a> (s32 a, s32 b)</td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">multiply a and b (a*b) with fixed-point math <br><br></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top><a class="anchor" name="a7" doxytag="fixedpt.c::fixedptDivide" ></a>s32&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="fixedpt_8c.html#a7">fixedptDivide</a> (s32 numer, s32 denom)</td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">divide numer by denom (numer/denom) with fixed-point math <br><br></td></tr><tr><td colspan=2><br><h2>Variables</h2></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top><a class="anchor" name="a0" doxytag="fixedpt.c::FixedPtBits" ></a>u08&nbsp;</td><td class="memItemRight" valign=bottom><b>FixedPtBits</b></td></tr></table><hr><a name="_details"></a><h2>Detailed Description</h2>Fixed-point math function library. <p><p>Definition in file <a class="el" href="fixedpt_8c-source.html">fixedpt.c</a>.<hr size="1"><address style="align: right;"><small>Generated on Fri Oct 15 03:50:23 2004 for Procyon AVRlib by<a href="http://www.doxygen.org/index.html"><img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.6 </small></address></body></html>

⌨️ 快捷键说明

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