|
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
|
2 <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> |
|
3 <title>CanFestival: /home/epimerde/documents/tc11/CanFestival-3/drivers/win32/drivers_win32.cpp 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="namespaces.html"><span>Namespaces</span></a></li> |
|
12 <li><a href="annotated.html"><span>Data Structures</span></a></li> |
|
13 <li id="current"><a href="files.html"><span>Files</span></a></li> |
|
14 </ul></div> |
|
15 <div class="tabs"> |
|
16 <ul> |
|
17 <li><a href="files.html"><span>File List</span></a></li> |
|
18 <li><a href="globals.html"><span>Globals</span></a></li> |
|
19 </ul></div> |
|
20 <h1>/home/epimerde/documents/tc11/CanFestival-3/drivers/win32/drivers_win32.cpp File Reference</h1><code>#include <windows.h></code><br> |
|
21 <code>#include "<a class="el" href="win32_2canfestival_8h-source.html">canfestival.h</a>"</code><br> |
|
22 <code>#include "<a class="el" href="timer_8h-source.html">timer.h</a>"</code><br> |
|
23 <code>#include "<a class="el" href="timers__driver_8h-source.html">timers_driver.h</a>"</code><br> |
|
24 |
|
25 <p> |
|
26 <a href="drivers__win32_8cpp-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0"> |
|
27 <tr><td></td></tr> |
|
28 <tr><td colspan="2"><br><h2>Data Structures</h2></td></tr> |
|
29 <tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classdriver__procs.html">driver_procs</a></td></tr> |
|
30 |
|
31 <tr><td class="memItemLeft" nowrap align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="structdriver__data.html">driver_data</a></td></tr> |
|
32 |
|
33 <tr><td colspan="2"><br><h2>Defines</h2></td></tr> |
|
34 <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="drivers__win32_8cpp.html#74c6a27b44fd54de5cb021299ffce612">DLL_CALL</a>(funcname) (*_##funcname)</td></tr> |
|
35 |
|
36 <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="drivers__win32_8cpp.html#7f7ce94bf48fde67f4af7b64c7ca4c85">FCT_PTR_INIT</a> =NULL</td></tr> |
|
37 |
|
38 <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="drivers__win32_8cpp.html#fa9a7a4802f45e593e1a49e764b12849">myTEXT</a>(str) str</td></tr> |
|
39 |
|
40 <tr><td colspan="2"><br><h2>Typedefs</h2></td></tr> |
|
41 <tr><td class="memItemLeft" nowrap align="right" valign="top">typedef UNS8(*) </td><td class="memItemRight" valign="bottom"><a class="el" href="drivers__win32_8cpp.html#f0240c9d4c35205726e5ae81888327dd">CANRECEIVE_DRIVER_PROC</a> (void *inst, <a class="el" href="structMessage.html">Message</a> *m)</td></tr> |
|
42 |
|
43 <tr><td class="memItemLeft" nowrap align="right" valign="top">typedef UNS8(*) </td><td class="memItemRight" valign="bottom"><a class="el" href="drivers__win32_8cpp.html#90aa70ea2296b46e3fa52ff5e4bbc399">CANSEND_DRIVER_PROC</a> (void *inst, const <a class="el" href="structMessage.html">Message</a> *m)</td></tr> |
|
44 |
|
45 <tr><td class="memItemLeft" nowrap align="right" valign="top">typedef void *(*) </td><td class="memItemRight" valign="bottom"><a class="el" href="drivers__win32_8cpp.html#5db8713e505308b09dbe85ecbe707607">CANOPEN_DRIVER_PROC</a> (<a class="el" href="structstruct__s__BOARD.html">s_BOARD</a> *board)</td></tr> |
|
46 |
|
47 <tr><td class="memItemLeft" nowrap align="right" valign="top">typedef int(*) </td><td class="memItemRight" valign="bottom"><a class="el" href="drivers__win32_8cpp.html#5613306de0117eb5242ea9934348eb9f">CANCLOSE_DRIVER_PROC</a> (void *inst)</td></tr> |
|
48 |
|
49 <tr><td colspan="2"><br><h2>Functions</h2></td></tr> |
|
50 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="win32_2canfestival_8h.html#c4a0f44120dee396ab6bb57e23effaa8">LIB_HANDLE</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="drivers__win32_8cpp.html#a6eed61fc15f41f772d4645d7a5edeb5">LoadCanDriver</a> (char *driver_name)</td></tr> |
|
51 |
|
52 <tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8 </td><td class="memItemRight" valign="bottom"><a class="el" href="drivers__win32_8cpp.html#c608a4ba478a809fd963a342a24226fd">canReceive</a> (<a class="el" href="win32_2applicfg_8h.html#7ef59f941603c6680e74fc335523f17e">CAN_PORT</a> fd0, <a class="el" href="structMessage.html">Message</a> *m)</td></tr> |
|
53 |
|
54 <tr><td class="memItemLeft" nowrap align="right" valign="top">void * </td><td class="memItemRight" valign="bottom"><a class="el" href="drivers__win32_8cpp.html#469503c5171a0cdd8369c1ec39d97d2c">canReceiveLoop</a> (<a class="el" href="win32_2applicfg_8h.html#7ef59f941603c6680e74fc335523f17e">CAN_PORT</a> fd0)</td></tr> |
|
55 |
|
56 <tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8 </td><td class="memItemRight" valign="bottom"><a class="el" href="drivers__win32_8cpp.html#01559baf432253d46f1142231a968247">canSend</a> (<a class="el" href="win32_2applicfg_8h.html#7ef59f941603c6680e74fc335523f17e">CAN_PORT</a> fd0, <a class="el" href="structMessage.html">Message</a> *m)</td></tr> |
|
57 |
|
58 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="win32_2applicfg_8h.html#712c7b28987b12b8d400df19c92d0f5e">CAN_HANDLE</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="drivers__win32_8cpp.html#d82cede875fd89036cdeda13e293dafe">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> |
|
59 |
|
60 <tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="drivers__win32_8cpp.html#02957f72a9b951603adb98a142bd447b">canClose</a> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d)</td></tr> |
|
61 |
|
62 <tr><td colspan="2"><br><h2>Variables</h2></td></tr> |
|
63 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classdriver__procs.html">driver_procs</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="drivers__win32_8cpp.html#410d0af15c08b84bce57bd000f9f8034">s_driver_procs</a></td></tr> |
|
64 |
|
65 </table> |
|
66 <hr><h2>Define Documentation</h2> |
|
67 <a class="anchor" name="74c6a27b44fd54de5cb021299ffce612"></a><!-- doxytag: member="drivers_win32.cpp::DLL_CALL" ref="74c6a27b44fd54de5cb021299ffce612" args="(funcname)" --> |
|
68 <div class="memitem"> |
|
69 <div class="memproto"> |
|
70 <table class="memname"> |
|
71 <tr> |
|
72 <td class="memname">#define DLL_CALL </td> |
|
73 <td>(</td> |
|
74 <td class="paramtype">funcname </td> |
|
75 <td class="paramname"> </td> |
|
76 <td> ) </td> |
|
77 <td width="100%"> (*_##funcname)</td> |
|
78 </tr> |
|
79 </table> |
|
80 </div> |
|
81 <div class="memdoc"> |
|
82 |
|
83 <p> |
|
84 |
|
85 <p> |
|
86 Definition at line <a class="el" href="drivers__win32_8cpp-source.html#l00032">32</a> of file <a class="el" href="drivers__win32_8cpp-source.html">drivers_win32.cpp</a>. |
|
87 </div> |
|
88 </div><p> |
|
89 <a class="anchor" name="7f7ce94bf48fde67f4af7b64c7ca4c85"></a><!-- doxytag: member="drivers_win32.cpp::FCT_PTR_INIT" ref="7f7ce94bf48fde67f4af7b64c7ca4c85" args="" --> |
|
90 <div class="memitem"> |
|
91 <div class="memproto"> |
|
92 <table class="memname"> |
|
93 <tr> |
|
94 <td class="memname">#define FCT_PTR_INIT =NULL </td> |
|
95 </tr> |
|
96 </table> |
|
97 </div> |
|
98 <div class="memdoc"> |
|
99 |
|
100 <p> |
|
101 |
|
102 <p> |
|
103 Definition at line <a class="el" href="drivers__win32_8cpp-source.html#l00033">33</a> of file <a class="el" href="drivers__win32_8cpp-source.html">drivers_win32.cpp</a>. |
|
104 </div> |
|
105 </div><p> |
|
106 <a class="anchor" name="fa9a7a4802f45e593e1a49e764b12849"></a><!-- doxytag: member="drivers_win32.cpp::myTEXT" ref="fa9a7a4802f45e593e1a49e764b12849" args="(str)" --> |
|
107 <div class="memitem"> |
|
108 <div class="memproto"> |
|
109 <table class="memname"> |
|
110 <tr> |
|
111 <td class="memname">#define myTEXT </td> |
|
112 <td>(</td> |
|
113 <td class="paramtype">str </td> |
|
114 <td class="paramname"> </td> |
|
115 <td> ) </td> |
|
116 <td width="100%"> str</td> |
|
117 </tr> |
|
118 </table> |
|
119 </div> |
|
120 <div class="memdoc"> |
|
121 |
|
122 <p> |
|
123 |
|
124 <p> |
|
125 Definition at line <a class="el" href="drivers__win32_8cpp-source.html#l00091">91</a> of file <a class="el" href="drivers__win32_8cpp-source.html">drivers_win32.cpp</a>. |
|
126 </div> |
|
127 </div><p> |
|
128 <hr><h2>Typedef Documentation</h2> |
|
129 <a class="anchor" name="5613306de0117eb5242ea9934348eb9f"></a><!-- doxytag: member="drivers_win32.cpp::CANCLOSE_DRIVER_PROC" ref="5613306de0117eb5242ea9934348eb9f" args="(void *inst)" --> |
|
130 <div class="memitem"> |
|
131 <div class="memproto"> |
|
132 <table class="memname"> |
|
133 <tr> |
|
134 <td class="memname">typedef int(*) <a class="el" href="drivers__win32_8cpp.html#5613306de0117eb5242ea9934348eb9f">CANCLOSE_DRIVER_PROC</a>(void *inst) </td> |
|
135 </tr> |
|
136 </table> |
|
137 </div> |
|
138 <div class="memdoc"> |
|
139 |
|
140 <p> |
|
141 |
|
142 <p> |
|
143 Definition at line <a class="el" href="drivers__win32_8cpp-source.html#l00043">43</a> of file <a class="el" href="drivers__win32_8cpp-source.html">drivers_win32.cpp</a>. |
|
144 </div> |
|
145 </div><p> |
|
146 <a class="anchor" name="5db8713e505308b09dbe85ecbe707607"></a><!-- doxytag: member="drivers_win32.cpp::CANOPEN_DRIVER_PROC" ref="5db8713e505308b09dbe85ecbe707607" args="(s_BOARD *board)" --> |
|
147 <div class="memitem"> |
|
148 <div class="memproto"> |
|
149 <table class="memname"> |
|
150 <tr> |
|
151 <td class="memname">typedef void*(*) <a class="el" href="drivers__win32_8cpp.html#5db8713e505308b09dbe85ecbe707607">CANOPEN_DRIVER_PROC</a>(<a class="el" href="structstruct__s__BOARD.html">s_BOARD</a> *board) </td> |
|
152 </tr> |
|
153 </table> |
|
154 </div> |
|
155 <div class="memdoc"> |
|
156 |
|
157 <p> |
|
158 |
|
159 <p> |
|
160 Definition at line <a class="el" href="drivers__win32_8cpp-source.html#l00042">42</a> of file <a class="el" href="drivers__win32_8cpp-source.html">drivers_win32.cpp</a>. |
|
161 </div> |
|
162 </div><p> |
|
163 <a class="anchor" name="f0240c9d4c35205726e5ae81888327dd"></a><!-- doxytag: member="drivers_win32.cpp::CANRECEIVE_DRIVER_PROC" ref="f0240c9d4c35205726e5ae81888327dd" args="(void *inst, Message *m)" --> |
|
164 <div class="memitem"> |
|
165 <div class="memproto"> |
|
166 <table class="memname"> |
|
167 <tr> |
|
168 <td class="memname">typedef UNS8(*) <a class="el" href="drivers__win32_8cpp.html#f0240c9d4c35205726e5ae81888327dd">CANRECEIVE_DRIVER_PROC</a>(void *inst, <a class="el" href="structMessage.html">Message</a> *m) </td> |
|
169 </tr> |
|
170 </table> |
|
171 </div> |
|
172 <div class="memdoc"> |
|
173 |
|
174 <p> |
|
175 |
|
176 <p> |
|
177 Definition at line <a class="el" href="drivers__win32_8cpp-source.html#l00040">40</a> of file <a class="el" href="drivers__win32_8cpp-source.html">drivers_win32.cpp</a>. |
|
178 </div> |
|
179 </div><p> |
|
180 <a class="anchor" name="90aa70ea2296b46e3fa52ff5e4bbc399"></a><!-- doxytag: member="drivers_win32.cpp::CANSEND_DRIVER_PROC" ref="90aa70ea2296b46e3fa52ff5e4bbc399" args="(void *inst, const Message *m)" --> |
|
181 <div class="memitem"> |
|
182 <div class="memproto"> |
|
183 <table class="memname"> |
|
184 <tr> |
|
185 <td class="memname">typedef UNS8(*) <a class="el" href="drivers__win32_8cpp.html#90aa70ea2296b46e3fa52ff5e4bbc399">CANSEND_DRIVER_PROC</a>(void *inst, const <a class="el" href="structMessage.html">Message</a> *m) </td> |
|
186 </tr> |
|
187 </table> |
|
188 </div> |
|
189 <div class="memdoc"> |
|
190 |
|
191 <p> |
|
192 |
|
193 <p> |
|
194 Definition at line <a class="el" href="drivers__win32_8cpp-source.html#l00041">41</a> of file <a class="el" href="drivers__win32_8cpp-source.html">drivers_win32.cpp</a>. |
|
195 </div> |
|
196 </div><p> |
|
197 <hr><h2>Function Documentation</h2> |
|
198 <a class="anchor" name="02957f72a9b951603adb98a142bd447b"></a><!-- doxytag: member="drivers_win32.cpp::canClose" ref="02957f72a9b951603adb98a142bd447b" args="(CO_Data *d)" --> |
|
199 <div class="memitem"> |
|
200 <div class="memproto"> |
|
201 <table class="memname"> |
|
202 <tr> |
|
203 <td class="memname">int canClose </td> |
|
204 <td>(</td> |
|
205 <td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> * </td> |
|
206 <td class="paramname"> <em>d</em> </td> |
|
207 <td> ) </td> |
|
208 <td width="100%"></td> |
|
209 </tr> |
|
210 </table> |
|
211 </div> |
|
212 <div class="memdoc"> |
|
213 |
|
214 <p> |
|
215 |
|
216 <p> |
|
217 Definition at line <a class="el" href="drivers__win32_8cpp-source.html#l00194">194</a> of file <a class="el" href="drivers__win32_8cpp-source.html">drivers_win32.cpp</a>. |
|
218 <p> |
|
219 References <a class="el" href="unix_8c-source.html#l00178">canClose()</a>, <a class="el" href="data_8h-source.html#l00090">struct_CO_Data::canHandle</a>, <a class="el" href="drivers__win32_8cpp-source.html#l00114">driver_data::continue_receive_thread</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>, <a class="el" href="unix_8c-source.html#l00053">CANPort::fd</a>, <a class="el" href="drivers__win32_8cpp-source.html#l00113">driver_data::inst</a>, <a class="el" href="timers__unix_8c-source.html#l00025">LeaveMutex()</a>, <a class="el" href="drivers__win32_8cpp-source.html#l00060">driver_procs::m_canClose</a>, <a class="el" href="drivers__win32_8cpp-source.html#l00112">driver_data::receive_thread</a>, <a class="el" href="unix_8c-source.html#l00054">CANPort::receiveTask</a>, <a class="el" href="drivers__win32_8cpp-source.html#l00117">s_driver_procs</a>, and <a class="el" href="timers__unix_8c-source.html#l00076">WaitReceiveTaskEnd()</a>. |
|
220 </div> |
|
221 </div><p> |
|
222 <a class="anchor" name="d82cede875fd89036cdeda13e293dafe"></a><!-- doxytag: member="drivers_win32.cpp::canOpen" ref="d82cede875fd89036cdeda13e293dafe" args="(s_BOARD *board, CO_Data *d)" --> |
|
223 <div class="memitem"> |
|
224 <div class="memproto"> |
|
225 <table class="memname"> |
|
226 <tr> |
|
227 <td class="memname"><a class="el" href="win32_2applicfg_8h.html#712c7b28987b12b8d400df19c92d0f5e">CAN_HANDLE</a> canOpen </td> |
|
228 <td>(</td> |
|
229 <td class="paramtype"><a class="el" href="structstruct__s__BOARD.html">s_BOARD</a> * </td> |
|
230 <td class="paramname"> <em>board</em>, </td> |
|
231 </tr> |
|
232 <tr> |
|
233 <td class="paramkey"></td> |
|
234 <td></td> |
|
235 <td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> * </td> |
|
236 <td class="paramname"> <em>d</em></td><td> </td> |
|
237 </tr> |
|
238 <tr> |
|
239 <td></td> |
|
240 <td>)</td> |
|
241 <td></td><td></td><td width="100%"></td> |
|
242 </tr> |
|
243 </table> |
|
244 </div> |
|
245 <div class="memdoc"> |
|
246 |
|
247 <p> |
|
248 |
|
249 <p> |
|
250 Definition at line <a class="el" href="drivers__win32_8cpp-source.html#l00172">172</a> of file <a class="el" href="drivers__win32_8cpp-source.html">drivers_win32.cpp</a>. |
|
251 <p> |
|
252 References <a class="el" href="can__driver_8h-source.html#l00035">struct_s_BOARD::baudrate</a>, <a class="el" href="can__driver_8h-source.html#l00034">struct_s_BOARD::busname</a>, <a class="el" href="data_8h-source.html#l00090">struct_CO_Data::canHandle</a>, <a class="el" href="unix_8c-source.html#l00145">canOpen()</a>, <a class="el" href="unix_8c-source.html#l00066">canports</a>, <a class="el" href="unix_8c-source.html#l00132">canReceiveLoop()</a>, <a class="el" href="drivers__win32_8cpp-source.html#l00114">driver_data::continue_receive_thread</a>, <a class="el" href="timers__unix_8c-source.html#l00071">CreateReceiveTask()</a>, <a class="el" href="unix_8c-source.html#l00055">CANPort::d</a>, <a class="el" href="drivers__win32_8cpp-source.html#l00111">driver_data::d</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>, <a class="el" href="unix_8c-source.html#l00053">CANPort::fd</a>, <a class="el" href="drivers__win32_8cpp-source.html#l00113">driver_data::inst</a>, <a class="el" href="timers__unix_8c-source.html#l00025">LeaveMutex()</a>, <a class="el" href="drivers__win32_8cpp-source.html#l00059">driver_procs::m_canOpen</a>, <a class="el" href="unix_8c-source.html#l00049">MAX_NB_CAN_PORTS</a>, <a class="el" href="drivers__win32_8cpp-source.html#l00112">driver_data::receive_thread</a>, <a class="el" href="drivers__win32_8cpp-source.html#l00117">s_driver_procs</a>, and <a class="el" href="unix_8c-source.html#l00052">CANPort::used</a>. |
|
253 </div> |
|
254 </div><p> |
|
255 <a class="anchor" name="c608a4ba478a809fd963a342a24226fd"></a><!-- doxytag: member="drivers_win32.cpp::canReceive" ref="c608a4ba478a809fd963a342a24226fd" args="(CAN_PORT fd0, Message *m)" --> |
|
256 <div class="memitem"> |
|
257 <div class="memproto"> |
|
258 <table class="memname"> |
|
259 <tr> |
|
260 <td class="memname">UNS8 canReceive </td> |
|
261 <td>(</td> |
|
262 <td class="paramtype"><a class="el" href="win32_2applicfg_8h.html#7ef59f941603c6680e74fc335523f17e">CAN_PORT</a> </td> |
|
263 <td class="paramname"> <em>fd0</em>, </td> |
|
264 </tr> |
|
265 <tr> |
|
266 <td class="paramkey"></td> |
|
267 <td></td> |
|
268 <td class="paramtype"><a class="el" href="structMessage.html">Message</a> * </td> |
|
269 <td class="paramname"> <em>m</em></td><td> </td> |
|
270 </tr> |
|
271 <tr> |
|
272 <td></td> |
|
273 <td>)</td> |
|
274 <td></td><td></td><td width="100%"></td> |
|
275 </tr> |
|
276 </table> |
|
277 </div> |
|
278 <div class="memdoc"> |
|
279 |
|
280 <p> |
|
281 |
|
282 <p> |
|
283 Definition at line <a class="el" href="drivers__win32_8cpp-source.html#l00124">124</a> of file <a class="el" href="drivers__win32_8cpp-source.html">drivers_win32.cpp</a>. |
|
284 <p> |
|
285 References <a class="el" href="drivers__win32_8cpp-source.html#l00113">driver_data::inst</a>, <a class="el" href="drivers__win32_8cpp-source.html#l00057">driver_procs::m_canReceive</a>, and <a class="el" href="drivers__win32_8cpp-source.html#l00117">s_driver_procs</a>. |
|
286 </div> |
|
287 </div><p> |
|
288 <a class="anchor" name="469503c5171a0cdd8369c1ec39d97d2c"></a><!-- doxytag: member="drivers_win32.cpp::canReceiveLoop" ref="469503c5171a0cdd8369c1ec39d97d2c" args="(CAN_PORT fd0)" --> |
|
289 <div class="memitem"> |
|
290 <div class="memproto"> |
|
291 <table class="memname"> |
|
292 <tr> |
|
293 <td class="memname">void* canReceiveLoop </td> |
|
294 <td>(</td> |
|
295 <td class="paramtype"><a class="el" href="win32_2applicfg_8h.html#7ef59f941603c6680e74fc335523f17e">CAN_PORT</a> </td> |
|
296 <td class="paramname"> <em>fd0</em> </td> |
|
297 <td> ) </td> |
|
298 <td width="100%"></td> |
|
299 </tr> |
|
300 </table> |
|
301 </div> |
|
302 <div class="memdoc"> |
|
303 |
|
304 <p> |
|
305 |
|
306 <p> |
|
307 Definition at line <a class="el" href="drivers__win32_8cpp-source.html#l00134">134</a> of file <a class="el" href="drivers__win32_8cpp-source.html">drivers_win32.cpp</a>. |
|
308 <p> |
|
309 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="drivers__win32_8cpp-source.html#l00114">driver_data::continue_receive_thread</a>, <a class="el" href="drivers__win32_8cpp-source.html#l00111">driver_data::d</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>. |
|
310 </div> |
|
311 </div><p> |
|
312 <a class="anchor" name="01559baf432253d46f1142231a968247"></a><!-- doxytag: member="drivers_win32.cpp::canSend" ref="01559baf432253d46f1142231a968247" args="(CAN_PORT fd0, Message *m)" --> |
|
313 <div class="memitem"> |
|
314 <div class="memproto"> |
|
315 <table class="memname"> |
|
316 <tr> |
|
317 <td class="memname">UNS8 canSend </td> |
|
318 <td>(</td> |
|
319 <td class="paramtype"><a class="el" href="win32_2applicfg_8h.html#7ef59f941603c6680e74fc335523f17e">CAN_PORT</a> </td> |
|
320 <td class="paramname"> <em>fd0</em>, </td> |
|
321 </tr> |
|
322 <tr> |
|
323 <td class="paramkey"></td> |
|
324 <td></td> |
|
325 <td class="paramtype"><a class="el" href="structMessage.html">Message</a> * </td> |
|
326 <td class="paramname"> <em>m</em></td><td> </td> |
|
327 </tr> |
|
328 <tr> |
|
329 <td></td> |
|
330 <td>)</td> |
|
331 <td></td><td></td><td width="100%"></td> |
|
332 </tr> |
|
333 </table> |
|
334 </div> |
|
335 <div class="memdoc"> |
|
336 |
|
337 <p> |
|
338 |
|
339 <p> |
|
340 Definition at line <a class="el" href="drivers__win32_8cpp-source.html#l00156">156</a> of file <a class="el" href="drivers__win32_8cpp-source.html">drivers_win32.cpp</a>. |
|
341 <p> |
|
342 References <a class="el" href="canOpenDriver_8c-source.html#l00505">canSend()</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>, <a class="el" href="drivers__win32_8cpp-source.html#l00113">driver_data::inst</a>, <a class="el" href="timers__unix_8c-source.html#l00025">LeaveMutex()</a>, <a class="el" href="drivers__win32_8cpp-source.html#l00058">driver_procs::m_canSend</a>, <a class="el" href="drivers__win32_8cpp-source.html#l00117">s_driver_procs</a>, and <a class="el" href="hcs12_2applicfg_8h-source.html#l00139">UNS8</a>. |
|
343 </div> |
|
344 </div><p> |
|
345 <a class="anchor" name="a6eed61fc15f41f772d4645d7a5edeb5"></a><!-- doxytag: member="drivers_win32.cpp::LoadCanDriver" ref="a6eed61fc15f41f772d4645d7a5edeb5" args="(char *driver_name)" --> |
|
346 <div class="memitem"> |
|
347 <div class="memproto"> |
|
348 <table class="memname"> |
|
349 <tr> |
|
350 <td class="memname"><a class="el" href="win32_2canfestival_8h.html#c4a0f44120dee396ab6bb57e23effaa8">LIB_HANDLE</a> LoadCanDriver </td> |
|
351 <td>(</td> |
|
352 <td class="paramtype">char * </td> |
|
353 <td class="paramname"> <em>driver_name</em> </td> |
|
354 <td> ) </td> |
|
355 <td width="100%"></td> |
|
356 </tr> |
|
357 </table> |
|
358 </div> |
|
359 <div class="memdoc"> |
|
360 |
|
361 <p> |
|
362 |
|
363 <p> |
|
364 Definition at line <a class="el" href="drivers__win32_8cpp-source.html#l00119">119</a> of file <a class="el" href="drivers__win32_8cpp-source.html">drivers_win32.cpp</a>. |
|
365 <p> |
|
366 References <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="drivers__win32_8cpp-source.html#l00124">canReceive()</a>, <a class="el" href="canOpenDriver_8c-source.html#l00505">canSend()</a>, <a class="el" href="unix_8c-source.html#l00030">DLSYM</a>, <a class="el" href="drivers__win32_8cpp-source.html#l00094">driver_procs::load_canfestival_driver()</a>, and <a class="el" href="drivers__win32_8cpp-source.html#l00117">s_driver_procs</a>. |
|
367 </div> |
|
368 </div><p> |
|
369 <hr><h2>Variable Documentation</h2> |
|
370 <a class="anchor" name="410d0af15c08b84bce57bd000f9f8034"></a><!-- doxytag: member="drivers_win32.cpp::s_driver_procs" ref="410d0af15c08b84bce57bd000f9f8034" args="" --> |
|
371 <div class="memitem"> |
|
372 <div class="memproto"> |
|
373 <table class="memname"> |
|
374 <tr> |
|
375 <td class="memname"><a class="el" href="classdriver__procs.html">driver_procs</a> <a class="el" href="drivers__win32_8cpp.html#410d0af15c08b84bce57bd000f9f8034">s_driver_procs</a> </td> |
|
376 </tr> |
|
377 </table> |
|
378 </div> |
|
379 <div class="memdoc"> |
|
380 |
|
381 <p> |
|
382 |
|
383 <p> |
|
384 Definition at line <a class="el" href="drivers__win32_8cpp-source.html#l00117">117</a> of file <a class="el" href="drivers__win32_8cpp-source.html">drivers_win32.cpp</a>. |
|
385 </div> |
|
386 </div><p> |
|
387 <hr size="1"><address style="align: right;"><small>Generated on Mon Jun 4 16:29:07 2007 for CanFestival by |
|
388 <a href="http://www.doxygen.org/index.html"> |
|
389 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> |
|
390 </body> |
|
391 </html> |