| 1 | <?xml version='1.0' encoding='UTF-8' standalone='no'?> |
|---|
| 2 | <doxygen xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="compound.xsd" version="1.5.6"> |
|---|
| 3 | <compounddef id="fixed_8h" kind="file"> |
|---|
| 4 | <compoundname>fixed.h</compoundname> |
|---|
| 5 | <includedby refid="ekf_8cpp" local="yes">work/git/mixpp/pmsm/simulator_zdenek/ekf_example/ekf.cpp</includedby> |
|---|
| 6 | <includedby refid="ekf__obj_8h" local="yes">work/git/mixpp/pmsm/simulator_zdenek/ekf_example/ekf_obj.h</includedby> |
|---|
| 7 | <includedby refid="fixed_8cpp" local="yes">work/git/mixpp/pmsm/simulator_zdenek/ekf_example/fixed.cpp</includedby> |
|---|
| 8 | <invincdepgraph> |
|---|
| 9 | <node id="755"> |
|---|
| 10 | <label>work/git/mixpp/pmsm/simulator_zdenek/ekf_example/fixed.h</label> |
|---|
| 11 | <link refid="fixed.h"/> |
|---|
| 12 | <childnode refid="756" relation="include"> |
|---|
| 13 | </childnode> |
|---|
| 14 | </node> |
|---|
| 15 | <node id="756"> |
|---|
| 16 | <label>work/git/mixpp/pmsm/simulator_zdenek/ekf_example/ekf_obj.h</label> |
|---|
| 17 | <link refid="ekf__obj_8h"/> |
|---|
| 18 | </node> |
|---|
| 19 | </invincdepgraph> |
|---|
| 20 | <sectiondef kind="func"> |
|---|
| 21 | <memberdef kind="function" id="fixed_8h_198167cf2f2a56e52fe05495e1ac08678" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual"> |
|---|
| 22 | <type>long</type> |
|---|
| 23 | <definition>long prevod</definition> |
|---|
| 24 | <argsstring>(double x, unsigned int posun)</argsstring> |
|---|
| 25 | <name>prevod</name> |
|---|
| 26 | <param> |
|---|
| 27 | <type>double</type> |
|---|
| 28 | <declname>x</declname> |
|---|
| 29 | </param> |
|---|
| 30 | <param> |
|---|
| 31 | <type>unsigned int</type> |
|---|
| 32 | <declname>posun</declname> |
|---|
| 33 | </param> |
|---|
| 34 | <briefdescription> |
|---|
| 35 | </briefdescription> |
|---|
| 36 | <detaileddescription> |
|---|
| 37 | </detaileddescription> |
|---|
| 38 | <inbodydescription> |
|---|
| 39 | </inbodydescription> |
|---|
| 40 | <location file="/home/smidl/work/git/mixpp/pmsm/simulator_zdenek/ekf_example/fixed.h" line="8"/> |
|---|
| 41 | </memberdef> |
|---|
| 42 | <memberdef kind="function" id="fixed_8h_1621d21561d09502b53759d627511b688" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual"> |
|---|
| 43 | <type>double</type> |
|---|
| 44 | <definition>double zprevod</definition> |
|---|
| 45 | <argsstring>(long x, unsigned int posun)</argsstring> |
|---|
| 46 | <name>zprevod</name> |
|---|
| 47 | <param> |
|---|
| 48 | <type>long</type> |
|---|
| 49 | <declname>x</declname> |
|---|
| 50 | </param> |
|---|
| 51 | <param> |
|---|
| 52 | <type>unsigned int</type> |
|---|
| 53 | <declname>posun</declname> |
|---|
| 54 | </param> |
|---|
| 55 | <briefdescription> |
|---|
| 56 | </briefdescription> |
|---|
| 57 | <detaileddescription> |
|---|
| 58 | </detaileddescription> |
|---|
| 59 | <inbodydescription> |
|---|
| 60 | </inbodydescription> |
|---|
| 61 | <location file="/home/smidl/work/git/mixpp/pmsm/simulator_zdenek/ekf_example/fixed.h" line="10"/> |
|---|
| 62 | </memberdef> |
|---|
| 63 | <memberdef kind="function" id="fixed_8h_150d456f9c404f8c7e49246d61930c59c" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual"> |
|---|
| 64 | <type>long</type> |
|---|
| 65 | <definition>long nasob</definition> |
|---|
| 66 | <argsstring>(int x, int y, unsigned int posun)</argsstring> |
|---|
| 67 | <name>nasob</name> |
|---|
| 68 | <param> |
|---|
| 69 | <type>int</type> |
|---|
| 70 | <declname>x</declname> |
|---|
| 71 | </param> |
|---|
| 72 | <param> |
|---|
| 73 | <type>int</type> |
|---|
| 74 | <declname>y</declname> |
|---|
| 75 | </param> |
|---|
| 76 | <param> |
|---|
| 77 | <type>unsigned int</type> |
|---|
| 78 | <declname>posun</declname> |
|---|
| 79 | </param> |
|---|
| 80 | <briefdescription> |
|---|
| 81 | </briefdescription> |
|---|
| 82 | <detaileddescription> |
|---|
| 83 | </detaileddescription> |
|---|
| 84 | <inbodydescription> |
|---|
| 85 | </inbodydescription> |
|---|
| 86 | <location file="/home/smidl/work/git/mixpp/pmsm/simulator_zdenek/ekf_example/fixed.h" line="12"/> |
|---|
| 87 | </memberdef> |
|---|
| 88 | <memberdef kind="function" id="fixed_8h_19aaf1455f6660d8566e6876236e3e3ab" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual"> |
|---|
| 89 | <type>int</type> |
|---|
| 90 | <definition>int deleni15</definition> |
|---|
| 91 | <argsstring>(int x, int y)</argsstring> |
|---|
| 92 | <name>deleni15</name> |
|---|
| 93 | <param> |
|---|
| 94 | <type>int</type> |
|---|
| 95 | <declname>x</declname> |
|---|
| 96 | </param> |
|---|
| 97 | <param> |
|---|
| 98 | <type>int</type> |
|---|
| 99 | <declname>y</declname> |
|---|
| 100 | </param> |
|---|
| 101 | <briefdescription> |
|---|
| 102 | </briefdescription> |
|---|
| 103 | <detaileddescription> |
|---|
| 104 | </detaileddescription> |
|---|
| 105 | <inbodydescription> |
|---|
| 106 | </inbodydescription> |
|---|
| 107 | <location file="/home/smidl/work/git/mixpp/pmsm/simulator_zdenek/ekf_example/fixed.h" line="14"/> |
|---|
| 108 | </memberdef> |
|---|
| 109 | <memberdef kind="function" id="fixed_8h_1ea13e9b9069cde6d7947242971c7780c" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual"> |
|---|
| 110 | <type>int</type> |
|---|
| 111 | <definition>int deleni</definition> |
|---|
| 112 | <argsstring>(int x, int y, int posun1, int posun2, int scale, int posun_fin)</argsstring> |
|---|
| 113 | <name>deleni</name> |
|---|
| 114 | <param> |
|---|
| 115 | <type>int</type> |
|---|
| 116 | <declname>x</declname> |
|---|
| 117 | </param> |
|---|
| 118 | <param> |
|---|
| 119 | <type>int</type> |
|---|
| 120 | <declname>y</declname> |
|---|
| 121 | </param> |
|---|
| 122 | <param> |
|---|
| 123 | <type>int</type> |
|---|
| 124 | <declname>posun1</declname> |
|---|
| 125 | </param> |
|---|
| 126 | <param> |
|---|
| 127 | <type>int</type> |
|---|
| 128 | <declname>posun2</declname> |
|---|
| 129 | </param> |
|---|
| 130 | <param> |
|---|
| 131 | <type>int</type> |
|---|
| 132 | <declname>scale</declname> |
|---|
| 133 | </param> |
|---|
| 134 | <param> |
|---|
| 135 | <type>int</type> |
|---|
| 136 | <declname>posun_fin</declname> |
|---|
| 137 | </param> |
|---|
| 138 | <briefdescription> |
|---|
| 139 | </briefdescription> |
|---|
| 140 | <detaileddescription> |
|---|
| 141 | </detaileddescription> |
|---|
| 142 | <inbodydescription> |
|---|
| 143 | </inbodydescription> |
|---|
| 144 | <location file="/home/smidl/work/git/mixpp/pmsm/simulator_zdenek/ekf_example/fixed.h" line="16"/> |
|---|
| 145 | </memberdef> |
|---|
| 146 | </sectiondef> |
|---|
| 147 | <briefdescription> |
|---|
| 148 | </briefdescription> |
|---|
| 149 | <detaileddescription> |
|---|
| 150 | </detaileddescription> |
|---|
| 151 | <programlisting> |
|---|
| 152 | <codeline lineno="1"><highlight class="comment">/*<sp/></highlight></codeline> |
|---|
| 153 | <codeline lineno="2"><highlight class="comment"><sp/><sp/><sp/>Operace<sp/>v<sp/>pevne<sp/>radove<sp/>carce</highlight></codeline> |
|---|
| 154 | <codeline lineno="3"><highlight class="comment"><sp/><sp/><sp/></highlight></codeline> |
|---|
| 155 | <codeline lineno="4"><highlight class="comment"><sp/><sp/><sp/>9.10.2005</highlight></codeline> |
|---|
| 156 | <codeline lineno="5"><highlight class="comment">*/</highlight><highlight class="normal"></highlight></codeline> |
|---|
| 157 | <codeline lineno="6"><highlight class="normal"></highlight></codeline> |
|---|
| 158 | <codeline lineno="7"><highlight class="normal"></highlight></codeline> |
|---|
| 159 | <codeline lineno="8"><highlight class="normal"></highlight><highlight class="keyword">extern</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">long</highlight><highlight class="normal"><sp/>prevod(</highlight><highlight class="keywordtype">double</highlight><highlight class="normal"><sp/>x,<sp/></highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>posun);</highlight></codeline> |
|---|
| 160 | <codeline lineno="9"><highlight class="normal"></highlight><highlight class="comment">//<sp/>prevod<sp/>"x"<sp/>do<sp/>systemu<sp/>"Qposun"</highlight><highlight class="normal"></highlight></codeline> |
|---|
| 161 | <codeline lineno="10"><highlight class="normal"></highlight><highlight class="keyword">extern</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">double</highlight><highlight class="normal"><sp/>zprevod(</highlight><highlight class="keywordtype">long</highlight><highlight class="normal"><sp/>x,<sp/></highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>posun);</highlight></codeline> |
|---|
| 162 | <codeline lineno="11"><highlight class="normal"></highlight><highlight class="comment">//<sp/>prevod<sp/>"x"<sp/>ze<sp/>systemu<sp/>"Qposun"<sp/>do<sp/>DOUBLE</highlight><highlight class="normal"></highlight></codeline> |
|---|
| 163 | <codeline lineno="12"><highlight class="normal"></highlight><highlight class="keyword">extern</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">long</highlight><highlight class="normal"><sp/>nasob(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>x,<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>y,</highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>posun);</highlight></codeline> |
|---|
| 164 | <codeline lineno="13"><highlight class="normal"></highlight><highlight class="comment">//<sp/>(x*y)>>posun</highlight><highlight class="normal"></highlight></codeline> |
|---|
| 165 | <codeline lineno="14"><highlight class="normal"></highlight><highlight class="keyword">extern</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>deleni15(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>x,<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>y);</highlight></codeline> |
|---|
| 166 | <codeline lineno="15"><highlight class="normal"></highlight><highlight class="comment">//<sp/>(x*Q15/y)</highlight><highlight class="normal"></highlight></codeline> |
|---|
| 167 | <codeline lineno="16"><highlight class="normal"></highlight><highlight class="keyword">extern</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>deleni(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>x,<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>y,<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>posun1,<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>posun2,<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>scale,<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>posun_fin);</highlight></codeline> |
|---|
| 168 | <codeline lineno="17"><highlight class="normal"></highlight><highlight class="comment">//<sp/>obecne<sp/>deleni:<sp/>x_"Qposun1"*"Qscale"/y_"Qposun2"<sp/>-><sp/>"Q_posun_fin"</highlight><highlight class="normal"></highlight></codeline> |
|---|
| 169 | </programlisting> |
|---|
| 170 | <location file="/home/smidl/work/git/mixpp/pmsm/simulator_zdenek/ekf_example/fixed.h"/> |
|---|
| 171 | </compounddef> |
|---|
| 172 | </doxygen> |
|---|