doc/doxygen/html/unix_8c.html
changeset 240 34654679f262
parent 215 f49e5a6b7804
equal deleted inserted replaced
239:f45fd4cd3832 240:34654679f262
    16   <ul>
    16   <ul>
    17     <li><a href="files.html"><span>File&nbsp;List</span></a></li>
    17     <li><a href="files.html"><span>File&nbsp;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_d58fb241e647de6212c31ecccf9cbace.html">drivers</a>&nbsp;&raquo&nbsp;<a class="el" href="dir_6da7fb7606ab88af9c782bbceb5cfb77.html">unix</a></div>
    21 <a class="el" href="dir_65dd258ff9b9ef4cd7bd0d22f5e58dba.html">drivers</a>&nbsp;&raquo&nbsp;<a class="el" href="dir_29af917da4a435c30076aa14c4557ac5.html">unix</a></div>
    22 <h1>unix.c File Reference</h1><code>#include &lt;unistd.h&gt;</code><br>
    22 <h1>unix.c File Reference</h1><code>#include &lt;unistd.h&gt;</code><br>
    23 <code>#include &lt;stdio.h&gt;</code><br>
    23 <code>#include &lt;stdio.h&gt;</code><br>
    24 <code>#include &lt;stdlib.h&gt;</code><br>
    24 <code>#include &lt;stdlib.h&gt;</code><br>
    25 <code>#include &quot;<a class="el" href="data_8h-source.html">data.h</a>&quot;</code><br>
    25 <code>#include &quot;<a class="el" href="data_8h-source.html">data.h</a>&quot;</code><br>
    26 <code>#include &quot;<a class="el" href="win32_2canfestival_8h-source.html">canfestival.h</a>&quot;</code><br>
    26 <code>#include &quot;<a class="el" href="win32_2canfestival_8h-source.html">canfestival.h</a>&quot;</code><br>
    28 <code>#include &quot;<a class="el" href="can__driver_8h-source.html">can_driver.h</a>&quot;</code><br>
    28 <code>#include &quot;<a class="el" href="can__driver_8h-source.html">can_driver.h</a>&quot;</code><br>
    29 
    29 
    30 <p>
    30 <p>
    31 Include dependency graph for unix.c:<p><center><img src="unix_8c__incl.png" border="0" usemap="#drivers/unix/unix.c_map" alt=""></center>
    31 Include dependency graph for unix.c:<p><center><img src="unix_8c__incl.png" border="0" usemap="#drivers/unix/unix.c_map" alt=""></center>
    32 <map name="drivers/unix/unix.c_map">
    32 <map name="drivers/unix/unix.c_map">
    33 <area href="data_8h.html" shape="rect" coords="394,176,458,200" alt="">
    33 <area href="data_8h.html" shape="rect" coords="332,436,385,463" alt="">
    34 <area href="win32_2canfestival_8h.html" shape="rect" coords="211,200,318,224" alt="">
    34 <area href="win32_2canfestival_8h.html" shape="rect" coords="177,765,265,792" alt="">
    35 <area href="can__driver_8h.html" shape="rect" coords="374,224,478,248" alt="">
    35 <area href="can__driver_8h.html" shape="rect" coords="315,740,403,767" alt="">
    36 <area href="timers__driver_8h.html" shape="rect" coords="203,299,326,323" alt="">
    36 <area href="timers__driver_8h.html" shape="rect" coords="452,917,553,944" alt="">
       
    37 <area href="win32_2applicfg_8h.html" shape="rect" coords="716,360,791,387" alt="">
       
    38 <area href="def_8h.html" shape="rect" coords="609,157,657,184" alt="">
       
    39 <area href="can_8h.html" shape="rect" coords="609,397,657,424" alt="">
       
    40 <area href="objdictdef_8h.html" shape="rect" coords="460,360,545,387" alt="">
       
    41 <area href="objacces_8h.html" shape="rect" coords="464,208,541,235" alt="">
       
    42 <area href="sdo_8h.html" shape="rect" coords="479,664,527,691" alt="">
       
    43 <area href="pdo_8h.html" shape="rect" coords="477,309,528,336" alt="">
       
    44 <area href="states_8h.html" shape="rect" coords="472,512,533,539" alt="">
       
    45 <area href="lifegrd_8h.html" shape="rect" coords="469,107,536,133" alt="">
       
    46 <area href="sync_8h.html" shape="rect" coords="475,461,531,488" alt="">
       
    47 <area href="nmtMaster_8h.html" shape="rect" coords="459,613,547,640" alt="">
       
    48 <area href="config_8h.html" shape="rect" coords="721,157,785,184" alt="">
       
    49 <area href="timer_8h.html" shape="rect" coords="604,664,663,691" alt="">
       
    50 <area href="win32_2timerscfg_8h.html" shape="rect" coords="713,867,793,893" alt="">
    37 </map>
    51 </map>
    38 
    52 
    39 <p>
    53 <p>
    40 <a href="unix_8c-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0">
    54 <a href="unix_8c-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0">
    41 <tr><td></td></tr>
    55 <tr><td></td></tr>
    42 <tr><td colspan="2"><br><h2>Data Structures</h2></td></tr>
    56 <tr><td colspan="2"><br><h2>Data Structures</h2></td></tr>
    43 <tr><td class="memItemLeft" nowrap align="right" valign="top">struct &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structCANPort.html">CANPort</a></td></tr>
    57 <tr><td class="memItemLeft" nowrap align="right" valign="top">struct &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structCANPort.html">CANPort</a></td></tr>
    44 
    58 
    45 <tr><td colspan="2"><br><h2>Defines</h2></td></tr>
    59 <tr><td colspan="2"><br><h2>Defines</h2></td></tr>
    46 <tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="unix_8c.html#74c6a27b44fd54de5cb021299ffce612">DLL_CALL</a>(funcname)&nbsp;&nbsp;&nbsp;(* funcname##_driver)</td></tr>
    60 <tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="unix_8c.html#89cf6df671ff9d1386748dfd3efe3675">DLL_CALL</a>(funcname)&nbsp;&nbsp;&nbsp;(* funcname##_driver)</td></tr>
    47 
    61 
    48 <tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="unix_8c.html#7f7ce94bf48fde67f4af7b64c7ca4c85">FCT_PTR_INIT</a>&nbsp;&nbsp;&nbsp;=NULL</td></tr>
    62 <tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="unix_8c.html#7e34e187b01b3c6623af4ea0344ac92f">FCT_PTR_INIT</a>&nbsp;&nbsp;&nbsp;=NULL</td></tr>
    49 
    63 
    50 <tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="unix_8c.html#2af8b26c5600696a026aa95fe49b9dc9">DLSYM</a>(name)</td></tr>
    64 <tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="unix_8c.html#1063d59b6536410ef364b464fb114244">DLSYM</a>(name)</td></tr>
    51 
    65 
    52 <tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="unix_8c.html#c2f10bc5b98269f33af8a74299236e03">MAX_NB_CAN_PORTS</a>&nbsp;&nbsp;&nbsp;16</td></tr>
    66 <tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="unix_8c.html#e3eca11cd1b49149bf430038ec9d8db7">MAX_NB_CAN_PORTS</a>&nbsp;&nbsp;&nbsp;16</td></tr>
    53 
    67 
    54 <tr><td colspan="2"><br><h2>Functions</h2></td></tr>
    68 <tr><td colspan="2"><br><h2>Functions</h2></td></tr>
    55 <tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="unix_8c.html#cb4f394ec0e040c5962d3dc1957505fb">UnLoadCanDriver</a> (<a class="el" href="win32_2canfestival_8h.html#c4a0f44120dee396ab6bb57e23effaa8">LIB_HANDLE</a> handle)</td></tr>
    69 <tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="unix_8c.html#a6bd04d2ce9d3601ce0430fa39d7e971">UnLoadCanDriver</a> (<a class="el" href="win32_2canfestival_8h.html#df21ab161742c7137cd3bcbe1f9145b7">LIB_HANDLE</a> handle)</td></tr>
    56 
    70 
    57 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="win32_2canfestival_8h.html#c4a0f44120dee396ab6bb57e23effaa8">LIB_HANDLE</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="unix_8c.html#a6eed61fc15f41f772d4645d7a5edeb5">LoadCanDriver</a> (char *driver_name)</td></tr>
    71 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="win32_2canfestival_8h.html#df21ab161742c7137cd3bcbe1f9145b7">LIB_HANDLE</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="unix_8c.html#0012a2aa42ef694bd275c6b5be5c89c7">LoadCanDriver</a> (char *driver_name)</td></tr>
    58 
    72 
    59 <tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="unix_8c.html#8d1909a09c50c750e4d8626595acd9f6">canSend</a> (<a class="el" href="win32_2applicfg_8h.html#7ef59f941603c6680e74fc335523f17e">CAN_PORT</a> port, <a class="el" href="structMessage.html">Message</a> *m)</td></tr>
    73 <tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="unix_8c.html#b510ea6afa8fdc7c55b3fd875c9f5209">canSend</a> (<a class="el" href="win32_2applicfg_8h.html#c5a917a8cacf5edd42ba6486c0c8a243">CAN_PORT</a> port, <a class="el" href="structMessage.html">Message</a> *m)</td></tr>
    60 
    74 
    61 <tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="unix_8c.html#45ceca3727c2fb7ac93958a215efb827">canReceiveLoop</a> (<a class="el" href="win32_2applicfg_8h.html#7ef59f941603c6680e74fc335523f17e">CAN_PORT</a> port)</td></tr>
    75 <tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="unix_8c.html#f6396866bcbfb45d7272b70731ab39cf">canReceiveLoop</a> (<a class="el" href="win32_2applicfg_8h.html#c5a917a8cacf5edd42ba6486c0c8a243">CAN_PORT</a> port)</td></tr>
    62 
    76 
    63 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="win32_2applicfg_8h.html#7ef59f941603c6680e74fc335523f17e">CAN_PORT</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="unix_8c.html#7476146ad15948a22e7f80a00c89c40a">canOpen</a> (<a class="el" href="structstruct__s__BOARD.html">s_BOARD</a> *board, <a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d)</td></tr>
    77 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="win32_2applicfg_8h.html#c5a917a8cacf5edd42ba6486c0c8a243">CAN_PORT</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="unix_8c.html#c32083e9caa1b02f7726a8b87d10ce33">canOpen</a> (<a class="el" href="structstruct__s__BOARD.html">s_BOARD</a> *board, <a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d)</td></tr>
    64 
    78 
    65 <tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="unix_8c.html#02957f72a9b951603adb98a142bd447b">canClose</a> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d)</td></tr>
    79 <tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="unix_8c.html#6d6b692e726dee0a5726e6d3db1b1693">canClose</a> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d)</td></tr>
    66 
    80 
    67 <tr><td colspan="2"><br><h2>Variables</h2></td></tr>
    81 <tr><td colspan="2"><br><h2>Variables</h2></td></tr>
    68 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="structCANPort.html">CANPort</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="unix_8c.html#0b740cf913752262ceb23d51648da86a">canports</a> [MAX_NB_CAN_PORTS] = {{0,},{0,},{0,},{0,},{0,},{0,},{0,},{0,},{0,},{0,},{0,},{0,},{0,},{0,},{0,},{0,}}</td></tr>
    82 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="structCANPort.html">CANPort</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="unix_8c.html#95675d510c00ac25dd7cac0d50ce29e2">canports</a> [MAX_NB_CAN_PORTS] = {{0,},{0,},{0,},{0,},{0,},{0,},{0,},{0,},{0,},{0,},{0,},{0,},{0,},{0,},{0,},{0,}}</td></tr>
    69 
    83 
    70 </table>
    84 </table>
    71 <hr><h2>Define Documentation</h2>
    85 <hr><h2>Define Documentation</h2>
    72 <a class="anchor" name="74c6a27b44fd54de5cb021299ffce612"></a><!-- doxytag: member="unix.c::DLL_CALL" ref="74c6a27b44fd54de5cb021299ffce612" args="(funcname)" -->
    86 <a class="anchor" name="89cf6df671ff9d1386748dfd3efe3675"></a><!-- doxytag: member="unix.c::DLL_CALL" ref="89cf6df671ff9d1386748dfd3efe3675" args="(funcname)" -->
    73 <div class="memitem">
    87 <div class="memitem">
    74 <div class="memproto">
    88 <div class="memproto">
    75       <table class="memname">
    89       <table class="memname">
    76         <tr>
    90         <tr>
    77           <td class="memname">#define DLL_CALL          </td>
    91           <td class="memname">#define DLL_CALL          </td>
    91 Definition at line <a class="el" href="unix_8c-source.html#l00027">27</a> of file <a class="el" href="unix_8c-source.html">unix.c</a>.
   105 Definition at line <a class="el" href="unix_8c-source.html#l00027">27</a> of file <a class="el" href="unix_8c-source.html">unix.c</a>.
    92 <p>
   106 <p>
    93 Referenced by <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="unix_8c-source.html#l00132">canReceiveLoop()</a>, and <a class="el" href="unix_8c-source.html#l00120">canSend()</a>.
   107 Referenced by <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="unix_8c-source.html#l00132">canReceiveLoop()</a>, and <a class="el" href="unix_8c-source.html#l00120">canSend()</a>.
    94 </div>
   108 </div>
    95 </div><p>
   109 </div><p>
    96 <a class="anchor" name="2af8b26c5600696a026aa95fe49b9dc9"></a><!-- doxytag: member="unix.c::DLSYM" ref="2af8b26c5600696a026aa95fe49b9dc9" args="(name)" -->
   110 <a class="anchor" name="1063d59b6536410ef364b464fb114244"></a><!-- doxytag: member="unix.c::DLSYM" ref="1063d59b6536410ef364b464fb114244" args="(name)" -->
    97 <div class="memitem">
   111 <div class="memitem">
    98 <div class="memproto">
   112 <div class="memproto">
    99       <table class="memname">
   113       <table class="memname">
   100         <tr>
   114         <tr>
   101           <td class="memname">#define DLSYM          </td>
   115           <td class="memname">#define DLSYM          </td>
   111 
   125 
   112 <p>
   126 <p>
   113 <b>Value:</b><div class="fragment"><pre class="fragment">*(<span class="keywordtype">void</span> **) (&amp;name##_driver) = dlsym(handle, #name<span class="stringliteral">"_driver"</span>);\
   127 <b>Value:</b><div class="fragment"><pre class="fragment">*(<span class="keywordtype">void</span> **) (&amp;name##_driver) = dlsym(handle, #name<span class="stringliteral">"_driver"</span>);\
   114         <span class="keywordflow">if</span> ((error = dlerror()) != NULL)  {\
   128         <span class="keywordflow">if</span> ((error = dlerror()) != NULL)  {\
   115                 fprintf (stderr, <span class="stringliteral">"%s\n"</span>, error);\
   129                 fprintf (stderr, <span class="stringliteral">"%s\n"</span>, error);\
   116                 <a class="code" href="unix_8c.html#cb4f394ec0e040c5962d3dc1957505fb">UnLoadCanDriver</a>(handle);\
   130                 <a class="code" href="unix_8c.html#a6bd04d2ce9d3601ce0430fa39d7e971">UnLoadCanDriver</a>(handle);\
   117                 <span class="keywordflow">return</span> NULL;\
   131                 <span class="keywordflow">return</span> NULL;\
   118         }
   132         }
   119 </pre></div>
   133 </pre></div>
   120 <p>
   134 <p>
   121 Definition at line <a class="el" href="unix_8c-source.html#l00030">30</a> of file <a class="el" href="unix_8c-source.html">unix.c</a>.
   135 Definition at line <a class="el" href="unix_8c-source.html#l00030">30</a> of file <a class="el" href="unix_8c-source.html">unix.c</a>.
   122 <p>
   136 <p>
   123 Referenced by <a class="el" href="unix_8c-source.html#l00084">LoadCanDriver()</a>.
   137 Referenced by <a class="el" href="unix_8c-source.html#l00084">LoadCanDriver()</a>.
   124 </div>
   138 </div>
   125 </div><p>
   139 </div><p>
   126 <a class="anchor" name="7f7ce94bf48fde67f4af7b64c7ca4c85"></a><!-- doxytag: member="unix.c::FCT_PTR_INIT" ref="7f7ce94bf48fde67f4af7b64c7ca4c85" args="" -->
   140 <a class="anchor" name="7e34e187b01b3c6623af4ea0344ac92f"></a><!-- doxytag: member="unix.c::FCT_PTR_INIT" ref="7e34e187b01b3c6623af4ea0344ac92f" args="" -->
   127 <div class="memitem">
   141 <div class="memitem">
   128 <div class="memproto">
   142 <div class="memproto">
   129       <table class="memname">
   143       <table class="memname">
   130         <tr>
   144         <tr>
   131           <td class="memname">#define FCT_PTR_INIT&nbsp;&nbsp;&nbsp;=NULL          </td>
   145           <td class="memname">#define FCT_PTR_INIT&nbsp;&nbsp;&nbsp;=NULL          </td>
   138 
   152 
   139 <p>
   153 <p>
   140 Definition at line <a class="el" href="unix_8c-source.html#l00028">28</a> of file <a class="el" href="unix_8c-source.html">unix.c</a>.
   154 Definition at line <a class="el" href="unix_8c-source.html#l00028">28</a> of file <a class="el" href="unix_8c-source.html">unix.c</a>.
   141 </div>
   155 </div>
   142 </div><p>
   156 </div><p>
   143 <a class="anchor" name="c2f10bc5b98269f33af8a74299236e03"></a><!-- doxytag: member="unix.c::MAX_NB_CAN_PORTS" ref="c2f10bc5b98269f33af8a74299236e03" args="" -->
   157 <a class="anchor" name="e3eca11cd1b49149bf430038ec9d8db7"></a><!-- doxytag: member="unix.c::MAX_NB_CAN_PORTS" ref="e3eca11cd1b49149bf430038ec9d8db7" args="" -->
   144 <div class="memitem">
   158 <div class="memitem">
   145 <div class="memproto">
   159 <div class="memproto">
   146       <table class="memname">
   160       <table class="memname">
   147         <tr>
   161         <tr>
   148           <td class="memname">#define MAX_NB_CAN_PORTS&nbsp;&nbsp;&nbsp;16          </td>
   162           <td class="memname">#define MAX_NB_CAN_PORTS&nbsp;&nbsp;&nbsp;16          </td>
   158 <p>
   172 <p>
   159 Referenced by <a class="el" href="unix_8c-source.html#l00145">canOpen()</a>.
   173 Referenced by <a class="el" href="unix_8c-source.html#l00145">canOpen()</a>.
   160 </div>
   174 </div>
   161 </div><p>
   175 </div><p>
   162 <hr><h2>Function Documentation</h2>
   176 <hr><h2>Function Documentation</h2>
   163 <a class="anchor" name="02957f72a9b951603adb98a142bd447b"></a><!-- doxytag: member="unix.c::canClose" ref="02957f72a9b951603adb98a142bd447b" args="(CO_Data *d)" -->
   177 <a class="anchor" name="6d6b692e726dee0a5726e6d3db1b1693"></a><!-- doxytag: member="unix.c::canClose" ref="6d6b692e726dee0a5726e6d3db1b1693" args="(CO_Data *d)" -->
   164 <div class="memitem">
   178 <div class="memitem">
   165 <div class="memproto">
   179 <div class="memproto">
   166       <table class="memname">
   180       <table class="memname">
   167         <tr>
   181         <tr>
   168           <td class="memname">int canClose           </td>
   182           <td class="memname">int canClose           </td>
   182 Definition at line <a class="el" href="unix_8c-source.html#l00178">178</a> of file <a class="el" href="unix_8c-source.html">unix.c</a>.
   196 Definition at line <a class="el" href="unix_8c-source.html#l00178">178</a> of file <a class="el" href="unix_8c-source.html">unix.c</a>.
   183 <p>
   197 <p>
   184 Referenced by <a class="el" href="unix_8c-source.html#l00178">canClose()</a>, <a class="el" href="unix_8c-source.html#l00084">LoadCanDriver()</a>, and <a class="el" href="TestMasterMicroMod_8c-source.html#l00397">main()</a>.
   198 Referenced by <a class="el" href="unix_8c-source.html#l00178">canClose()</a>, <a class="el" href="unix_8c-source.html#l00084">LoadCanDriver()</a>, and <a class="el" href="TestMasterMicroMod_8c-source.html#l00397">main()</a>.
   185 </div>
   199 </div>
   186 </div><p>
   200 </div><p>
   187 <a class="anchor" name="7476146ad15948a22e7f80a00c89c40a"></a><!-- doxytag: member="unix.c::canOpen" ref="7476146ad15948a22e7f80a00c89c40a" args="(s_BOARD *board, CO_Data *d)" -->
   201 <a class="anchor" name="c32083e9caa1b02f7726a8b87d10ce33"></a><!-- doxytag: member="unix.c::canOpen" ref="c32083e9caa1b02f7726a8b87d10ce33" args="(s_BOARD *board, CO_Data *d)" -->
   188 <div class="memitem">
   202 <div class="memitem">
   189 <div class="memproto">
   203 <div class="memproto">
   190       <table class="memname">
   204       <table class="memname">
   191         <tr>
   205         <tr>
   192           <td class="memname"><a class="el" href="win32_2applicfg_8h.html#7ef59f941603c6680e74fc335523f17e">CAN_PORT</a> canOpen           </td>
   206           <td class="memname"><a class="el" href="win32_2applicfg_8h.html#c5a917a8cacf5edd42ba6486c0c8a243">CAN_PORT</a> canOpen           </td>
   193           <td>(</td>
   207           <td>(</td>
   194           <td class="paramtype"><a class="el" href="structstruct__s__BOARD.html">s_BOARD</a> *&nbsp;</td>
   208           <td class="paramtype"><a class="el" href="structstruct__s__BOARD.html">s_BOARD</a> *&nbsp;</td>
   195           <td class="paramname"> <em>board</em>, </td>
   209           <td class="paramname"> <em>board</em>, </td>
   196         </tr>
   210         </tr>
   197         <tr>
   211         <tr>
   215 Definition at line <a class="el" href="unix_8c-source.html#l00145">145</a> of file <a class="el" href="unix_8c-source.html">unix.c</a>.
   229 Definition at line <a class="el" href="unix_8c-source.html#l00145">145</a> of file <a class="el" href="unix_8c-source.html">unix.c</a>.
   216 <p>
   230 <p>
   217 Referenced by <a class="el" href="unix_8c-source.html#l00145">canOpen()</a>, <a class="el" href="unix_8c-source.html#l00084">LoadCanDriver()</a>, and <a class="el" href="TestMasterMicroMod_8c-source.html#l00397">main()</a>.
   231 Referenced by <a class="el" href="unix_8c-source.html#l00145">canOpen()</a>, <a class="el" href="unix_8c-source.html#l00084">LoadCanDriver()</a>, and <a class="el" href="TestMasterMicroMod_8c-source.html#l00397">main()</a>.
   218 </div>
   232 </div>
   219 </div><p>
   233 </div><p>
   220 <a class="anchor" name="45ceca3727c2fb7ac93958a215efb827"></a><!-- doxytag: member="unix.c::canReceiveLoop" ref="45ceca3727c2fb7ac93958a215efb827" args="(CAN_PORT port)" -->
   234 <a class="anchor" name="f6396866bcbfb45d7272b70731ab39cf"></a><!-- doxytag: member="unix.c::canReceiveLoop" ref="f6396866bcbfb45d7272b70731ab39cf" args="(CAN_PORT port)" -->
   221 <div class="memitem">
   235 <div class="memitem">
   222 <div class="memproto">
   236 <div class="memproto">
   223       <table class="memname">
   237       <table class="memname">
   224         <tr>
   238         <tr>
   225           <td class="memname">void canReceiveLoop           </td>
   239           <td class="memname">void canReceiveLoop           </td>
   226           <td>(</td>
   240           <td>(</td>
   227           <td class="paramtype"><a class="el" href="win32_2applicfg_8h.html#7ef59f941603c6680e74fc335523f17e">CAN_PORT</a>&nbsp;</td>
   241           <td class="paramtype"><a class="el" href="win32_2applicfg_8h.html#c5a917a8cacf5edd42ba6486c0c8a243">CAN_PORT</a>&nbsp;</td>
   228           <td class="paramname"> <em>port</em>          </td>
   242           <td class="paramname"> <em>port</em>          </td>
   229           <td>&nbsp;)&nbsp;</td>
   243           <td>&nbsp;)&nbsp;</td>
   230           <td width="100%"></td>
   244           <td width="100%"></td>
   231         </tr>
   245         </tr>
   232       </table>
   246       </table>
   240 <p>
   254 <p>
   241 References <a class="el" href="states_8c-source.html#l00065">canDispatch()</a>, <a class="el" href="drivers__win32_8cpp-source.html#l00124">canReceive()</a>, <a class="el" href="unix_8c-source.html#l00027">DLL_CALL</a>, <a class="el" href="timers__unix_8c-source.html#l00020">EnterMutex()</a>, and <a class="el" href="timers__unix_8c-source.html#l00025">LeaveMutex()</a>.
   255 References <a class="el" href="states_8c-source.html#l00065">canDispatch()</a>, <a class="el" href="drivers__win32_8cpp-source.html#l00124">canReceive()</a>, <a class="el" href="unix_8c-source.html#l00027">DLL_CALL</a>, <a class="el" href="timers__unix_8c-source.html#l00020">EnterMutex()</a>, and <a class="el" href="timers__unix_8c-source.html#l00025">LeaveMutex()</a>.
   242 <p>
   256 <p>
   243 Referenced by <a class="el" href="unix_8c-source.html#l00145">canOpen()</a>.
   257 Referenced by <a class="el" href="unix_8c-source.html#l00145">canOpen()</a>.
   244 <p>
   258 <p>
   245 Here is the call graph for this function:<p><center><img src="unix_8c_45ceca3727c2fb7ac93958a215efb827_cgraph.png" border="0" usemap="#unix_8c_45ceca3727c2fb7ac93958a215efb827_cgraph_map" alt=""></center>
   259 Here is the call graph for this function:<p><center><img src="unix_8c_f6396866bcbfb45d7272b70731ab39cf_cgraph.png" border="0" usemap="#unix_8c_f6396866bcbfb45d7272b70731ab39cf_cgraph_map" alt=""></center>
   246 <map name="unix_8c_45ceca3727c2fb7ac93958a215efb827_cgraph_map">
   260 <map name="unix_8c_f6396866bcbfb45d7272b70731ab39cf_cgraph_map">
   247 <area href="states_8c.html#3f8975650604cc23582f19a43fd4e518" shape="rect" coords="188,102,292,126" alt="">
   261 <area href="states_8c.html#5903338b79e219eeb27f61974419fc12" shape="rect" coords="168,247,253,273" alt="">
   248 <area href="drivers__win32_8cpp.html#c608a4ba478a809fd963a342a24226fd" shape="rect" coords="191,150,290,174" alt="">
   262 <area href="drivers__win32_8cpp.html#3fcc13134ab40e532057273c24fadeb3" shape="rect" coords="169,297,252,324" alt="">
   249 <area href="timers__unix_8c.html#d7fee43b8a44cf8b7036853593044037" shape="rect" coords="191,198,290,222" alt="">
   263 <area href="timers__unix_8c.html#aa3c568288a54a9398524255602bbce8" shape="rect" coords="168,348,253,375" alt="">
   250 <area href="timers__unix_8c.html#73d9a4eb941fb20cf6b597840510394b" shape="rect" coords="188,246,292,270" alt="">
   264 <area href="timers__unix_8c.html#887d197b991c23bc11f626ae688abec7" shape="rect" coords="167,399,255,425" alt="">
   251 <area href="nmtSlave_8c.html#97d175ea168c149c99b01dcde0989743" shape="rect" coords="343,6,532,30" alt="">
   265 <area href="nmtSlave_8c.html#078a76722e34eb36a14a39ecf16f3a9d" shape="rect" coords="305,69,463,96" alt="">
   252 <area href="lifegrd_8c.html#b3248945e06e8b05518beddf665f174d" shape="rect" coords="352,54,523,78" alt="">
   266 <area href="lifegrd_8c.html#5b34a311b7b97bb79db8e729c2dcbf36" shape="rect" coords="512,113,667,140" alt="">
   253 <area href="pdo_8c.html#ae7d661cd3ef7adf93a0d08fdb15b7f2" shape="rect" coords="386,102,490,126" alt="">
   267 <area href="pdo_8c.html#f653b9e9cc46d8290b3ce2d6392b5a52" shape="rect" coords="544,247,635,273" alt="">
   254 <area href="sdo_8c.html#2a93a7c780472b1d8666d89aa270f661" shape="rect" coords="384,150,491,174" alt="">
   268 <area href="sdo_8c.html#c93bfdbec900f0b60386f0a2a5256826" shape="rect" coords="339,537,429,564" alt="">
   255 <area href="sync_8c.html#80cadcba23dc859db8a8d3f52789d6d1" shape="rect" coords="382,198,494,222" alt="">
   269 <area href="sync_8c.html#89ae8cfbfc53c26248d5d91f689c7197" shape="rect" coords="335,588,433,615" alt="">
       
   270 <area href="states_8c.html#cfb53d66c2360cd55b1d968f0e5c270f" shape="rect" coords="559,63,620,89" alt="">
       
   271 <area href="canOpenDriver_8c.html#fab789b9b2ee0ab6c6f27e67d6c03661" shape="rect" coords="761,107,828,133" alt="">
       
   272 <area href="lifegrd_8c.html#f01de9def215369ece4214cce5871508" shape="rect" coords="716,56,873,83" alt="">
       
   273 <area href="timer_8c.html#12fe6467e1df03cc40dd6f76123c99f6" shape="rect" coords="757,157,832,184" alt="">
       
   274 <area href="timer_8c.html#956b22f24089db4c367f40199f838a20" shape="rect" coords="759,5,831,32" alt="">
       
   275 <area href="pdo_8c.html#06b1b812ca18d3167243fb2b2acb6414" shape="rect" coords="757,208,832,235" alt="">
       
   276 <area href="pdo_8c.html#ad755ad656fe0f661ca6bd17acb1245a" shape="rect" coords="929,233,1001,260" alt="">
       
   277 <area href="pdo_8c.html#1e6f0540474e95f2928151efec83ccb6" shape="rect" coords="723,309,867,336" alt="">
       
   278 <area href="objacces_8c.html#dad5d2f7890168cade2fbb7e0e4c6200" shape="rect" coords="753,360,836,387" alt="">
       
   279 <area href="sdo_8c.html#85872a68746c862b8771045ef45385a5" shape="rect" coords="551,816,628,843" alt="">
       
   280 <area href="sdo_8c.html#93b0dc6875fffd911a7b0dc1ba96a8d1" shape="rect" coords="735,841,855,868" alt="">
       
   281 <area href="sdo_8c.html#0d8fa7ef68e2d40eb014d9b89abf5448" shape="rect" coords="748,461,841,488" alt="">
       
   282 <area href="sdo_8c.html#397e3c42e4165191c97fe342ae02e184" shape="rect" coords="923,436,1008,463" alt="">
       
   283 <area href="sdo_8c.html#cb77818f302f413301728d27c091fa03" shape="rect" coords="535,512,644,539" alt="">
       
   284 <area href="sdo_8c.html#8e536d3bb6ddd6da6da2148a39f00c5a" shape="rect" coords="520,563,659,589" alt="">
       
   285 <area href="sdo_8c.html#ed2846a6b2403ab9f0b69712f0411d66" shape="rect" coords="548,613,631,640" alt="">
       
   286 <area href="sdo_8c.html#57448321a7e327ac8264dfed071a1f90" shape="rect" coords="529,664,649,691" alt="">
       
   287 <area href="sdo_8c.html#6603431e4ce111d365118681a3b80653" shape="rect" coords="528,360,651,387" alt="">
       
   288 <area href="sdo_8c.html#bd7fd1f216960f4765749ff21b8c40fb" shape="rect" coords="548,715,631,741" alt="">
       
   289 <area href="sdo_8c.html#b708fa701e4afbb7b63c6e658317e6dc" shape="rect" coords="553,183,625,209" alt="">
       
   290 <area href="sdo_8c.html#6d81cdca911a4ea0234ab4b620a554f3" shape="rect" coords="521,765,657,792" alt="">
   256 </map>
   291 </map>
   257 
   292 
   258 </div>
   293 </div>
   259 </div><p>
   294 </div><p>
   260 <a class="anchor" name="8d1909a09c50c750e4d8626595acd9f6"></a><!-- doxytag: member="unix.c::canSend" ref="8d1909a09c50c750e4d8626595acd9f6" args="(CAN_PORT port, Message *m)" -->
   295 <a class="anchor" name="b510ea6afa8fdc7c55b3fd875c9f5209"></a><!-- doxytag: member="unix.c::canSend" ref="b510ea6afa8fdc7c55b3fd875c9f5209" args="(CAN_PORT port, Message *m)" -->
   261 <div class="memitem">
   296 <div class="memitem">
   262 <div class="memproto">
   297 <div class="memproto">
   263       <table class="memname">
   298       <table class="memname">
   264         <tr>
   299         <tr>
   265           <td class="memname">UNS8 canSend           </td>
   300           <td class="memname">UNS8 canSend           </td>
   266           <td>(</td>
   301           <td>(</td>
   267           <td class="paramtype"><a class="el" href="win32_2applicfg_8h.html#7ef59f941603c6680e74fc335523f17e">CAN_PORT</a>&nbsp;</td>
   302           <td class="paramtype"><a class="el" href="win32_2applicfg_8h.html#c5a917a8cacf5edd42ba6486c0c8a243">CAN_PORT</a>&nbsp;</td>
   268           <td class="paramname"> <em>port</em>, </td>
   303           <td class="paramname"> <em>port</em>, </td>
   269         </tr>
   304         </tr>
   270         <tr>
   305         <tr>
   271           <td class="paramkey"></td>
   306           <td class="paramkey"></td>
   272           <td></td>
   307           <td></td>
   286 
   321 
   287 <p>
   322 <p>
   288 Definition at line <a class="el" href="unix_8c-source.html#l00120">120</a> of file <a class="el" href="unix_8c-source.html">unix.c</a>.
   323 Definition at line <a class="el" href="unix_8c-source.html#l00120">120</a> of file <a class="el" href="unix_8c-source.html">unix.c</a>.
   289 </div>
   324 </div>
   290 </div><p>
   325 </div><p>
   291 <a class="anchor" name="a6eed61fc15f41f772d4645d7a5edeb5"></a><!-- doxytag: member="unix.c::LoadCanDriver" ref="a6eed61fc15f41f772d4645d7a5edeb5" args="(char *driver_name)" -->
   326 <a class="anchor" name="0012a2aa42ef694bd275c6b5be5c89c7"></a><!-- doxytag: member="unix.c::LoadCanDriver" ref="0012a2aa42ef694bd275c6b5be5c89c7" args="(char *driver_name)" -->
   292 <div class="memitem">
   327 <div class="memitem">
   293 <div class="memproto">
   328 <div class="memproto">
   294       <table class="memname">
   329       <table class="memname">
   295         <tr>
   330         <tr>
   296           <td class="memname"><a class="el" href="win32_2canfestival_8h.html#c4a0f44120dee396ab6bb57e23effaa8">LIB_HANDLE</a> LoadCanDriver           </td>
   331           <td class="memname"><a class="el" href="win32_2canfestival_8h.html#df21ab161742c7137cd3bcbe1f9145b7">LIB_HANDLE</a> LoadCanDriver           </td>
   297           <td>(</td>
   332           <td>(</td>
   298           <td class="paramtype">char *&nbsp;</td>
   333           <td class="paramtype">char *&nbsp;</td>
   299           <td class="paramname"> <em>driver_name</em>          </td>
   334           <td class="paramname"> <em>driver_name</em>          </td>
   300           <td>&nbsp;)&nbsp;</td>
   335           <td>&nbsp;)&nbsp;</td>
   301           <td width="100%"></td>
   336           <td width="100%"></td>
   310 Definition at line <a class="el" href="unix_8c-source.html#l00084">84</a> of file <a class="el" href="unix_8c-source.html">unix.c</a>.
   345 Definition at line <a class="el" href="unix_8c-source.html#l00084">84</a> of file <a class="el" href="unix_8c-source.html">unix.c</a>.
   311 <p>
   346 <p>
   312 Referenced by <a class="el" href="TestMasterMicroMod_8c-source.html#l00397">main()</a>.
   347 Referenced by <a class="el" href="TestMasterMicroMod_8c-source.html#l00397">main()</a>.
   313 </div>
   348 </div>
   314 </div><p>
   349 </div><p>
   315 <a class="anchor" name="cb4f394ec0e040c5962d3dc1957505fb"></a><!-- doxytag: member="unix.c::UnLoadCanDriver" ref="cb4f394ec0e040c5962d3dc1957505fb" args="(LIB_HANDLE handle)" -->
   350 <a class="anchor" name="a6bd04d2ce9d3601ce0430fa39d7e971"></a><!-- doxytag: member="unix.c::UnLoadCanDriver" ref="a6bd04d2ce9d3601ce0430fa39d7e971" args="(LIB_HANDLE handle)" -->
   316 <div class="memitem">
   351 <div class="memitem">
   317 <div class="memproto">
   352 <div class="memproto">
   318       <table class="memname">
   353       <table class="memname">
   319         <tr>
   354         <tr>
   320           <td class="memname">UNS8 UnLoadCanDriver           </td>
   355           <td class="memname">UNS8 UnLoadCanDriver           </td>
   321           <td>(</td>
   356           <td>(</td>
   322           <td class="paramtype"><a class="el" href="win32_2canfestival_8h.html#c4a0f44120dee396ab6bb57e23effaa8">LIB_HANDLE</a>&nbsp;</td>
   357           <td class="paramtype"><a class="el" href="win32_2canfestival_8h.html#df21ab161742c7137cd3bcbe1f9145b7">LIB_HANDLE</a>&nbsp;</td>
   323           <td class="paramname"> <em>handle</em>          </td>
   358           <td class="paramname"> <em>handle</em>          </td>
   324           <td>&nbsp;)&nbsp;</td>
   359           <td>&nbsp;)&nbsp;</td>
   325           <td width="100%"></td>
   360           <td width="100%"></td>
   326         </tr>
   361         </tr>
   327       </table>
   362       </table>
   333 <p>
   368 <p>
   334 Definition at line <a class="el" href="unix_8c-source.html#l00071">71</a> of file <a class="el" href="unix_8c-source.html">unix.c</a>.
   369 Definition at line <a class="el" href="unix_8c-source.html#l00071">71</a> of file <a class="el" href="unix_8c-source.html">unix.c</a>.
   335 </div>
   370 </div>
   336 </div><p>
   371 </div><p>
   337 <hr><h2>Variable Documentation</h2>
   372 <hr><h2>Variable Documentation</h2>
   338 <a class="anchor" name="0b740cf913752262ceb23d51648da86a"></a><!-- doxytag: member="unix.c::canports" ref="0b740cf913752262ceb23d51648da86a" args="[MAX_NB_CAN_PORTS]" -->
   373 <a class="anchor" name="95675d510c00ac25dd7cac0d50ce29e2"></a><!-- doxytag: member="unix.c::canports" ref="95675d510c00ac25dd7cac0d50ce29e2" args="[MAX_NB_CAN_PORTS]" -->
   339 <div class="memitem">
   374 <div class="memitem">
   340 <div class="memproto">
   375 <div class="memproto">
   341       <table class="memname">
   376       <table class="memname">
   342         <tr>
   377         <tr>
   343           <td class="memname"><a class="el" href="structCANPort.html">CANPort</a> <a class="el" href="unix_8c.html#0b740cf913752262ceb23d51648da86a">canports</a>[MAX_NB_CAN_PORTS] = {{0,},{0,},{0,},{0,},{0,},{0,},{0,},{0,},{0,},{0,},{0,},{0,},{0,},{0,},{0,},{0,}}          </td>
   378           <td class="memname"><a class="el" href="structCANPort.html">CANPort</a> <a class="el" href="unix_8c.html#95675d510c00ac25dd7cac0d50ce29e2">canports</a>[MAX_NB_CAN_PORTS] = {{0,},{0,},{0,},{0,},{0,},{0,},{0,},{0,},{0,},{0,},{0,},{0,},{0,},{0,},{0,},{0,}}          </td>
   344         </tr>
   379         </tr>
   345       </table>
   380       </table>
   346 </div>
   381 </div>
   347 <div class="memdoc">
   382 <div class="memdoc">
   348 
   383 
   352 Definition at line <a class="el" href="unix_8c-source.html#l00066">66</a> of file <a class="el" href="unix_8c-source.html">unix.c</a>.
   387 Definition at line <a class="el" href="unix_8c-source.html#l00066">66</a> of file <a class="el" href="unix_8c-source.html">unix.c</a>.
   353 <p>
   388 <p>
   354 Referenced by <a class="el" href="unix_8c-source.html#l00145">canOpen()</a>.
   389 Referenced by <a class="el" href="unix_8c-source.html#l00145">canOpen()</a>.
   355 </div>
   390 </div>
   356 </div><p>
   391 </div><p>
   357 <hr size="1"><address style="align: right;"><small>Generated on Fri Jun 8 08:51:43 2007 for CanFestival by&nbsp;
   392 <hr size="1"><address style="align: right;"><small>Generated on Mon Jul 2 19:10:19 2007 for CanFestival by&nbsp;
   358 <a href="http://www.doxygen.org/index.html">
   393 <a href="http://www.doxygen.org/index.html">
   359 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address>
   394 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address>
   360 </body>
   395 </body>
   361 </html>
   396 </html>