doc/doxygen/html/can__virtual_8c.html
changeset 210 6b5a4c21e061
parent 209 2cb34a4ac65a
child 211 2a4c2ca03555
equal deleted inserted replaced
209:2cb34a4ac65a 210:6b5a4c21e061
     1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
       
     2 <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
       
     3 <title>CanFestival: /home/epimerde/documents/tc11/CanFestival-3/drivers/can_virtual/can_virtual.c File Reference</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.1 -->
       
     8 <div class="tabs">
       
     9   <ul>
       
    10     <li><a href="main.html"><span>Main&nbsp;Page</span></a></li>
       
    11     <li><a href="namespaces.html"><span>Namespaces</span></a></li>
       
    12     <li><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
       
    13     <li id="current"><a href="files.html"><span>Files</span></a></li>
       
    14   </ul></div>
       
    15 <div class="tabs">
       
    16   <ul>
       
    17     <li><a href="files.html"><span>File&nbsp;List</span></a></li>
       
    18     <li><a href="globals.html"><span>Globals</span></a></li>
       
    19   </ul></div>
       
    20 <h1>/home/epimerde/documents/tc11/CanFestival-3/drivers/can_virtual/can_virtual.c File Reference</h1><code>#include &lt;stdio.h&gt;</code><br>
       
    21 <code>#include &lt;unistd.h&gt;</code><br>
       
    22 <code>#include &quot;<a class="el" href="can__driver_8h-source.html">can_driver.h</a>&quot;</code><br>
       
    23 <code>#include &quot;<a class="el" href="def_8h-source.html">def.h</a>&quot;</code><br>
       
    24 
       
    25 <p>
       
    26 <a href="can__virtual_8c-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0">
       
    27 <tr><td></td></tr>
       
    28 <tr><td colspan="2"><br><h2>Data Structures</h2></td></tr>
       
    29 <tr><td class="memItemLeft" nowrap align="right" valign="top">struct &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structCANPipe.html">CANPipe</a></td></tr>
       
    30 
       
    31 <tr><td colspan="2"><br><h2>Defines</h2></td></tr>
       
    32 <tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="can__virtual_8c.html#b2f51095e950bbeab1ea15fac21e6146">MAX_NB_CAN_PIPES</a>&nbsp;&nbsp;&nbsp;16</td></tr>
       
    33 
       
    34 <tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="can__virtual_8c.html#124cab530f97a752eb2e110c1b398c11">MyCase</a>(fc)&nbsp;&nbsp;&nbsp;case fc: printf(#fc);break;</td></tr>
       
    35 
       
    36 <tr><td colspan="2"><br><h2>Functions</h2></td></tr>
       
    37 <tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="can__virtual_8c.html#6b3248e95acf2b08d1fd8b42610cc5a6">canReceive_driver</a> (<a class="el" href="win32_2applicfg_8h.html#712c7b28987b12b8d400df19c92d0f5e">CAN_HANDLE</a> fd0, <a class="el" href="structMessage.html">Message</a> *m)</td></tr>
       
    38 
       
    39 <tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="can__virtual_8c.html#6baa544d467cbabaf4bacadc74cc6523">print_message</a> (<a class="el" href="structMessage.html">Message</a> *m)</td></tr>
       
    40 
       
    41 <tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="can__virtual_8c.html#def95aee49efa13dd047d0b3b5507ad3">canSend_driver</a> (<a class="el" href="win32_2applicfg_8h.html#712c7b28987b12b8d400df19c92d0f5e">CAN_HANDLE</a> fd0, <a class="el" href="structMessage.html">Message</a> *m)</td></tr>
       
    42 
       
    43 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="win32_2applicfg_8h.html#712c7b28987b12b8d400df19c92d0f5e">CAN_HANDLE</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="can__virtual_8c.html#945403aba7f36acbd2e7160ade361bab">canOpen_driver</a> (<a class="el" href="structstruct__s__BOARD.html">s_BOARD</a> *board)</td></tr>
       
    44 
       
    45 <tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="can__virtual_8c.html#76e6a915d0e40a23b863198b2aaa5545">canClose_driver</a> (<a class="el" href="win32_2applicfg_8h.html#712c7b28987b12b8d400df19c92d0f5e">CAN_HANDLE</a> fd0)</td></tr>
       
    46 
       
    47 <tr><td colspan="2"><br><h2>Variables</h2></td></tr>
       
    48 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="structCANPipe.html">CANPipe</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="can__virtual_8c.html#53fd0e34e8d4d31bf381700a9d8ae72b">canpipes</a> [MAX_NB_CAN_PIPES] = {{0,},{0,},{0,},{0,},{0,},{0,},{0,},{0,},{0,},{0,},{0,},{0,},{0,},{0,},{0,},{0,},}</td></tr>
       
    49 
       
    50 </table>
       
    51 <hr><h2>Define Documentation</h2>
       
    52 <a class="anchor" name="b2f51095e950bbeab1ea15fac21e6146"></a><!-- doxytag: member="can_virtual.c::MAX_NB_CAN_PIPES" ref="b2f51095e950bbeab1ea15fac21e6146" args="" -->
       
    53 <div class="memitem">
       
    54 <div class="memproto">
       
    55       <table class="memname">
       
    56         <tr>
       
    57           <td class="memname">#define MAX_NB_CAN_PIPES&nbsp;&nbsp;&nbsp;16          </td>
       
    58         </tr>
       
    59       </table>
       
    60 </div>
       
    61 <div class="memdoc">
       
    62 
       
    63 <p>
       
    64 
       
    65 <p>
       
    66 Definition at line <a class="el" href="can__virtual_8c-source.html#l00033">33</a> of file <a class="el" href="can__virtual_8c-source.html">can_virtual.c</a>.
       
    67 </div>
       
    68 </div><p>
       
    69 <a class="anchor" name="124cab530f97a752eb2e110c1b398c11"></a><!-- doxytag: member="can_virtual.c::MyCase" ref="124cab530f97a752eb2e110c1b398c11" args="(fc)" -->
       
    70 <div class="memitem">
       
    71 <div class="memproto">
       
    72       <table class="memname">
       
    73         <tr>
       
    74           <td class="memname">#define MyCase          </td>
       
    75           <td>(</td>
       
    76           <td class="paramtype">fc&nbsp;</td>
       
    77           <td class="paramname">          </td>
       
    78           <td>&nbsp;)&nbsp;</td>
       
    79           <td width="100%">&nbsp;&nbsp;&nbsp;case fc: printf(#fc);break;</td>
       
    80         </tr>
       
    81       </table>
       
    82 </div>
       
    83 <div class="memdoc">
       
    84 
       
    85 <p>
       
    86 
       
    87 <p>
       
    88 Definition at line <a class="el" href="can__virtual_8c-source.html#l00052">52</a> of file <a class="el" href="can__virtual_8c-source.html">can_virtual.c</a>.
       
    89 </div>
       
    90 </div><p>
       
    91 <hr><h2>Function Documentation</h2>
       
    92 <a class="anchor" name="76e6a915d0e40a23b863198b2aaa5545"></a><!-- doxytag: member="can_virtual.c::canClose_driver" ref="76e6a915d0e40a23b863198b2aaa5545" args="(CAN_HANDLE fd0)" -->
       
    93 <div class="memitem">
       
    94 <div class="memproto">
       
    95       <table class="memname">
       
    96         <tr>
       
    97           <td class="memname">int canClose_driver           </td>
       
    98           <td>(</td>
       
    99           <td class="paramtype"><a class="el" href="win32_2applicfg_8h.html#712c7b28987b12b8d400df19c92d0f5e">CAN_HANDLE</a>&nbsp;</td>
       
   100           <td class="paramname"> <em>fd0</em>          </td>
       
   101           <td>&nbsp;)&nbsp;</td>
       
   102           <td width="100%"></td>
       
   103         </tr>
       
   104       </table>
       
   105 </div>
       
   106 <div class="memdoc">
       
   107 
       
   108 <p>
       
   109 
       
   110 <p>
       
   111 Definition at line <a class="el" href="can__virtual_8c-source.html#l00142">142</a> of file <a class="el" href="can__virtual_8c-source.html">can_virtual.c</a>.
       
   112 </div>
       
   113 </div><p>
       
   114 <a class="anchor" name="945403aba7f36acbd2e7160ade361bab"></a><!-- doxytag: member="can_virtual.c::canOpen_driver" ref="945403aba7f36acbd2e7160ade361bab" args="(s_BOARD *board)" -->
       
   115 <div class="memitem">
       
   116 <div class="memproto">
       
   117       <table class="memname">
       
   118         <tr>
       
   119           <td class="memname"><a class="el" href="win32_2applicfg_8h.html#712c7b28987b12b8d400df19c92d0f5e">CAN_HANDLE</a> canOpen_driver           </td>
       
   120           <td>(</td>
       
   121           <td class="paramtype"><a class="el" href="structstruct__s__BOARD.html">s_BOARD</a> *&nbsp;</td>
       
   122           <td class="paramname"> <em>board</em>          </td>
       
   123           <td>&nbsp;)&nbsp;</td>
       
   124           <td width="100%"></td>
       
   125         </tr>
       
   126       </table>
       
   127 </div>
       
   128 <div class="memdoc">
       
   129 
       
   130 <p>
       
   131 
       
   132 <p>
       
   133 Definition at line <a class="el" href="can__virtual_8c-source.html#l00121">121</a> of file <a class="el" href="can__virtual_8c-source.html">can_virtual.c</a>.
       
   134 <p>
       
   135 References <a class="el" href="can__virtual_8c-source.html#l00040">canpipes</a>, <a class="el" href="can__virtual_8c-source.html#l00033">MAX_NB_CAN_PIPES</a>, and <a class="el" href="can__virtual_8c-source.html#l00036">CANPipe::used</a>.
       
   136 </div>
       
   137 </div><p>
       
   138 <a class="anchor" name="6b3248e95acf2b08d1fd8b42610cc5a6"></a><!-- doxytag: member="can_virtual.c::canReceive_driver" ref="6b3248e95acf2b08d1fd8b42610cc5a6" args="(CAN_HANDLE fd0, Message *m)" -->
       
   139 <div class="memitem">
       
   140 <div class="memproto">
       
   141       <table class="memname">
       
   142         <tr>
       
   143           <td class="memname">UNS8 canReceive_driver           </td>
       
   144           <td>(</td>
       
   145           <td class="paramtype"><a class="el" href="win32_2applicfg_8h.html#712c7b28987b12b8d400df19c92d0f5e">CAN_HANDLE</a>&nbsp;</td>
       
   146           <td class="paramname"> <em>fd0</em>, </td>
       
   147         </tr>
       
   148         <tr>
       
   149           <td class="paramkey"></td>
       
   150           <td></td>
       
   151           <td class="paramtype"><a class="el" href="structMessage.html">Message</a> *&nbsp;</td>
       
   152           <td class="paramname"> <em>m</em></td><td>&nbsp;</td>
       
   153         </tr>
       
   154         <tr>
       
   155           <td></td>
       
   156           <td>)</td>
       
   157           <td></td><td></td><td width="100%"></td>
       
   158         </tr>
       
   159       </table>
       
   160 </div>
       
   161 <div class="memdoc">
       
   162 
       
   163 <p>
       
   164 
       
   165 <p>
       
   166 Definition at line <a class="el" href="can__virtual_8c-source.html#l00043">43</a> of file <a class="el" href="can__virtual_8c-source.html">can_virtual.c</a>.
       
   167 </div>
       
   168 </div><p>
       
   169 <a class="anchor" name="def95aee49efa13dd047d0b3b5507ad3"></a><!-- doxytag: member="can_virtual.c::canSend_driver" ref="def95aee49efa13dd047d0b3b5507ad3" args="(CAN_HANDLE fd0, Message *m)" -->
       
   170 <div class="memitem">
       
   171 <div class="memproto">
       
   172       <table class="memname">
       
   173         <tr>
       
   174           <td class="memname">UNS8 canSend_driver           </td>
       
   175           <td>(</td>
       
   176           <td class="paramtype"><a class="el" href="win32_2applicfg_8h.html#712c7b28987b12b8d400df19c92d0f5e">CAN_HANDLE</a>&nbsp;</td>
       
   177           <td class="paramname"> <em>fd0</em>, </td>
       
   178         </tr>
       
   179         <tr>
       
   180           <td class="paramkey"></td>
       
   181           <td></td>
       
   182           <td class="paramtype"><a class="el" href="structMessage.html">Message</a> *&nbsp;</td>
       
   183           <td class="paramname"> <em>m</em></td><td>&nbsp;</td>
       
   184         </tr>
       
   185         <tr>
       
   186           <td></td>
       
   187           <td>)</td>
       
   188           <td></td><td></td><td width="100%"></td>
       
   189         </tr>
       
   190       </table>
       
   191 </div>
       
   192 <div class="memdoc">
       
   193 
       
   194 <p>
       
   195 
       
   196 <p>
       
   197 Definition at line <a class="el" href="can__virtual_8c-source.html#l00081">81</a> of file <a class="el" href="can__virtual_8c-source.html">can_virtual.c</a>.
       
   198 <p>
       
   199 References <a class="el" href="can__virtual_8c-source.html#l00040">canpipes</a>, <a class="el" href="can__virtual_8c-source.html#l00033">MAX_NB_CAN_PIPES</a>, and <a class="el" href="can__virtual_8c-source.html#l00053">print_message()</a>.
       
   200 </div>
       
   201 </div><p>
       
   202 <a class="anchor" name="6baa544d467cbabaf4bacadc74cc6523"></a><!-- doxytag: member="can_virtual.c::print_message" ref="6baa544d467cbabaf4bacadc74cc6523" args="(Message *m)" -->
       
   203 <div class="memitem">
       
   204 <div class="memproto">
       
   205       <table class="memname">
       
   206         <tr>
       
   207           <td class="memname">void print_message           </td>
       
   208           <td>(</td>
       
   209           <td class="paramtype"><a class="el" href="structMessage.html">Message</a> *&nbsp;</td>
       
   210           <td class="paramname"> <em>m</em>          </td>
       
   211           <td>&nbsp;)&nbsp;</td>
       
   212           <td width="100%"></td>
       
   213         </tr>
       
   214       </table>
       
   215 </div>
       
   216 <div class="memdoc">
       
   217 
       
   218 <p>
       
   219 
       
   220 <p>
       
   221 Definition at line <a class="el" href="can__virtual_8c-source.html#l00053">53</a> of file <a class="el" href="can__virtual_8c-source.html">can_virtual.c</a>.
       
   222 <p>
       
   223 References <a class="el" href="can_8h-source.html#l00042">Message::cob_id</a>, <a class="el" href="can_8h-source.html#l00046">Message::data</a>, <a class="el" href="can_8h-source.html#l00045">Message::len</a>, <a class="el" href="can__virtual_8c-source.html#l00052">MyCase</a>, <a class="el" href="def_8h-source.html#l00086">NMT</a>, <a class="el" href="def_8h-source.html#l00099">NODE_GUARD</a>, <a class="el" href="def_8h-source.html#l00090">PDO1rx</a>, <a class="el" href="def_8h-source.html#l00089">PDO1tx</a>, <a class="el" href="def_8h-source.html#l00092">PDO2rx</a>, <a class="el" href="def_8h-source.html#l00091">PDO2tx</a>, <a class="el" href="def_8h-source.html#l00094">PDO3rx</a>, <a class="el" href="def_8h-source.html#l00093">PDO3tx</a>, <a class="el" href="def_8h-source.html#l00096">PDO4rx</a>, <a class="el" href="def_8h-source.html#l00095">PDO4tx</a>, <a class="el" href="can_8h-source.html#l00043">Message::rtr</a>, <a class="el" href="def_8h-source.html#l00098">SDOrx</a>, <a class="el" href="def_8h-source.html#l00097">SDOtx</a>, <a class="el" href="def_8h-source.html#l00087">SYNC</a>, <a class="el" href="def_8h-source.html#l00088">TIME_STAMP</a>, and <a class="el" href="can_8h-source.html#l00036">SHORT_CAN::w</a>.
       
   224 </div>
       
   225 </div><p>
       
   226 <hr><h2>Variable Documentation</h2>
       
   227 <a class="anchor" name="53fd0e34e8d4d31bf381700a9d8ae72b"></a><!-- doxytag: member="can_virtual.c::canpipes" ref="53fd0e34e8d4d31bf381700a9d8ae72b" args="[MAX_NB_CAN_PIPES]" -->
       
   228 <div class="memitem">
       
   229 <div class="memproto">
       
   230       <table class="memname">
       
   231         <tr>
       
   232           <td class="memname"><a class="el" href="structCANPipe.html">CANPipe</a> <a class="el" href="can__virtual_8c.html#53fd0e34e8d4d31bf381700a9d8ae72b">canpipes</a>[MAX_NB_CAN_PIPES] = {{0,},{0,},{0,},{0,},{0,},{0,},{0,},{0,},{0,},{0,},{0,},{0,},{0,},{0,},{0,},{0,},}          </td>
       
   233         </tr>
       
   234       </table>
       
   235 </div>
       
   236 <div class="memdoc">
       
   237 
       
   238 <p>
       
   239 
       
   240 <p>
       
   241 Definition at line <a class="el" href="can__virtual_8c-source.html#l00040">40</a> of file <a class="el" href="can__virtual_8c-source.html">can_virtual.c</a>.
       
   242 </div>
       
   243 </div><p>
       
   244 <hr size="1"><address style="align: right;"><small>Generated on Mon Jun 4 16:29:07 2007 for CanFestival by&nbsp;
       
   245 <a href="http://www.doxygen.org/index.html">
       
   246 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address>
       
   247 </body>
       
   248 </html>