doc/doxygen/html/unix_8c.html
author nico
Mon, 04 Jun 2007 17:59:50 +0200
changeset 207 b6572d0336c3
permissions -rw-r--r--
First doxygen implementation
207
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
     1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
     2
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
     3
<title>CanFestival: /home/epimerde/documents/tc11/CanFestival-3/drivers/unix/unix.c File Reference</title>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
     4
<link href="doxygen.css" rel="stylesheet" type="text/css">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
     5
<link href="tabs.css" rel="stylesheet" type="text/css">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
     6
</head><body>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
     7
<!-- Generated by Doxygen 1.5.1 -->
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
     8
<div class="tabs">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
     9
  <ul>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    10
    <li><a href="main.html"><span>Main&nbsp;Page</span></a></li>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    11
    <li><a href="namespaces.html"><span>Namespaces</span></a></li>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    12
    <li><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    13
    <li id="current"><a href="files.html"><span>Files</span></a></li>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    14
  </ul></div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    15
<div class="tabs">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    16
  <ul>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    17
    <li><a href="files.html"><span>File&nbsp;List</span></a></li>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    18
    <li><a href="globals.html"><span>Globals</span></a></li>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    19
  </ul></div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    20
<h1>/home/epimerde/documents/tc11/CanFestival-3/drivers/unix/unix.c File Reference</h1><code>#include &lt;unistd.h&gt;</code><br>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    21
<code>#include &lt;stdio.h&gt;</code><br>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    22
<code>#include &lt;stdlib.h&gt;</code><br>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    23
<code>#include &quot;<a class="el" href="data_8h-source.html">data.h</a>&quot;</code><br>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    24
<code>#include &quot;<a class="el" href="win32_2canfestival_8h-source.html">canfestival.h</a>&quot;</code><br>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    25
<code>#include &quot;<a class="el" href="timers__driver_8h-source.html">timers_driver.h</a>&quot;</code><br>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    26
<code>#include &quot;<a class="el" href="can__driver_8h-source.html">can_driver.h</a>&quot;</code><br>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    27
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    28
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    29
<a href="unix_8c-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    30
<tr><td></td></tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    31
<tr><td colspan="2"><br><h2>Data Structures</h2></td></tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    32
<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>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    33
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    34
<tr><td colspan="2"><br><h2>Defines</h2></td></tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    35
<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>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    36
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    37
<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>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    38
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    39
<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>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    40
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    41
<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>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    42
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    43
<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    44
<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>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    45
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    46
<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>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    47
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    48
<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>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    49
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    50
<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>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    51
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    52
<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>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    53
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    54
<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>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    55
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    56
<tr><td colspan="2"><br><h2>Variables</h2></td></tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    57
<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>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    58
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    59
</table>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    60
<hr><h2>Define Documentation</h2>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    61
<a class="anchor" name="74c6a27b44fd54de5cb021299ffce612"></a><!-- doxytag: member="unix.c::DLL_CALL" ref="74c6a27b44fd54de5cb021299ffce612" args="(funcname)" -->
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    62
<div class="memitem">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    63
<div class="memproto">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    64
      <table class="memname">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    65
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    66
          <td class="memname">#define DLL_CALL          </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    67
          <td>(</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    68
          <td class="paramtype">funcname&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    69
          <td class="paramname">          </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    70
          <td>&nbsp;)&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    71
          <td width="100%">&nbsp;&nbsp;&nbsp;(* funcname##_driver)</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    72
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    73
      </table>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    74
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    75
<div class="memdoc">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    76
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    77
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    78
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    79
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    80
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>.
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    81
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    82
</div><p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    83
<a class="anchor" name="2af8b26c5600696a026aa95fe49b9dc9"></a><!-- doxytag: member="unix.c::DLSYM" ref="2af8b26c5600696a026aa95fe49b9dc9" args="(name)" -->
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    84
<div class="memitem">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    85
<div class="memproto">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    86
      <table class="memname">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    87
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    88
          <td class="memname">#define DLSYM          </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    89
          <td>(</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    90
          <td class="paramtype">name&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    91
          <td class="paramname">          </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    92
          <td>&nbsp;)&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    93
          <td width="100%"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    94
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    95
      </table>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    96
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    97
<div class="memdoc">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    98
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    99
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   100
<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>);\
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   101
        <span class="keywordflow">if</span> ((error = dlerror()) != NULL)  {\
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   102
                fprintf (stderr, <span class="stringliteral">"%s\n"</span>, error);\
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   103
                <a class="code" href="unix_8c.html#cb4f394ec0e040c5962d3dc1957505fb">UnLoadCanDriver</a>(handle);\
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   104
                <span class="keywordflow">return</span> NULL;\
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   105
        }
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   106
</pre></div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   107
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   108
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>.
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   109
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   110
</div><p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   111
<a class="anchor" name="7f7ce94bf48fde67f4af7b64c7ca4c85"></a><!-- doxytag: member="unix.c::FCT_PTR_INIT" ref="7f7ce94bf48fde67f4af7b64c7ca4c85" args="" -->
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   112
<div class="memitem">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   113
<div class="memproto">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   114
      <table class="memname">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   115
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   116
          <td class="memname">#define FCT_PTR_INIT&nbsp;&nbsp;&nbsp;=NULL          </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   117
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   118
      </table>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   119
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   120
<div class="memdoc">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   121
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   122
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   123
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   124
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   125
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>.
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   126
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   127
</div><p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   128
<a class="anchor" name="c2f10bc5b98269f33af8a74299236e03"></a><!-- doxytag: member="unix.c::MAX_NB_CAN_PORTS" ref="c2f10bc5b98269f33af8a74299236e03" args="" -->
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   129
<div class="memitem">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   130
<div class="memproto">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   131
      <table class="memname">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   132
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   133
          <td class="memname">#define MAX_NB_CAN_PORTS&nbsp;&nbsp;&nbsp;16          </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   134
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   135
      </table>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   136
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   137
<div class="memdoc">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   138
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   139
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   140
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   141
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   142
Definition at line <a class="el" href="unix_8c-source.html#l00049">49</a> of file <a class="el" href="unix_8c-source.html">unix.c</a>.
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   143
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   144
</div><p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   145
<hr><h2>Function Documentation</h2>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   146
<a class="anchor" name="02957f72a9b951603adb98a142bd447b"></a><!-- doxytag: member="unix.c::canClose" ref="02957f72a9b951603adb98a142bd447b" args="(CO_Data *d)" -->
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   147
<div class="memitem">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   148
<div class="memproto">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   149
      <table class="memname">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   150
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   151
          <td class="memname">int canClose           </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   152
          <td>(</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   153
          <td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> *&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   154
          <td class="paramname"> <em>d</em>          </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   155
          <td>&nbsp;)&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   156
          <td width="100%"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   157
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   158
      </table>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   159
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   160
<div class="memdoc">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   161
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   162
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   163
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   164
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   165
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>.
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   166
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   167
</div><p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   168
<a class="anchor" name="7476146ad15948a22e7f80a00c89c40a"></a><!-- doxytag: member="unix.c::canOpen" ref="7476146ad15948a22e7f80a00c89c40a" args="(s_BOARD *board, CO_Data *d)" -->
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   169
<div class="memitem">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   170
<div class="memproto">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   171
      <table class="memname">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   172
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   173
          <td class="memname"><a class="el" href="win32_2applicfg_8h.html#7ef59f941603c6680e74fc335523f17e">CAN_PORT</a> canOpen           </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   174
          <td>(</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   175
          <td class="paramtype"><a class="el" href="structstruct__s__BOARD.html">s_BOARD</a> *&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   176
          <td class="paramname"> <em>board</em>, </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   177
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   178
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   179
          <td class="paramkey"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   180
          <td></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   181
          <td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> *&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   182
          <td class="paramname"> <em>d</em></td><td>&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   183
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   184
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   185
          <td></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   186
          <td>)</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   187
          <td></td><td></td><td width="100%"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   188
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   189
      </table>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   190
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   191
<div class="memdoc">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   192
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   193
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   194
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   195
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   196
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>.
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   197
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   198
</div><p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   199
<a class="anchor" name="45ceca3727c2fb7ac93958a215efb827"></a><!-- doxytag: member="unix.c::canReceiveLoop" ref="45ceca3727c2fb7ac93958a215efb827" args="(CAN_PORT port)" -->
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   200
<div class="memitem">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   201
<div class="memproto">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   202
      <table class="memname">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   203
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   204
          <td class="memname">void canReceiveLoop           </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   205
          <td>(</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   206
          <td class="paramtype"><a class="el" href="win32_2applicfg_8h.html#7ef59f941603c6680e74fc335523f17e">CAN_PORT</a>&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   207
          <td class="paramname"> <em>port</em>          </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   208
          <td>&nbsp;)&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   209
          <td width="100%"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   210
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   211
      </table>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   212
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   213
<div class="memdoc">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   214
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   215
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   216
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   217
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   218
Definition at line <a class="el" href="unix_8c-source.html#l00132">132</a> of file <a class="el" href="unix_8c-source.html">unix.c</a>.
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   219
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   220
References <a class="el" href="states_8c-source.html#l00039">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>.
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   221
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   222
</div><p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   223
<a class="anchor" name="8d1909a09c50c750e4d8626595acd9f6"></a><!-- doxytag: member="unix.c::canSend" ref="8d1909a09c50c750e4d8626595acd9f6" args="(CAN_PORT port, Message *m)" -->
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   224
<div class="memitem">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   225
<div class="memproto">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   226
      <table class="memname">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   227
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   228
          <td class="memname">UNS8 canSend           </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   229
          <td>(</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   230
          <td class="paramtype"><a class="el" href="win32_2applicfg_8h.html#7ef59f941603c6680e74fc335523f17e">CAN_PORT</a>&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   231
          <td class="paramname"> <em>port</em>, </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   232
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   233
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   234
          <td class="paramkey"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   235
          <td></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   236
          <td class="paramtype"><a class="el" href="structMessage.html">Message</a> *&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   237
          <td class="paramname"> <em>m</em></td><td>&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   238
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   239
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   240
          <td></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   241
          <td>)</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   242
          <td></td><td></td><td width="100%"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   243
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   244
      </table>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   245
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   246
<div class="memdoc">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   247
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   248
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   249
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   250
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   251
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>.
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   252
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   253
</div><p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   254
<a class="anchor" name="a6eed61fc15f41f772d4645d7a5edeb5"></a><!-- doxytag: member="unix.c::LoadCanDriver" ref="a6eed61fc15f41f772d4645d7a5edeb5" args="(char *driver_name)" -->
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   255
<div class="memitem">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   256
<div class="memproto">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   257
      <table class="memname">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   258
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   259
          <td class="memname"><a class="el" href="win32_2canfestival_8h.html#c4a0f44120dee396ab6bb57e23effaa8">LIB_HANDLE</a> LoadCanDriver           </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   260
          <td>(</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   261
          <td class="paramtype">char *&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   262
          <td class="paramname"> <em>driver_name</em>          </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   263
          <td>&nbsp;)&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   264
          <td width="100%"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   265
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   266
      </table>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   267
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   268
<div class="memdoc">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   269
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   270
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   271
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   272
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   273
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>.
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   274
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   275
</div><p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   276
<a class="anchor" name="cb4f394ec0e040c5962d3dc1957505fb"></a><!-- doxytag: member="unix.c::UnLoadCanDriver" ref="cb4f394ec0e040c5962d3dc1957505fb" args="(LIB_HANDLE handle)" -->
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   277
<div class="memitem">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   278
<div class="memproto">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   279
      <table class="memname">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   280
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   281
          <td class="memname">UNS8 UnLoadCanDriver           </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   282
          <td>(</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   283
          <td class="paramtype"><a class="el" href="win32_2canfestival_8h.html#c4a0f44120dee396ab6bb57e23effaa8">LIB_HANDLE</a>&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   284
          <td class="paramname"> <em>handle</em>          </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   285
          <td>&nbsp;)&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   286
          <td width="100%"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   287
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   288
      </table>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   289
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   290
<div class="memdoc">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   291
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   292
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   293
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   294
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   295
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>.
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   296
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   297
</div><p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   298
<hr><h2>Variable Documentation</h2>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   299
<a class="anchor" name="0b740cf913752262ceb23d51648da86a"></a><!-- doxytag: member="unix.c::canports" ref="0b740cf913752262ceb23d51648da86a" args="[MAX_NB_CAN_PORTS]" -->
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   300
<div class="memitem">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   301
<div class="memproto">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   302
      <table class="memname">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   303
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   304
          <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>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   305
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   306
      </table>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   307
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   308
<div class="memdoc">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   309
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   310
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   311
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   312
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   313
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>.
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   314
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   315
</div><p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   316
<hr size="1"><address style="align: right;"><small>Generated on Mon Jun 4 16:29:07 2007 for CanFestival by&nbsp;
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   317
<a href="http://www.doxygen.org/index.html">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   318
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   319
</body>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   320
</html>