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: drivers/unix/unix.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 Page</span></a></li> |
|
11 <li><a href="annotated.html"><span>Data Structures</span></a></li> |
|
12 <li id="current"><a href="files.html"><span>Files</span></a></li> |
|
13 <li><a href="dirs.html"><span>Directories</span></a></li> |
|
14 </ul></div> |
|
15 <div class="tabs"> |
|
16 <ul> |
|
17 <li><a href="files.html"><span>File List</span></a></li> |
|
18 <li><a href="globals.html"><span>Globals</span></a></li> |
|
19 </ul></div> |
|
20 <div class="nav"> |
|
21 <a class="el" href="dir_65dd258ff9b9ef4cd7bd0d22f5e58dba.html">drivers</a> » <a class="el" href="dir_29af917da4a435c30076aa14c4557ac5.html">unix</a></div> |
|
22 <h1>unix.c File Reference</h1><code>#include <unistd.h></code><br> |
|
23 <code>#include <stdio.h></code><br> |
|
24 <code>#include <stdlib.h></code><br> |
|
25 <code>#include "<a class="el" href="data_8h-source.html">data.h</a>"</code><br> |
|
26 <code>#include "<a class="el" href="win32_2canfestival_8h-source.html">canfestival.h</a>"</code><br> |
|
27 <code>#include "<a class="el" href="timers__driver_8h-source.html">timers_driver.h</a>"</code><br> |
|
28 <code>#include "<a class="el" href="can__driver_8h-source.html">can_driver.h</a>"</code><br> |
|
29 |
|
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> |
|
32 <map name="drivers/unix/unix.c_map"> |
|
33 <area href="data_8h.html" shape="rect" coords="332,436,385,463" 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="315,740,403,767" 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=""> |
|
51 </map> |
|
52 |
|
53 <p> |
|
54 <a href="unix_8c-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0"> |
|
55 <tr><td></td></tr> |
|
56 <tr><td colspan="2"><br><h2>Data Structures</h2></td></tr> |
|
57 <tr><td class="memItemLeft" nowrap align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="structCANPort.html">CANPort</a></td></tr> |
|
58 |
|
59 <tr><td colspan="2"><br><h2>Defines</h2></td></tr> |
|
60 <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="unix_8c.html#89cf6df671ff9d1386748dfd3efe3675">DLL_CALL</a>(funcname) (* funcname##_driver)</td></tr> |
|
61 |
|
62 <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="unix_8c.html#7e34e187b01b3c6623af4ea0344ac92f">FCT_PTR_INIT</a> =NULL</td></tr> |
|
63 |
|
64 <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="unix_8c.html#1063d59b6536410ef364b464fb114244">DLSYM</a>(name)</td></tr> |
|
65 |
|
66 <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="unix_8c.html#e3eca11cd1b49149bf430038ec9d8db7">MAX_NB_CAN_PORTS</a> 16</td></tr> |
|
67 |
|
68 <tr><td colspan="2"><br><h2>Functions</h2></td></tr> |
|
69 <tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8 </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> |
|
70 |
|
71 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="win32_2canfestival_8h.html#df21ab161742c7137cd3bcbe1f9145b7">LIB_HANDLE</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="unix_8c.html#0012a2aa42ef694bd275c6b5be5c89c7">LoadCanDriver</a> (char *driver_name)</td></tr> |
|
72 |
|
73 <tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8 </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> |
|
74 |
|
75 <tr><td class="memItemLeft" nowrap align="right" valign="top">void </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> |
|
76 |
|
77 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="win32_2applicfg_8h.html#c5a917a8cacf5edd42ba6486c0c8a243">CAN_PORT</a> </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> |
|
78 |
|
79 <tr><td class="memItemLeft" nowrap align="right" valign="top">int </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> |
|
80 |
|
81 <tr><td colspan="2"><br><h2>Variables</h2></td></tr> |
|
82 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="structCANPort.html">CANPort</a> </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> |
|
83 |
|
84 </table> |
|
85 <hr><h2>Define Documentation</h2> |
|
86 <a class="anchor" name="89cf6df671ff9d1386748dfd3efe3675"></a><!-- doxytag: member="unix.c::DLL_CALL" ref="89cf6df671ff9d1386748dfd3efe3675" args="(funcname)" --> |
|
87 <div class="memitem"> |
|
88 <div class="memproto"> |
|
89 <table class="memname"> |
|
90 <tr> |
|
91 <td class="memname">#define DLL_CALL </td> |
|
92 <td>(</td> |
|
93 <td class="paramtype">funcname </td> |
|
94 <td class="paramname"> </td> |
|
95 <td> ) </td> |
|
96 <td width="100%"> (* funcname##_driver)</td> |
|
97 </tr> |
|
98 </table> |
|
99 </div> |
|
100 <div class="memdoc"> |
|
101 |
|
102 <p> |
|
103 |
|
104 <p> |
|
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>. |
|
106 <p> |
|
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>. |
|
108 </div> |
|
109 </div><p> |
|
110 <a class="anchor" name="1063d59b6536410ef364b464fb114244"></a><!-- doxytag: member="unix.c::DLSYM" ref="1063d59b6536410ef364b464fb114244" args="(name)" --> |
|
111 <div class="memitem"> |
|
112 <div class="memproto"> |
|
113 <table class="memname"> |
|
114 <tr> |
|
115 <td class="memname">#define DLSYM </td> |
|
116 <td>(</td> |
|
117 <td class="paramtype">name </td> |
|
118 <td class="paramname"> </td> |
|
119 <td> ) </td> |
|
120 <td width="100%"></td> |
|
121 </tr> |
|
122 </table> |
|
123 </div> |
|
124 <div class="memdoc"> |
|
125 |
|
126 <p> |
|
127 <b>Value:</b><div class="fragment"><pre class="fragment">*(<span class="keywordtype">void</span> **) (&name##_driver) = dlsym(handle, #name<span class="stringliteral">"_driver"</span>);\ |
|
128 <span class="keywordflow">if</span> ((error = dlerror()) != NULL) {\ |
|
129 fprintf (stderr, <span class="stringliteral">"%s\n"</span>, error);\ |
|
130 <a class="code" href="unix_8c.html#a6bd04d2ce9d3601ce0430fa39d7e971">UnLoadCanDriver</a>(handle);\ |
|
131 <span class="keywordflow">return</span> NULL;\ |
|
132 } |
|
133 </pre></div> |
|
134 <p> |
|
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>. |
|
136 <p> |
|
137 Referenced by <a class="el" href="unix_8c-source.html#l00084">LoadCanDriver()</a>. |
|
138 </div> |
|
139 </div><p> |
|
140 <a class="anchor" name="7e34e187b01b3c6623af4ea0344ac92f"></a><!-- doxytag: member="unix.c::FCT_PTR_INIT" ref="7e34e187b01b3c6623af4ea0344ac92f" args="" --> |
|
141 <div class="memitem"> |
|
142 <div class="memproto"> |
|
143 <table class="memname"> |
|
144 <tr> |
|
145 <td class="memname">#define FCT_PTR_INIT =NULL </td> |
|
146 </tr> |
|
147 </table> |
|
148 </div> |
|
149 <div class="memdoc"> |
|
150 |
|
151 <p> |
|
152 |
|
153 <p> |
|
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>. |
|
155 </div> |
|
156 </div><p> |
|
157 <a class="anchor" name="e3eca11cd1b49149bf430038ec9d8db7"></a><!-- doxytag: member="unix.c::MAX_NB_CAN_PORTS" ref="e3eca11cd1b49149bf430038ec9d8db7" args="" --> |
|
158 <div class="memitem"> |
|
159 <div class="memproto"> |
|
160 <table class="memname"> |
|
161 <tr> |
|
162 <td class="memname">#define MAX_NB_CAN_PORTS 16 </td> |
|
163 </tr> |
|
164 </table> |
|
165 </div> |
|
166 <div class="memdoc"> |
|
167 |
|
168 <p> |
|
169 |
|
170 <p> |
|
171 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>. |
|
172 <p> |
|
173 Referenced by <a class="el" href="unix_8c-source.html#l00145">canOpen()</a>. |
|
174 </div> |
|
175 </div><p> |
|
176 <hr><h2>Function Documentation</h2> |
|
177 <a class="anchor" name="6d6b692e726dee0a5726e6d3db1b1693"></a><!-- doxytag: member="unix.c::canClose" ref="6d6b692e726dee0a5726e6d3db1b1693" args="(CO_Data *d)" --> |
|
178 <div class="memitem"> |
|
179 <div class="memproto"> |
|
180 <table class="memname"> |
|
181 <tr> |
|
182 <td class="memname">int canClose </td> |
|
183 <td>(</td> |
|
184 <td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> * </td> |
|
185 <td class="paramname"> <em>d</em> </td> |
|
186 <td> ) </td> |
|
187 <td width="100%"></td> |
|
188 </tr> |
|
189 </table> |
|
190 </div> |
|
191 <div class="memdoc"> |
|
192 |
|
193 <p> |
|
194 |
|
195 <p> |
|
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>. |
|
197 <p> |
|
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>. |
|
199 </div> |
|
200 </div><p> |
|
201 <a class="anchor" name="c32083e9caa1b02f7726a8b87d10ce33"></a><!-- doxytag: member="unix.c::canOpen" ref="c32083e9caa1b02f7726a8b87d10ce33" args="(s_BOARD *board, CO_Data *d)" --> |
|
202 <div class="memitem"> |
|
203 <div class="memproto"> |
|
204 <table class="memname"> |
|
205 <tr> |
|
206 <td class="memname"><a class="el" href="win32_2applicfg_8h.html#c5a917a8cacf5edd42ba6486c0c8a243">CAN_PORT</a> canOpen </td> |
|
207 <td>(</td> |
|
208 <td class="paramtype"><a class="el" href="structstruct__s__BOARD.html">s_BOARD</a> * </td> |
|
209 <td class="paramname"> <em>board</em>, </td> |
|
210 </tr> |
|
211 <tr> |
|
212 <td class="paramkey"></td> |
|
213 <td></td> |
|
214 <td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> * </td> |
|
215 <td class="paramname"> <em>d</em></td><td> </td> |
|
216 </tr> |
|
217 <tr> |
|
218 <td></td> |
|
219 <td>)</td> |
|
220 <td></td><td></td><td width="100%"></td> |
|
221 </tr> |
|
222 </table> |
|
223 </div> |
|
224 <div class="memdoc"> |
|
225 |
|
226 <p> |
|
227 |
|
228 <p> |
|
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>. |
|
230 <p> |
|
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>. |
|
232 </div> |
|
233 </div><p> |
|
234 <a class="anchor" name="f6396866bcbfb45d7272b70731ab39cf"></a><!-- doxytag: member="unix.c::canReceiveLoop" ref="f6396866bcbfb45d7272b70731ab39cf" args="(CAN_PORT port)" --> |
|
235 <div class="memitem"> |
|
236 <div class="memproto"> |
|
237 <table class="memname"> |
|
238 <tr> |
|
239 <td class="memname">void canReceiveLoop </td> |
|
240 <td>(</td> |
|
241 <td class="paramtype"><a class="el" href="win32_2applicfg_8h.html#c5a917a8cacf5edd42ba6486c0c8a243">CAN_PORT</a> </td> |
|
242 <td class="paramname"> <em>port</em> </td> |
|
243 <td> ) </td> |
|
244 <td width="100%"></td> |
|
245 </tr> |
|
246 </table> |
|
247 </div> |
|
248 <div class="memdoc"> |
|
249 |
|
250 <p> |
|
251 |
|
252 <p> |
|
253 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>. |
|
254 <p> |
|
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>. |
|
256 <p> |
|
257 Referenced by <a class="el" href="unix_8c-source.html#l00145">canOpen()</a>. |
|
258 <p> |
|
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> |
|
260 <map name="unix_8c_f6396866bcbfb45d7272b70731ab39cf_cgraph_map"> |
|
261 <area href="states_8c.html#5903338b79e219eeb27f61974419fc12" shape="rect" coords="168,247,253,273" alt=""> |
|
262 <area href="drivers__win32_8cpp.html#3fcc13134ab40e532057273c24fadeb3" shape="rect" coords="169,297,252,324" alt=""> |
|
263 <area href="timers__unix_8c.html#aa3c568288a54a9398524255602bbce8" shape="rect" coords="168,348,253,375" alt=""> |
|
264 <area href="timers__unix_8c.html#887d197b991c23bc11f626ae688abec7" shape="rect" coords="167,399,255,425" alt=""> |
|
265 <area href="nmtSlave_8c.html#078a76722e34eb36a14a39ecf16f3a9d" shape="rect" coords="305,69,463,96" alt=""> |
|
266 <area href="lifegrd_8c.html#5b34a311b7b97bb79db8e729c2dcbf36" shape="rect" coords="512,113,667,140" alt=""> |
|
267 <area href="pdo_8c.html#f653b9e9cc46d8290b3ce2d6392b5a52" shape="rect" coords="544,247,635,273" alt=""> |
|
268 <area href="sdo_8c.html#c93bfdbec900f0b60386f0a2a5256826" shape="rect" coords="339,537,429,564" 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=""> |
|
291 </map> |
|
292 |
|
293 </div> |
|
294 </div><p> |
|
295 <a class="anchor" name="b510ea6afa8fdc7c55b3fd875c9f5209"></a><!-- doxytag: member="unix.c::canSend" ref="b510ea6afa8fdc7c55b3fd875c9f5209" args="(CAN_PORT port, Message *m)" --> |
|
296 <div class="memitem"> |
|
297 <div class="memproto"> |
|
298 <table class="memname"> |
|
299 <tr> |
|
300 <td class="memname">UNS8 canSend </td> |
|
301 <td>(</td> |
|
302 <td class="paramtype"><a class="el" href="win32_2applicfg_8h.html#c5a917a8cacf5edd42ba6486c0c8a243">CAN_PORT</a> </td> |
|
303 <td class="paramname"> <em>port</em>, </td> |
|
304 </tr> |
|
305 <tr> |
|
306 <td class="paramkey"></td> |
|
307 <td></td> |
|
308 <td class="paramtype"><a class="el" href="structMessage.html">Message</a> * </td> |
|
309 <td class="paramname"> <em>m</em></td><td> </td> |
|
310 </tr> |
|
311 <tr> |
|
312 <td></td> |
|
313 <td>)</td> |
|
314 <td></td><td></td><td width="100%"></td> |
|
315 </tr> |
|
316 </table> |
|
317 </div> |
|
318 <div class="memdoc"> |
|
319 |
|
320 <p> |
|
321 |
|
322 <p> |
|
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>. |
|
324 </div> |
|
325 </div><p> |
|
326 <a class="anchor" name="0012a2aa42ef694bd275c6b5be5c89c7"></a><!-- doxytag: member="unix.c::LoadCanDriver" ref="0012a2aa42ef694bd275c6b5be5c89c7" args="(char *driver_name)" --> |
|
327 <div class="memitem"> |
|
328 <div class="memproto"> |
|
329 <table class="memname"> |
|
330 <tr> |
|
331 <td class="memname"><a class="el" href="win32_2canfestival_8h.html#df21ab161742c7137cd3bcbe1f9145b7">LIB_HANDLE</a> LoadCanDriver </td> |
|
332 <td>(</td> |
|
333 <td class="paramtype">char * </td> |
|
334 <td class="paramname"> <em>driver_name</em> </td> |
|
335 <td> ) </td> |
|
336 <td width="100%"></td> |
|
337 </tr> |
|
338 </table> |
|
339 </div> |
|
340 <div class="memdoc"> |
|
341 |
|
342 <p> |
|
343 |
|
344 <p> |
|
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>. |
|
346 <p> |
|
347 Referenced by <a class="el" href="TestMasterMicroMod_8c-source.html#l00397">main()</a>. |
|
348 </div> |
|
349 </div><p> |
|
350 <a class="anchor" name="a6bd04d2ce9d3601ce0430fa39d7e971"></a><!-- doxytag: member="unix.c::UnLoadCanDriver" ref="a6bd04d2ce9d3601ce0430fa39d7e971" args="(LIB_HANDLE handle)" --> |
|
351 <div class="memitem"> |
|
352 <div class="memproto"> |
|
353 <table class="memname"> |
|
354 <tr> |
|
355 <td class="memname">UNS8 UnLoadCanDriver </td> |
|
356 <td>(</td> |
|
357 <td class="paramtype"><a class="el" href="win32_2canfestival_8h.html#df21ab161742c7137cd3bcbe1f9145b7">LIB_HANDLE</a> </td> |
|
358 <td class="paramname"> <em>handle</em> </td> |
|
359 <td> ) </td> |
|
360 <td width="100%"></td> |
|
361 </tr> |
|
362 </table> |
|
363 </div> |
|
364 <div class="memdoc"> |
|
365 |
|
366 <p> |
|
367 |
|
368 <p> |
|
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>. |
|
370 </div> |
|
371 </div><p> |
|
372 <hr><h2>Variable Documentation</h2> |
|
373 <a class="anchor" name="95675d510c00ac25dd7cac0d50ce29e2"></a><!-- doxytag: member="unix.c::canports" ref="95675d510c00ac25dd7cac0d50ce29e2" args="[MAX_NB_CAN_PORTS]" --> |
|
374 <div class="memitem"> |
|
375 <div class="memproto"> |
|
376 <table class="memname"> |
|
377 <tr> |
|
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> |
|
379 </tr> |
|
380 </table> |
|
381 </div> |
|
382 <div class="memdoc"> |
|
383 |
|
384 <p> |
|
385 |
|
386 <p> |
|
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>. |
|
388 <p> |
|
389 Referenced by <a class="el" href="unix_8c-source.html#l00145">canOpen()</a>. |
|
390 </div> |
|
391 </div><p> |
|
392 <hr size="1"><address style="align: right;"><small>Generated on Mon Jul 2 19:10:19 2007 for CanFestival by |
|
393 <a href="http://www.doxygen.org/index.html"> |
|
394 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> |
|
395 </body> |
|
396 </html> |
|