root/doc/html/fixed_8h-source.html @ 91

Revision 91, 3.2 kB (checked in by smidl, 17 years ago)

drobnosti a dokumentace

Line 
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
3<title>mixpp: work/mixpp/pmsm/simulator_zdenek/ekf_example/fixed.h Source File</title>
4<link href="doxygen.css" rel="stylesheet" type="text/css">
5<link href="tabs.css" rel="stylesheet" type="text/css">
6</head><body>
7<!-- Generated by Doxygen 1.5.5 -->
8<div class="navigation" id="top">
9  <div class="tabs">
10    <ul>
11      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
12      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
13      <li><a href="annotated.html"><span>Classes</span></a></li>
14      <li class="current"><a href="files.html"><span>Files</span></a></li>
15    </ul>
16  </div>
17<h1>work/mixpp/pmsm/simulator_zdenek/ekf_example/fixed.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/* </span>
18<a name="l00002"></a>00002 <span class="comment">   Operace v pevne radove carce</span>
19<a name="l00003"></a>00003 <span class="comment">   </span>
20<a name="l00004"></a>00004 <span class="comment">   9.10.2005</span>
21<a name="l00005"></a>00005 <span class="comment">*/</span>
22<a name="l00006"></a>00006
23<a name="l00007"></a>00007
24<a name="l00008"></a>00008 <span class="keyword">extern</span> <span class="keywordtype">long</span> prevod(<span class="keywordtype">double</span> x, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> posun);
25<a name="l00009"></a>00009 <span class="comment">// prevod "x" do systemu "Qposun"</span>
26<a name="l00010"></a>00010 <span class="keyword">extern</span> <span class="keywordtype">double</span> zprevod(<span class="keywordtype">long</span> x, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> posun);
27<a name="l00011"></a>00011 <span class="comment">// prevod "x" ze systemu "Qposun" do DOUBLE</span>
28<a name="l00012"></a>00012 <span class="keyword">extern</span> <span class="keywordtype">long</span> nasob(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y,<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> posun);
29<a name="l00013"></a>00013 <span class="comment">// (x*y)&gt;&gt;posun</span>
30<a name="l00014"></a>00014 <span class="keyword">extern</span> <span class="keywordtype">int</span> deleni15(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y);
31<a name="l00015"></a>00015 <span class="comment">// (x*Q15/y)</span>
32<a name="l00016"></a>00016 <span class="keyword">extern</span> <span class="keywordtype">int</span> deleni(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y, <span class="keywordtype">int</span> posun1, <span class="keywordtype">int</span> posun2, <span class="keywordtype">int</span> scale, <span class="keywordtype">int</span> posun_fin);
33<a name="l00017"></a>00017 <span class="comment">// obecne deleni: x_"Qposun1"*"Qscale"/y_"Qposun2" -&gt; "Q_posun_fin"</span>
34</pre></div></div>
35<hr size="1"><address style="text-align: right;"><small>Generated on Tue Apr 29 20:46:25 2008 for mixpp by&nbsp;
36<a href="http://www.doxygen.org/index.html">
37<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
38</body>
39</html>
Note: See TracBrowser for help on using the browser.