?lang_form? ?lang_select? ?lang_submit? ?lang_endform?
{HEADER END}
{BLAME START}

library

?curdirlinks? -

Blame information for rev 6

Line No. Rev Author Line
1 6 kaklik <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2 <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
3 <title>Procyon AVRlib: fixedpt.c File Reference</title>
4 <link href="dox.css" rel="stylesheet" type="text/css">
5 </head><body>
6 <!-- Generated by Doxygen 1.4.2 -->
7 <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="dirs.html">Directories</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> | <a class="qindex" href="pages.html">Related&nbsp;Pages</a></div>
8 <h1>fixedpt.c File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2>
9  
10 <p>
11 Definition in file <a class="el" href="fixedpt_8c-source.html">fixedpt.c</a>.
12 <p>
13 <code>#include "<a class="el" href="fixedpt_8h-source.html">fixedpt.h</a>"</code><br>
14  
15 <p>
16 <a href="fixedpt_8c-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0">
17 <tr><td></td></tr>
18 <tr><td colspan="2"><br><h2>Functions</h2></td></tr>
19 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a1" doxytag="fixedpt.c::fixedptInit"></a>
20 void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="fixedpt_8c.html#a1">fixedptInit</a> (u08 fixedPtBits)</td></tr>
21  
22 <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></td></tr>
23 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a2" doxytag="fixedpt.c::fixedptConvertFromInt"></a>
24 s32&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="fixedpt_8c.html#a2">fixedptConvertFromInt</a> (s32 int_number)</td></tr>
25  
26 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">convert integer to fixed-point number <br></td></tr>
27 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a3" doxytag="fixedpt.c::fixedptConvertToInt"></a>
28 s32&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="fixedpt_8c.html#a3">fixedptConvertToInt</a> (s32 fp_number)</td></tr>
29  
30 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">convert fixed-point number to integer <br></td></tr>
31 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a4" doxytag="fixedpt.c::fixedptAdd"></a>
32 s32&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="fixedpt_8c.html#a4">fixedptAdd</a> (s32 a, s32 b)</td></tr>
33  
34 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">add a and b (a+b) with fixed-point math <br></td></tr>
35 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a5" doxytag="fixedpt.c::fixedptSubtract"></a>
36 s32&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="fixedpt_8c.html#a5">fixedptSubtract</a> (s32 a, s32 b)</td></tr>
37  
38 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">subtract a and b (a-b) with fixed-point math <br></td></tr>
39 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a6" doxytag="fixedpt.c::fixedptMultiply"></a>
40 s32&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="fixedpt_8c.html#a6">fixedptMultiply</a> (s32 a, s32 b)</td></tr>
41  
42 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">multiply a and b (a*b) with fixed-point math <br></td></tr>
43 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a7" doxytag="fixedpt.c::fixedptDivide"></a>
44 s32&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="fixedpt_8c.html#a7">fixedptDivide</a> (s32 numer, s32 denom)</td></tr>
45  
46 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">divide numer by denom (numer/denom) with fixed-point math <br></td></tr>
47 <tr><td colspan="2"><br><h2>Variables</h2></td></tr>
48 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a0" doxytag="fixedpt.c::FixedPtBits"></a>
49 u08&nbsp;</td><td class="memItemRight" valign="bottom"><b>FixedPtBits</b></td></tr>
50  
51 </table>
52 <hr size="1"><address style="align: right;"><small>Generated on Sun Oct 29 03:41:08 2006 for Procyon AVRlib by&nbsp;
53 <a href="http://www.doxygen.org/index.html">
54 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.2 </small></address>
55 </body>
56 </html>
{BLAME END}
{FOOTER START}

Powered by WebSVN v2.8.3