16 <ul> |
16 <ul> |
17 <li><a href="files.html"><span>File List</span></a></li> |
17 <li><a href="files.html"><span>File List</span></a></li> |
18 <li><a href="globals.html"><span>Globals</span></a></li> |
18 <li><a href="globals.html"><span>Globals</span></a></li> |
19 </ul></div> |
19 </ul></div> |
20 <div class="nav"> |
20 <div class="nav"> |
21 <a class="el" href="dir_fc8d77725c328f9de5a130dceab5a508.html">examples</a> » <a class="el" href="dir_cb9d6d827bc8780b4808994475b6fec1.html">TestMasterSlave</a></div> |
21 <a class="el" href="dir_aa575cee5acc3b84cc5b4489187a1fd3.html">examples</a> » <a class="el" href="dir_4f45567b048264117a95e53b67d9aefb.html">TestMasterSlave</a></div> |
22 <h1>TestMasterSlave.h</h1><a href="TestMasterSlave_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*</span> |
22 <h1>TestMasterSlave.h</h1><a href="TestMasterSlave_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*</span> |
23 <a name="l00002"></a>00002 <span class="comment">This file is part of CanFestival, a library implementing CanOpen Stack. </span> |
23 <a name="l00002"></a>00002 <span class="comment">This file is part of CanFestival, a library implementing CanOpen Stack. </span> |
24 <a name="l00003"></a>00003 <span class="comment"></span> |
24 <a name="l00003"></a>00003 <span class="comment"></span> |
25 <a name="l00004"></a>00004 <span class="comment">Copyright (C): Edouard TISSERANT and Francis DUPIN</span> |
25 <a name="l00004"></a>00004 <span class="comment">Copyright (C): Edouard TISSERANT and Francis DUPIN</span> |
26 <a name="l00005"></a>00005 <span class="comment"></span> |
26 <a name="l00005"></a>00005 <span class="comment"></span> |
42 <a name="l00021"></a>00021 <span class="comment">*/</span> |
42 <a name="l00021"></a>00021 <span class="comment">*/</span> |
43 <a name="l00022"></a>00022 <span class="preprocessor">#ifdef USE_XENO</span> |
43 <a name="l00022"></a>00022 <span class="preprocessor">#ifdef USE_XENO</span> |
44 <a name="l00023"></a>00023 <span class="preprocessor"></span><span class="comment">//#define eprintf(...) if(0){}</span> |
44 <a name="l00023"></a>00023 <span class="preprocessor"></span><span class="comment">//#define eprintf(...) if(0){}</span> |
45 <a name="l00024"></a>00024 <span class="preprocessor">#define eprintf(...)</span> |
45 <a name="l00024"></a>00024 <span class="preprocessor">#define eprintf(...)</span> |
46 <a name="l00025"></a>00025 <span class="preprocessor"></span><span class="preprocessor">#else</span> |
46 <a name="l00025"></a>00025 <span class="preprocessor"></span><span class="preprocessor">#else</span> |
47 <a name="l00026"></a><a class="code" href="TestMasterSlave_8h.html#82f06ace20f96f70bc165247e69fac57">00026</a> <span class="preprocessor"></span><span class="preprocessor">#define eprintf(...) printf (__VA_ARGS__)</span> |
47 <a name="l00026"></a><a class="code" href="TestMasterSlave_8h.html#1d11de6c74e6c32fa27bcde825414a00">00026</a> <span class="preprocessor"></span><span class="preprocessor">#define eprintf(...) printf (__VA_ARGS__)</span> |
48 <a name="l00027"></a>00027 <span class="preprocessor"></span><span class="preprocessor">#endif</span> |
48 <a name="l00027"></a>00027 <span class="preprocessor"></span><span class="preprocessor">#endif</span> |
49 <a name="l00028"></a>00028 <span class="preprocessor"></span><span class="keywordtype">void</span> <a class="code" href="can__virtual_8c.html#6baa544d467cbabaf4bacadc74cc6523">print_message</a>(<a class="code" href="structMessage.html">Message</a> *m); |
49 <a name="l00028"></a>00028 <span class="preprocessor"></span><span class="keywordtype">void</span> <a class="code" href="can__virtual_8c.html#d1dd3b302365b1f2bd0ce49f3db780d8">print_message</a>(<a class="code" href="structMessage.html">Message</a> *m); |
50 <a name="l00029"></a>00029 |
50 <a name="l00029"></a>00029 |
51 <a name="l00030"></a>00030 <span class="comment">/*UNS8 canSend(CAN_HANDLE fd0, Message *m);*/</span> |
51 <a name="l00030"></a>00030 <span class="comment">/*UNS8 canSend(CAN_HANDLE fd0, Message *m);*/</span> |
52 <a name="l00031"></a>00031 |
52 <a name="l00031"></a>00031 |
53 <a name="l00032"></a>00032 <span class="preprocessor">#include "<a class="code" href="win32_2canfestival_8h.html">canfestival.h</a>"</span> |
53 <a name="l00032"></a>00032 <span class="preprocessor">#include "<a class="code" href="win32_2canfestival_8h.html">canfestival.h</a>"</span> |
54 <a name="l00033"></a>00033 |
54 <a name="l00033"></a>00033 |
77 <a name="l00056"></a>00056 <span class="comment"> Message m;\</span> |
77 <a name="l00056"></a>00056 <span class="comment"> Message m;\</span> |
78 <a name="l00057"></a>00057 <span class="comment"> GetFromFIFO(&m);\</span> |
78 <a name="l00057"></a>00057 <span class="comment"> GetFromFIFO(&m);\</span> |
79 <a name="l00058"></a>00058 <span class="comment"> canDispatch(d, &m);\</span> |
79 <a name="l00058"></a>00058 <span class="comment"> canDispatch(d, &m);\</span> |
80 <a name="l00059"></a>00059 <span class="comment">}</span> |
80 <a name="l00059"></a>00059 <span class="comment">}</span> |
81 <a name="l00060"></a>00060 <span class="comment">*/</span> |
81 <a name="l00060"></a>00060 <span class="comment">*/</span> |
82 </pre></div><hr size="1"><address style="align: right;"><small>Generated on Fri Jun 8 08:51:39 2007 for CanFestival by |
82 </pre></div><hr size="1"><address style="align: right;"><small>Generated on Mon Jul 2 19:10:16 2007 for CanFestival by |
83 <a href="http://www.doxygen.org/index.html"> |
83 <a href="http://www.doxygen.org/index.html"> |
84 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> |
84 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> |
85 </body> |
85 </body> |
86 </html> |
86 </html> |