| 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.h 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 Page</a> | <a class="qindex" href="modules.html">Modules</a> | <a class="qindex" href="annotated.html">Data Structures</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Data Fields</a> | <a class="qindex" href="globals.html">Globals</a> | <a class="qindex" href="pages.html">Related Pages</a></div> | ||
| 8 | <h1>fixedpt.h File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2> | ||
| 9 | |||
| 10 | <p> | ||
| 11 | Definition in file <a class="el" href="fixedpt_8h-source.html">fixedpt.h</a>. | ||
| 12 | <p> | ||
| 13 | <code>#include "<a class="el" href="global_8h-source.html">global.h</a>"</code><br> | ||
| 14 | |||
| 15 | <p> | ||
| 16 | <a href="fixedpt_8h-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="a0" doxytag="fixedpt.h::fixedptInit"></a> | ||
| 20 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="fixedpt_8h.html#a0">fixedptInit</a> (u08 fixedPtBits)</td></tr> | ||
| 21 | |||
| 22 | <tr><td class="mdescLeft"> </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="a1" doxytag="fixedpt.h::fixedptConvertFromInt"></a> | ||
| 24 | s32 </td><td class="memItemRight" valign="bottom"><a class="el" href="fixedpt_8h.html#a1">fixedptConvertFromInt</a> (s32 int_number)</td></tr> | ||
| 25 | |||
| 26 | <tr><td class="mdescLeft"> </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="a2" doxytag="fixedpt.h::fixedptConvertToInt"></a> | ||
| 28 | s32 </td><td class="memItemRight" valign="bottom"><a class="el" href="fixedpt_8h.html#a2">fixedptConvertToInt</a> (s32 fp_number)</td></tr> | ||
| 29 | |||
| 30 | <tr><td class="mdescLeft"> </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="a3" doxytag="fixedpt.h::fixedptAdd"></a> | ||
| 32 | s32 </td><td class="memItemRight" valign="bottom"><a class="el" href="fixedpt_8h.html#a3">fixedptAdd</a> (s32 a, s32 b)</td></tr> | ||
| 33 | |||
| 34 | <tr><td class="mdescLeft"> </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="a4" doxytag="fixedpt.h::fixedptSubtract"></a> | ||
| 36 | s32 </td><td class="memItemRight" valign="bottom"><a class="el" href="fixedpt_8h.html#a4">fixedptSubtract</a> (s32 a, s32 b)</td></tr> | ||
| 37 | |||
| 38 | <tr><td class="mdescLeft"> </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="a5" doxytag="fixedpt.h::fixedptMultiply"></a> | ||
| 40 | s32 </td><td class="memItemRight" valign="bottom"><a class="el" href="fixedpt_8h.html#a5">fixedptMultiply</a> (s32 a, s32 b)</td></tr> | ||
| 41 | |||
| 42 | <tr><td class="mdescLeft"> </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="a6" doxytag="fixedpt.h::fixedptDivide"></a> | ||
| 44 | s32 </td><td class="memItemRight" valign="bottom"><a class="el" href="fixedpt_8h.html#a6">fixedptDivide</a> (s32 numer, s32 denom)</td></tr> | ||
| 45 | |||
| 46 | <tr><td class="mdescLeft"> </td><td class="mdescRight">divide numer by denom (numer/denom) with fixed-point math <br></td></tr> | ||
| 47 | </table> | ||
| 48 | <hr size="1"><address style="align: right;"><small>Generated on Sun Oct 29 03:41:08 2006 for Procyon AVRlib by  | ||
| 49 | <a href="http://www.doxygen.org/index.html"> | ||
| 50 | <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.2 </small></address> | ||
| 51 | </body> | ||
| 52 | </html> | 
Powered by WebSVN v2.8.3