[84] | 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"> |
---|
[145] | 3 | <title>mixpp: work/git/mixpp/pmsm/simulator_zdenek/ekf_example/fixed.h Source File</title> |
---|
[84] | 4 | <link href="doxygen.css" rel="stylesheet" type="text/css"> |
---|
| 5 | <link href="tabs.css" rel="stylesheet" type="text/css"> |
---|
| 6 | </head><body> |
---|
[139] | 7 | <!-- Generated by Doxygen 1.5.6 --> |
---|
[91] | 8 | <div class="navigation" id="top"> |
---|
| 9 | <div class="tabs"> |
---|
| 10 | <ul> |
---|
| 11 | <li><a href="index.html"><span>Main Page</span></a></li> |
---|
| 12 | <li><a href="pages.html"><span>Related 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> |
---|
[145] | 17 | <h1>work/git/mixpp/pmsm/simulator_zdenek/ekf_example/fixed.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/* </span> |
---|
[84] | 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)>>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" -> "Q_posun_fin"</span> |
---|
[91] | 34 | </pre></div></div> |
---|
[171] | 35 | <hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:46 2008 for mixpp by |
---|
[84] | 36 | <a href="http://www.doxygen.org/index.html"> |
---|
[139] | 37 | <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> |
---|
[84] | 38 | </body> |
---|
| 39 | </html> |
---|