doc/doxygen/html/main_8c.html
changeset 215 f49e5a6b7804
child 240 34654679f262
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/doc/doxygen/html/main_8c.html	Fri Jun 08 09:23:56 2007 +0200
@@ -0,0 +1,307 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
+<title>CanFestival: examples/win32test/main.c File Reference</title>
+<link href="doxygen.css" rel="stylesheet" type="text/css">
+<link href="tabs.css" rel="stylesheet" type="text/css">
+</head><body>
+<!-- Generated by Doxygen 1.5.1 -->
+<div class="tabs">
+  <ul>
+    <li><a href="main.html"><span>Main&nbsp;Page</span></a></li>
+    <li><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
+    <li id="current"><a href="files.html"><span>Files</span></a></li>
+    <li><a href="dirs.html"><span>Directories</span></a></li>
+  </ul></div>
+<div class="tabs">
+  <ul>
+    <li><a href="files.html"><span>File&nbsp;List</span></a></li>
+    <li><a href="globals.html"><span>Globals</span></a></li>
+  </ul></div>
+<div class="nav">
+<a class="el" href="dir_fc8d77725c328f9de5a130dceab5a508.html">examples</a>&nbsp;&raquo&nbsp;<a class="el" href="dir_9da286b31cfbba48738c6a19280b9fcf.html">win32test</a></div>
+<h1>main.c File Reference</h1><code>#include &lt;stdio.h&gt;</code><br>
+<code>#include &lt;stdlib.h&gt;</code><br>
+<code>#include &quot;<a class="el" href="win32test_8h-source.html">win32test.h</a>&quot;</code><br>
+<code>#include &quot;<a class="el" href="win32_2canfestival_8h-source.html">canfestival.h</a>&quot;</code><br>
+<code>#include &lt;time.h&gt;</code><br>
+
+<p>
+Include dependency graph for main.c:<p><center><img src="main_8c__incl.png" border="0" usemap="#examples/win32test/main.c_map" alt=""></center>
+<map name="examples/win32test/main.c_map">
+<area href="win32test_8h.html" shape="rect" coords="266,348,367,372" alt="">
+<area href="win32_2canfestival_8h.html" shape="rect" coords="263,494,370,518" alt="">
+<area href="data_8h.html" shape="rect" coords="439,299,503,323" alt="">
+<area href="win32_2applicfg_8h.html" shape="rect" coords="731,395,819,419" alt="">
+<area href="def_8h.html" shape="rect" coords="747,83,803,107" alt="">
+<area href="can_8h.html" shape="rect" coords="595,542,654,566" alt="">
+<area href="objdictdef_8h.html" shape="rect" coords="574,347,675,371" alt="">
+<area href="objacces_8h.html" shape="rect" coords="578,155,671,179" alt="">
+<area href="sdo_8h.html" shape="rect" coords="595,443,654,467" alt="">
+<area href="pdo_8h.html" shape="rect" coords="595,107,654,131" alt="">
+<area href="states_8h.html" shape="rect" coords="587,299,662,323" alt="">
+<area href="lifegrd_8h.html" shape="rect" coords="586,395,663,419" alt="">
+<area href="sync_8h.html" shape="rect" coords="591,203,658,227" alt="">
+<area href="nmtMaster_8h.html" shape="rect" coords="571,251,678,275" alt="">
+<area href="win32_2timerscfg_8h.html" shape="rect" coords="726,691,824,715" alt="">
+<area href="can__driver_8h.html" shape="rect" coords="419,542,523,566" alt="">
+</map>
+
+<p>
+<a href="main_8c-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0">
+<tr><td></td></tr>
+<tr><td colspan="2"><br><h2>Defines</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="main_8c.html#912c62bad87e954cee4b1733111a420b">sleep_proc</a>(ms)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="main_8c.html#6faddd33869dd1ccf360315b1f11b554">uptime_ms_proc</a>&nbsp;&nbsp;&nbsp;(1000*(time()%86400))</td></tr>
+
+<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="main_8c.html#b324a2fad227690e3da744b69f7a8119">GetChangeStateResults</a> (UNS8 node_id, UNS8 expected_state, unsigned long timeout_ms)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="main_8c.html#d4427585d0ce571277ff22b72adce526">ReadSDO</a> (UNS8 nodeId, UNS16 index, UNS8 subIndex, UNS8 dataType, void *data, UNS8 *size)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="main_8c.html#0ddf1224851353fc92bfbff6f499fa97">main</a> (int argc, char *argv[])</td></tr>
+
+</table>
+<hr><h2>Define Documentation</h2>
+<a class="anchor" name="912c62bad87e954cee4b1733111a420b"></a><!-- doxytag: member="main.c::sleep_proc" ref="912c62bad87e954cee4b1733111a420b" args="(ms)" -->
+<div class="memitem">
+<div class="memproto">
+      <table class="memname">
+        <tr>
+          <td class="memname">#define sleep_proc          </td>
+          <td>(</td>
+          <td class="paramtype">ms&nbsp;</td>
+          <td class="paramname">          </td>
+          <td>&nbsp;)&nbsp;</td>
+          <td width="100%"></td>
+        </tr>
+      </table>
+</div>
+<div class="memdoc">
+
+<p>
+
+<p>
+Definition at line <a class="el" href="main_8c-source.html#l00033">33</a> of file <a class="el" href="main_8c-source.html">main.c</a>.
+<p>
+Referenced by <a class="el" href="main_8c-source.html#l00037">GetChangeStateResults()</a>, and <a class="el" href="main_8c-source.html#l00057">ReadSDO()</a>.
+</div>
+</div><p>
+<a class="anchor" name="6faddd33869dd1ccf360315b1f11b554"></a><!-- doxytag: member="main.c::uptime_ms_proc" ref="6faddd33869dd1ccf360315b1f11b554" args="" -->
+<div class="memitem">
+<div class="memproto">
+      <table class="memname">
+        <tr>
+          <td class="memname">#define uptime_ms_proc&nbsp;&nbsp;&nbsp;(1000*(time()%86400))          </td>
+        </tr>
+      </table>
+</div>
+<div class="memdoc">
+
+<p>
+
+<p>
+Definition at line <a class="el" href="main_8c-source.html#l00034">34</a> of file <a class="el" href="main_8c-source.html">main.c</a>.
+<p>
+Referenced by <a class="el" href="main_8c-source.html#l00037">GetChangeStateResults()</a>.
+</div>
+</div><p>
+<hr><h2>Function Documentation</h2>
+<a class="anchor" name="b324a2fad227690e3da744b69f7a8119"></a><!-- doxytag: member="main.c::GetChangeStateResults" ref="b324a2fad227690e3da744b69f7a8119" args="(UNS8 node_id, UNS8 expected_state, unsigned long timeout_ms)" -->
+<div class="memitem">
+<div class="memproto">
+      <table class="memname">
+        <tr>
+          <td class="memname">UNS8 GetChangeStateResults           </td>
+          <td>(</td>
+          <td class="paramtype">UNS8&nbsp;</td>
+          <td class="paramname"> <em>node_id</em>, </td>
+        </tr>
+        <tr>
+          <td class="paramkey"></td>
+          <td></td>
+          <td class="paramtype">UNS8&nbsp;</td>
+          <td class="paramname"> <em>expected_state</em>, </td>
+        </tr>
+        <tr>
+          <td class="paramkey"></td>
+          <td></td>
+          <td class="paramtype">unsigned long&nbsp;</td>
+          <td class="paramname"> <em>timeout_ms</em></td><td>&nbsp;</td>
+        </tr>
+        <tr>
+          <td></td>
+          <td>)</td>
+          <td></td><td></td><td width="100%"></td>
+        </tr>
+      </table>
+</div>
+<div class="memdoc">
+
+<p>
+
+<p>
+Definition at line <a class="el" href="main_8c-source.html#l00037">37</a> of file <a class="el" href="main_8c-source.html">main.c</a>.
+<p>
+References <a class="el" href="lifegrd_8c-source.html#l00055">getNodeState()</a>, <a class="el" href="nmtMaster_8c-source.html#l00090">masterRequestNodeState()</a>, <a class="el" href="data_8h-source.html#l00075">struct_CO_Data::NMTable</a>, <a class="el" href="main_8c-source.html#l00033">sleep_proc</a>, <a class="el" href="states_8h.html#3136d2815abe9d284f985e0a7ec68646cb4b5cb64be091d76f846380eb0afe59">Unknown_state</a>, <a class="el" href="main_8c-source.html#l00034">uptime_ms_proc</a>, and <a class="el" href="win32test_8c-source.html#l00158">win32test_Data</a>.
+<p>
+Referenced by <a class="el" href="main_8c-source.html#l00079">main()</a>.
+<p>
+Here is the call graph for this function:<p><center><img src="main_8c_b324a2fad227690e3da744b69f7a8119_cgraph.png" border="0" usemap="#main_8c_b324a2fad227690e3da744b69f7a8119_cgraph_map" alt=""></center>
+<map name="main_8c_b324a2fad227690e3da744b69f7a8119_cgraph_map">
+<area href="lifegrd_8c.html#627254070e45c23f1776e12c524492ff" shape="rect" coords="277,6,392,30" alt="">
+<area href="nmtMaster_8c.html#98bee3f402438056dbd653e752054796" shape="rect" coords="237,54,432,78" alt="">
+<area href="nmtMaster_8c.html#f63689baeabb15103c2b7afe8885c5c4" shape="rect" coords="481,54,687,78" alt="">
+<area href="canOpenDriver_8c.html#b57b4b3c000e9f61135175495e874977" shape="rect" coords="737,54,817,78" alt="">
+<area href="canOpenDriver_8c.html#2f2d1ed55cfd9d7f85883f8d70d318ba" shape="rect" coords="868,54,999,78" alt="">
+</map>
+
+</div>
+</div><p>
+<a class="anchor" name="0ddf1224851353fc92bfbff6f499fa97"></a><!-- doxytag: member="main.c::main" ref="0ddf1224851353fc92bfbff6f499fa97" args="(int argc, char *argv[])" -->
+<div class="memitem">
+<div class="memproto">
+      <table class="memname">
+        <tr>
+          <td class="memname">int main           </td>
+          <td>(</td>
+          <td class="paramtype">int&nbsp;</td>
+          <td class="paramname"> <em>argc</em>, </td>
+        </tr>
+        <tr>
+          <td class="paramkey"></td>
+          <td></td>
+          <td class="paramtype">char *&nbsp;</td>
+          <td class="paramname"> <em>argv</em>[]</td><td>&nbsp;</td>
+        </tr>
+        <tr>
+          <td></td>
+          <td>)</td>
+          <td></td><td></td><td width="100%"></td>
+        </tr>
+      </table>
+</div>
+<div class="memdoc">
+
+<p>
+
+<p>
+Definition at line <a class="el" href="main_8c-source.html#l00079">79</a> of file <a class="el" href="main_8c-source.html">main.c</a>.
+<p>
+References <a class="el" href="unix_8c-source.html#l00178">canClose()</a>, <a class="el" href="unix_8c-source.html#l00145">canOpen()</a>, <a class="el" href="main_8c-source.html#l00037">GetChangeStateResults()</a>, <a class="el" href="states_8h.html#3136d2815abe9d284f985e0a7ec68646eb3ae26d7a1629aa0fc6c83f46306cf5">Initialisation</a>, <a class="el" href="unix_8c-source.html#l00084">LoadCanDriver()</a>, <a class="el" href="TestMasterSlave_8c-source.html#l00053">MasterBoard</a>, <a class="el" href="nmtMaster_8c-source.html#l00045">masterSendNMTstateChange()</a>, <a class="el" href="def_8h-source.html#l00104">NMT_Start_Node</a>, <a class="el" href="def_8h-source.html#l00105">NMT_Stop_Node</a>, <a class="el" href="def_8h-source.html#l00031">OD_SUCCESSFUL</a>, <a class="el" href="states_8h.html#3136d2815abe9d284f985e0a7ec68646a80594b1522cb686b981f56bbec45124">Operational</a>, <a class="el" href="main_8c-source.html#l00057">ReadSDO()</a>, <a class="el" href="objdictdef_8h-source.html#l00085">RW</a>, <a class="el" href="states_8c-source.html#l00235">setNodeId()</a>, <a class="el" href="states_8c-source.html#l00138">setState()</a>, <a class="el" href="states_8h.html#3136d2815abe9d284f985e0a7ec686464d049c6d45e08a294523df186ad77a75">Stopped</a>, <a class="el" href="objdictdef_8h-source.html#l00038">uint32</a>, <a class="el" href="hcs12_2applicfg_8h-source.html#l00141">UNS32</a>, <a class="el" href="hcs12_2applicfg_8h-source.html#l00139">UNS8</a>, <a class="el" href="objdictdef_8h-source.html#l00040">visible_string</a>, <a class="el" href="win32test_8c-source.html#l00158">win32test_Data</a>, and <a class="el" href="objacces_8c-source.html#l00378">writeLocalDict()</a>.
+<p>
+Here is the call graph for this function:<p><center><img src="main_8c_0ddf1224851353fc92bfbff6f499fa97_cgraph.png" border="0" usemap="#main_8c_0ddf1224851353fc92bfbff6f499fa97_cgraph_map" alt=""></center>
+<map name="main_8c_0ddf1224851353fc92bfbff6f499fa97_cgraph_map">
+<area href="unix_8c.html#02957f72a9b951603adb98a142bd447b" shape="rect" coords="160,198,243,222" alt="">
+<area href="unix_8c.html#7476146ad15948a22e7f80a00c89c40a" shape="rect" coords="160,246,243,270" alt="">
+<area href="main_8c.html#b324a2fad227690e3da744b69f7a8119" shape="rect" coords="111,294,292,318" alt="">
+<area href="unix_8c.html#a6eed61fc15f41f772d4645d7a5edeb5" shape="rect" coords="140,488,263,512" alt="">
+<area href="nmtMaster_8c.html#6170d95d9900ef756921a934c5fb37d2" shape="rect" coords="343,227,559,251" alt="">
+<area href="main_8c.html#d4427585d0ce571277ff22b72adce526" shape="rect" coords="159,440,244,464" alt="">
+<area href="states_8c.html#d47a53979b9311a374d029f7923abbe1" shape="rect" coords="156,536,247,560" alt="">
+<area href="states_8c.html#0a5004efd1dedbee82a4f21ec5c44fb5" shape="rect" coords="163,392,240,416" alt="">
+<area href="objacces_8c.html#7cc58d6e7711bd0d9fd75e8ff721ce36" shape="rect" coords="143,586,260,610" alt="">
+<area href="lifegrd_8c.html#627254070e45c23f1776e12c524492ff" shape="rect" coords="393,179,508,203" alt="">
+<area href="nmtMaster_8c.html#98bee3f402438056dbd653e752054796" shape="rect" coords="353,56,548,80" alt="">
+<area href="nmtMaster_8c.html#f63689baeabb15103c2b7afe8885c5c4" shape="rect" coords="609,6,815,30" alt="">
+<area href="canOpenDriver_8c.html#b57b4b3c000e9f61135175495e874977" shape="rect" coords="896,55,976,79" alt="">
+<area href="sdo_8c.html#555a772d3a88a29c495f33513f8b2d58" shape="rect" coords="643,443,781,467" alt="">
+<area href="sdo_8c.html#05b0c8eee1faee3c7a2f6e2ba3a16533" shape="rect" coords="349,539,552,563" alt="">
+<area href="sdo_8c.html#0e102a0835e4115920cd406e80a8d135" shape="rect" coords="384,491,517,515" alt="">
+<area href="sdo_8c.html#bb0c376b048ab2c6e0524b135b62376f" shape="rect" coords="865,479,1007,503" alt="">
+<area href="sdo_8c.html#42d33be015d4c4c83c73f1f0e588f481" shape="rect" coords="881,419,991,443" alt="">
+<area href="sdo_8c.html#4bb4b3cd35af7e7580cffde23e9d3270" shape="rect" coords="641,491,783,515" alt="">
+<area href="dcf_8c.html#8452e163e7649968ad6dae1601a5fb0d" shape="rect" coords="395,392,507,416" alt="">
+<area href="states_8c.html#915991eebf7c2ac6c929c6c9cfbd7d03" shape="rect" coords="348,275,553,299" alt="">
+<area href="dcf_8c.html#3c07605ffe3ea197aa36e583ef87a20a" shape="rect" coords="639,395,785,419" alt="">
+<area href="lifegrd_8c.html#8896f6846e4d020390f6953f3d98aa21" shape="rect" coords="657,299,767,323" alt="">
+<area href="lifegrd_8c.html#1b73047269c2a02065e12af18c6053c7" shape="rect" coords="653,347,771,371" alt="">
+<area href="sdo_8c.html#1f4f07eccc4890a11ccf4f632da7740b" shape="rect" coords="669,251,755,275" alt="">
+<area href="nmtSlave_8c.html#aced28a97b2c256320dfde3c4b36a7d5" shape="rect" coords="641,104,783,128" alt="">
+<area href="sync_8c.html#2e0bf669f5b40dfbdda0f12a5ae3631a" shape="rect" coords="668,203,756,227" alt="">
+<area href="sync_8c.html#41c47dbd59d22bf9bab6cd288cf27164" shape="rect" coords="892,179,980,203" alt="">
+<area href="objacces_8c.html#72f69950be4a1352fc78648c71454820" shape="rect" coords="397,588,504,612" alt="">
+<area href="objacces_8c.html#75d39b2dadcdb48f7321c6f3766aad26" shape="rect" coords="628,590,796,614" alt="">
+</map>
+
+</div>
+</div><p>
+<a class="anchor" name="d4427585d0ce571277ff22b72adce526"></a><!-- doxytag: member="main.c::ReadSDO" ref="d4427585d0ce571277ff22b72adce526" args="(UNS8 nodeId, UNS16 index, UNS8 subIndex, UNS8 dataType, void *data, UNS8 *size)" -->
+<div class="memitem">
+<div class="memproto">
+      <table class="memname">
+        <tr>
+          <td class="memname">UNS8 ReadSDO           </td>
+          <td>(</td>
+          <td class="paramtype">UNS8&nbsp;</td>
+          <td class="paramname"> <em>nodeId</em>, </td>
+        </tr>
+        <tr>
+          <td class="paramkey"></td>
+          <td></td>
+          <td class="paramtype">UNS16&nbsp;</td>
+          <td class="paramname"> <em>index</em>, </td>
+        </tr>
+        <tr>
+          <td class="paramkey"></td>
+          <td></td>
+          <td class="paramtype">UNS8&nbsp;</td>
+          <td class="paramname"> <em>subIndex</em>, </td>
+        </tr>
+        <tr>
+          <td class="paramkey"></td>
+          <td></td>
+          <td class="paramtype">UNS8&nbsp;</td>
+          <td class="paramname"> <em>dataType</em>, </td>
+        </tr>
+        <tr>
+          <td class="paramkey"></td>
+          <td></td>
+          <td class="paramtype">void *&nbsp;</td>
+          <td class="paramname"> <em>data</em>, </td>
+        </tr>
+        <tr>
+          <td class="paramkey"></td>
+          <td></td>
+          <td class="paramtype">UNS8 *&nbsp;</td>
+          <td class="paramname"> <em>size</em></td><td>&nbsp;</td>
+        </tr>
+        <tr>
+          <td></td>
+          <td>)</td>
+          <td></td><td></td><td width="100%"></td>
+        </tr>
+      </table>
+</div>
+<div class="memdoc">
+
+<p>
+
+<p>
+Definition at line <a class="el" href="main_8c-source.html#l00057">57</a> of file <a class="el" href="main_8c-source.html">main.c</a>.
+<p>
+References <a class="el" href="sdo_8c-source.html#l00439">closeSDOtransfer()</a>, <a class="el" href="sdo_8c-source.html#l01532">getReadResultNetworkDict()</a>, <a class="el" href="sdo_8c-source.html#l01499">readNetworkDict()</a>, <a class="el" href="def_8h-source.html#l00079">SDO_CLIENT</a>, <a class="el" href="def_8h-source.html#l00071">SDO_FINISHED</a>, <a class="el" href="def_8h-source.html#l00075">SDO_UPLOAD_IN_PROGRESS</a>, <a class="el" href="main_8c-source.html#l00033">sleep_proc</a>, <a class="el" href="hcs12_2applicfg_8h-source.html#l00141">UNS32</a>, <a class="el" href="hcs12_2applicfg_8h-source.html#l00139">UNS8</a>, and <a class="el" href="win32test_8c-source.html#l00158">win32test_Data</a>.
+<p>
+Referenced by <a class="el" href="main_8c-source.html#l00079">main()</a>.
+<p>
+Here is the call graph for this function:<p><center><img src="main_8c_d4427585d0ce571277ff22b72adce526_cgraph.png" border="0" usemap="#main_8c_d4427585d0ce571277ff22b72adce526_cgraph_map" alt=""></center>
+<map name="main_8c_d4427585d0ce571277ff22b72adce526_cgraph_map">
+<area href="sdo_8c.html#555a772d3a88a29c495f33513f8b2d58" shape="rect" coords="392,56,531,80" alt="">
+<area href="sdo_8c.html#05b0c8eee1faee3c7a2f6e2ba3a16533" shape="rect" coords="139,7,341,31" alt="">
+<area href="sdo_8c.html#0e102a0835e4115920cd406e80a8d135" shape="rect" coords="173,105,307,129" alt="">
+<area href="sdo_8c.html#bb0c376b048ab2c6e0524b135b62376f" shape="rect" coords="583,8,724,32" alt="">
+<area href="sdo_8c.html#42d33be015d4c4c83c73f1f0e588f481" shape="rect" coords="599,56,708,80" alt="">
+<area href="sdo_8c.html#b9c873a15f55b29112b5527a6cc6898d" shape="rect" coords="775,81,871,105" alt="">
+<area href="sdo_8c.html#4bb4b3cd35af7e7580cffde23e9d3270" shape="rect" coords="391,105,532,129" alt="">
+<area href="sdo_8c.html#58d1f9691977617601beb9e5b4123252" shape="rect" coords="589,155,717,179" alt="">
+<area href="sdo_8c.html#c6b5d7d1439d537da992a96644a1ca5d" shape="rect" coords="612,203,695,227" alt="">
+<area href="canOpenDriver_8c.html#b57b4b3c000e9f61135175495e874977" shape="rect" coords="783,203,863,227" alt="">
+</map>
+
+</div>
+</div><p>
+<hr size="1"><address style="align: right;"><small>Generated on Fri Jun 8 08:51:54 2007 for CanFestival by&nbsp;
+<a href="http://www.doxygen.org/index.html">
+<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address>
+</body>
+</html>