|
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/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="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_d58fb241e647de6212c31ecccf9cbace.html">drivers</a> » <a class="el" href="dir_e67188945a11754d0713bc6f89228027.html">win32</a></div> |
|
22 <h1>drivers_win32.cpp File Reference</h1><code>#include <windows.h></code><br> |
|
23 <code>#include "<a class="el" href="win32_2canfestival_8h-source.html">canfestival.h</a>"</code><br> |
|
24 <code>#include "<a class="el" href="timer_8h-source.html">timer.h</a>"</code><br> |
|
25 <code>#include "<a class="el" href="timers__driver_8h-source.html">timers_driver.h</a>"</code><br> |
|
26 |
|
27 <p> |
|
28 Include dependency graph for drivers_win32.cpp:<p><center><img src="drivers__win32_8cpp__incl.png" border="0" usemap="#drivers/win32/drivers_win32.cpp_map" alt=""></center> |
|
29 <map name="drivers/win32/drivers_win32.cpp_map"> |
|
30 <area href="win32_2canfestival_8h.html" shape="rect" coords="468,104,575,128" alt=""> |
|
31 <area href="timer_8h.html" shape="rect" coords="487,56,556,80" alt=""> |
|
32 <area href="timers__driver_8h.html" shape="rect" coords="296,7,419,31" alt=""> |
|
33 <area href="win32_2timerscfg_8h.html" shape="rect" coords="627,8,726,32" alt=""> |
|
34 <area href="can__driver_8h.html" shape="rect" coords="624,104,728,128" alt=""> |
|
35 <area href="data_8h.html" shape="rect" coords="644,56,708,80" alt=""> |
|
36 </map> |
|
37 |
|
38 <p> |
|
39 <a href="drivers__win32_8cpp-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0"> |
|
40 <tr><td></td></tr> |
|
41 <tr><td colspan="2"><br><h2>Data Structures</h2></td></tr> |
|
42 <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> |
|
43 |
|
44 <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> |
|
45 |
|
46 <tr><td colspan="2"><br><h2>Defines</h2></td></tr> |
|
47 <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> |
|
48 |
|
49 <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> |
|
50 |
|
51 <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> |
|
52 |
|
53 <tr><td colspan="2"><br><h2>Typedefs</h2></td></tr> |
|
54 <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> |
|
55 |
|
56 <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> |
|
57 |
|
58 <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> |
|
59 |
|
60 <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> |
|
61 |
|
62 <tr><td colspan="2"><br><h2>Functions</h2></td></tr> |
|
63 <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> |
|
64 |
|
65 <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> |
|
66 |
|
67 <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> |
|
68 |
|
69 <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> |
|
70 |
|
71 <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> |
|
72 |
|
73 <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> |
|
74 |
|
75 <tr><td colspan="2"><br><h2>Variables</h2></td></tr> |
|
76 <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> |
|
77 |
|
78 </table> |
|
79 <hr><h2>Define Documentation</h2> |
|
80 <a class="anchor" name="74c6a27b44fd54de5cb021299ffce612"></a><!-- doxytag: member="drivers_win32.cpp::DLL_CALL" ref="74c6a27b44fd54de5cb021299ffce612" args="(funcname)" --> |
|
81 <div class="memitem"> |
|
82 <div class="memproto"> |
|
83 <table class="memname"> |
|
84 <tr> |
|
85 <td class="memname">#define DLL_CALL </td> |
|
86 <td>(</td> |
|
87 <td class="paramtype">funcname </td> |
|
88 <td class="paramname"> </td> |
|
89 <td> ) </td> |
|
90 <td width="100%"> (*_##funcname)</td> |
|
91 </tr> |
|
92 </table> |
|
93 </div> |
|
94 <div class="memdoc"> |
|
95 |
|
96 <p> |
|
97 |
|
98 <p> |
|
99 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>. |
|
100 </div> |
|
101 </div><p> |
|
102 <a class="anchor" name="7f7ce94bf48fde67f4af7b64c7ca4c85"></a><!-- doxytag: member="drivers_win32.cpp::FCT_PTR_INIT" ref="7f7ce94bf48fde67f4af7b64c7ca4c85" args="" --> |
|
103 <div class="memitem"> |
|
104 <div class="memproto"> |
|
105 <table class="memname"> |
|
106 <tr> |
|
107 <td class="memname">#define FCT_PTR_INIT =NULL </td> |
|
108 </tr> |
|
109 </table> |
|
110 </div> |
|
111 <div class="memdoc"> |
|
112 |
|
113 <p> |
|
114 |
|
115 <p> |
|
116 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>. |
|
117 </div> |
|
118 </div><p> |
|
119 <a class="anchor" name="fa9a7a4802f45e593e1a49e764b12849"></a><!-- doxytag: member="drivers_win32.cpp::myTEXT" ref="fa9a7a4802f45e593e1a49e764b12849" args="(str)" --> |
|
120 <div class="memitem"> |
|
121 <div class="memproto"> |
|
122 <table class="memname"> |
|
123 <tr> |
|
124 <td class="memname">#define myTEXT </td> |
|
125 <td>(</td> |
|
126 <td class="paramtype">str </td> |
|
127 <td class="paramname"> </td> |
|
128 <td> ) </td> |
|
129 <td width="100%"> str</td> |
|
130 </tr> |
|
131 </table> |
|
132 </div> |
|
133 <div class="memdoc"> |
|
134 |
|
135 <p> |
|
136 |
|
137 <p> |
|
138 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>. |
|
139 <p> |
|
140 Referenced by <a class="el" href="drivers__win32_8cpp-source.html#l00094">driver_procs::load_canfestival_driver()</a>. |
|
141 </div> |
|
142 </div><p> |
|
143 <hr><h2>Typedef Documentation</h2> |
|
144 <a class="anchor" name="5613306de0117eb5242ea9934348eb9f"></a><!-- doxytag: member="drivers_win32.cpp::CANCLOSE_DRIVER_PROC" ref="5613306de0117eb5242ea9934348eb9f" args="(void *inst)" --> |
|
145 <div class="memitem"> |
|
146 <div class="memproto"> |
|
147 <table class="memname"> |
|
148 <tr> |
|
149 <td class="memname">typedef int(*) <a class="el" href="drivers__win32_8cpp.html#5613306de0117eb5242ea9934348eb9f">CANCLOSE_DRIVER_PROC</a>(void *inst) </td> |
|
150 </tr> |
|
151 </table> |
|
152 </div> |
|
153 <div class="memdoc"> |
|
154 |
|
155 <p> |
|
156 |
|
157 <p> |
|
158 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>. |
|
159 </div> |
|
160 </div><p> |
|
161 <a class="anchor" name="5db8713e505308b09dbe85ecbe707607"></a><!-- doxytag: member="drivers_win32.cpp::CANOPEN_DRIVER_PROC" ref="5db8713e505308b09dbe85ecbe707607" args="(s_BOARD *board)" --> |
|
162 <div class="memitem"> |
|
163 <div class="memproto"> |
|
164 <table class="memname"> |
|
165 <tr> |
|
166 <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> |
|
167 </tr> |
|
168 </table> |
|
169 </div> |
|
170 <div class="memdoc"> |
|
171 |
|
172 <p> |
|
173 |
|
174 <p> |
|
175 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>. |
|
176 </div> |
|
177 </div><p> |
|
178 <a class="anchor" name="f0240c9d4c35205726e5ae81888327dd"></a><!-- doxytag: member="drivers_win32.cpp::CANRECEIVE_DRIVER_PROC" ref="f0240c9d4c35205726e5ae81888327dd" args="(void *inst, Message *m)" --> |
|
179 <div class="memitem"> |
|
180 <div class="memproto"> |
|
181 <table class="memname"> |
|
182 <tr> |
|
183 <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> |
|
184 </tr> |
|
185 </table> |
|
186 </div> |
|
187 <div class="memdoc"> |
|
188 |
|
189 <p> |
|
190 |
|
191 <p> |
|
192 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>. |
|
193 </div> |
|
194 </div><p> |
|
195 <a class="anchor" name="90aa70ea2296b46e3fa52ff5e4bbc399"></a><!-- doxytag: member="drivers_win32.cpp::CANSEND_DRIVER_PROC" ref="90aa70ea2296b46e3fa52ff5e4bbc399" args="(void *inst, const Message *m)" --> |
|
196 <div class="memitem"> |
|
197 <div class="memproto"> |
|
198 <table class="memname"> |
|
199 <tr> |
|
200 <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> |
|
201 </tr> |
|
202 </table> |
|
203 </div> |
|
204 <div class="memdoc"> |
|
205 |
|
206 <p> |
|
207 |
|
208 <p> |
|
209 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>. |
|
210 </div> |
|
211 </div><p> |
|
212 <hr><h2>Function Documentation</h2> |
|
213 <a class="anchor" name="02957f72a9b951603adb98a142bd447b"></a><!-- doxytag: member="drivers_win32.cpp::canClose" ref="02957f72a9b951603adb98a142bd447b" args="(CO_Data *d)" --> |
|
214 <div class="memitem"> |
|
215 <div class="memproto"> |
|
216 <table class="memname"> |
|
217 <tr> |
|
218 <td class="memname">int canClose </td> |
|
219 <td>(</td> |
|
220 <td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> * </td> |
|
221 <td class="paramname"> <em>d</em> </td> |
|
222 <td> ) </td> |
|
223 <td width="100%"></td> |
|
224 </tr> |
|
225 </table> |
|
226 </div> |
|
227 <div class="memdoc"> |
|
228 |
|
229 <p> |
|
230 |
|
231 <p> |
|
232 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>. |
|
233 <p> |
|
234 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>. |
|
235 <p> |
|
236 Here is the call graph for this function:<p><center><img src="drivers__win32_8cpp_02957f72a9b951603adb98a142bd447b_cgraph.png" border="0" usemap="#drivers__win32_8cpp_02957f72a9b951603adb98a142bd447b_cgraph_map" alt=""></center> |
|
237 <map name="drivers__win32_8cpp_02957f72a9b951603adb98a142bd447b_cgraph_map"> |
|
238 <area href="unix_8c.html#02957f72a9b951603adb98a142bd447b" shape="rect" coords="175,6,257,30" alt=""> |
|
239 <area href="timers__unix_8c.html#d7fee43b8a44cf8b7036853593044037" shape="rect" coords="167,54,265,78" alt=""> |
|
240 <area href="timers__unix_8c.html#73d9a4eb941fb20cf6b597840510394b" shape="rect" coords="164,102,268,126" alt=""> |
|
241 <area href="timers__unix_8c.html#4b2486891ee01e06e2deead4cf963727" shape="rect" coords="136,150,296,174" alt=""> |
|
242 </map> |
|
243 |
|
244 </div> |
|
245 </div><p> |
|
246 <a class="anchor" name="d82cede875fd89036cdeda13e293dafe"></a><!-- doxytag: member="drivers_win32.cpp::canOpen" ref="d82cede875fd89036cdeda13e293dafe" args="(s_BOARD *board, CO_Data *d)" --> |
|
247 <div class="memitem"> |
|
248 <div class="memproto"> |
|
249 <table class="memname"> |
|
250 <tr> |
|
251 <td class="memname"><a class="el" href="win32_2applicfg_8h.html#712c7b28987b12b8d400df19c92d0f5e">CAN_HANDLE</a> canOpen </td> |
|
252 <td>(</td> |
|
253 <td class="paramtype"><a class="el" href="structstruct__s__BOARD.html">s_BOARD</a> * </td> |
|
254 <td class="paramname"> <em>board</em>, </td> |
|
255 </tr> |
|
256 <tr> |
|
257 <td class="paramkey"></td> |
|
258 <td></td> |
|
259 <td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> * </td> |
|
260 <td class="paramname"> <em>d</em></td><td> </td> |
|
261 </tr> |
|
262 <tr> |
|
263 <td></td> |
|
264 <td>)</td> |
|
265 <td></td><td></td><td width="100%"></td> |
|
266 </tr> |
|
267 </table> |
|
268 </div> |
|
269 <div class="memdoc"> |
|
270 |
|
271 <p> |
|
272 |
|
273 <p> |
|
274 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>. |
|
275 <p> |
|
276 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>. |
|
277 <p> |
|
278 Here is the call graph for this function:<p><center><img src="drivers__win32_8cpp_d82cede875fd89036cdeda13e293dafe_cgraph.png" border="0" usemap="#drivers__win32_8cpp_d82cede875fd89036cdeda13e293dafe_cgraph_map" alt=""></center> |
|
279 <map name="drivers__win32_8cpp_d82cede875fd89036cdeda13e293dafe_cgraph_map"> |
|
280 <area href="unix_8c.html#7476146ad15948a22e7f80a00c89c40a" shape="rect" coords="169,100,252,124" alt=""> |
|
281 <area href="unix_8c.html#45ceca3727c2fb7ac93958a215efb827" shape="rect" coords="145,148,276,172" alt=""> |
|
282 <area href="timers__unix_8c.html#d7fee43b8a44cf8b7036853593044037" shape="rect" coords="337,198,436,222" alt=""> |
|
283 <area href="timers__unix_8c.html#73d9a4eb941fb20cf6b597840510394b" shape="rect" coords="335,247,439,271" alt=""> |
|
284 <area href="timers__unix_8c.html#a3a7df911baa20b01c4374a9677a154a" shape="rect" coords="137,298,284,322" alt=""> |
|
285 <area href="states_8c.html#3f8975650604cc23582f19a43fd4e518" shape="rect" coords="335,102,439,126" alt=""> |
|
286 <area href="drivers__win32_8cpp.html#c608a4ba478a809fd963a342a24226fd" shape="rect" coords="337,150,436,174" alt=""> |
|
287 <area href="nmtSlave_8c.html#97d175ea168c149c99b01dcde0989743" shape="rect" coords="489,6,679,30" alt=""> |
|
288 <area href="lifegrd_8c.html#b3248945e06e8b05518beddf665f174d" shape="rect" coords="499,54,669,78" alt=""> |
|
289 <area href="pdo_8c.html#ae7d661cd3ef7adf93a0d08fdb15b7f2" shape="rect" coords="532,102,636,126" alt=""> |
|
290 <area href="sdo_8c.html#2a93a7c780472b1d8666d89aa270f661" shape="rect" coords="531,150,637,174" alt=""> |
|
291 <area href="sync_8c.html#80cadcba23dc859db8a8d3f52789d6d1" shape="rect" coords="528,198,640,222" alt=""> |
|
292 </map> |
|
293 |
|
294 </div> |
|
295 </div><p> |
|
296 <a class="anchor" name="c608a4ba478a809fd963a342a24226fd"></a><!-- doxytag: member="drivers_win32.cpp::canReceive" ref="c608a4ba478a809fd963a342a24226fd" args="(CAN_PORT fd0, Message *m)" --> |
|
297 <div class="memitem"> |
|
298 <div class="memproto"> |
|
299 <table class="memname"> |
|
300 <tr> |
|
301 <td class="memname">UNS8 canReceive </td> |
|
302 <td>(</td> |
|
303 <td class="paramtype"><a class="el" href="win32_2applicfg_8h.html#7ef59f941603c6680e74fc335523f17e">CAN_PORT</a> </td> |
|
304 <td class="paramname"> <em>fd0</em>, </td> |
|
305 </tr> |
|
306 <tr> |
|
307 <td class="paramkey"></td> |
|
308 <td></td> |
|
309 <td class="paramtype"><a class="el" href="structMessage.html">Message</a> * </td> |
|
310 <td class="paramname"> <em>m</em></td><td> </td> |
|
311 </tr> |
|
312 <tr> |
|
313 <td></td> |
|
314 <td>)</td> |
|
315 <td></td><td></td><td width="100%"></td> |
|
316 </tr> |
|
317 </table> |
|
318 </div> |
|
319 <div class="memdoc"> |
|
320 |
|
321 <p> |
|
322 |
|
323 <p> |
|
324 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>. |
|
325 <p> |
|
326 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>. |
|
327 <p> |
|
328 Referenced by <a class="el" href="unix_8c-source.html#l00132">canReceiveLoop()</a>, and <a class="el" href="unix_8c-source.html#l00084">LoadCanDriver()</a>. |
|
329 </div> |
|
330 </div><p> |
|
331 <a class="anchor" name="469503c5171a0cdd8369c1ec39d97d2c"></a><!-- doxytag: member="drivers_win32.cpp::canReceiveLoop" ref="469503c5171a0cdd8369c1ec39d97d2c" args="(CAN_PORT fd0)" --> |
|
332 <div class="memitem"> |
|
333 <div class="memproto"> |
|
334 <table class="memname"> |
|
335 <tr> |
|
336 <td class="memname">void* canReceiveLoop </td> |
|
337 <td>(</td> |
|
338 <td class="paramtype"><a class="el" href="win32_2applicfg_8h.html#7ef59f941603c6680e74fc335523f17e">CAN_PORT</a> </td> |
|
339 <td class="paramname"> <em>fd0</em> </td> |
|
340 <td> ) </td> |
|
341 <td width="100%"></td> |
|
342 </tr> |
|
343 </table> |
|
344 </div> |
|
345 <div class="memdoc"> |
|
346 |
|
347 <p> |
|
348 |
|
349 <p> |
|
350 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>. |
|
351 <p> |
|
352 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="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>. |
|
353 <p> |
|
354 Here is the call graph for this function:<p><center><img src="drivers__win32_8cpp_469503c5171a0cdd8369c1ec39d97d2c_cgraph.png" border="0" usemap="#drivers__win32_8cpp_469503c5171a0cdd8369c1ec39d97d2c_cgraph_map" alt=""></center> |
|
355 <map name="drivers__win32_8cpp_469503c5171a0cdd8369c1ec39d97d2c_cgraph_map"> |
|
356 <area href="states_8c.html#3f8975650604cc23582f19a43fd4e518" shape="rect" coords="188,102,292,126" alt=""> |
|
357 <area href="drivers__win32_8cpp.html#c608a4ba478a809fd963a342a24226fd" shape="rect" coords="191,150,290,174" alt=""> |
|
358 <area href="timers__unix_8c.html#d7fee43b8a44cf8b7036853593044037" shape="rect" coords="191,198,290,222" alt=""> |
|
359 <area href="timers__unix_8c.html#73d9a4eb941fb20cf6b597840510394b" shape="rect" coords="188,246,292,270" alt=""> |
|
360 <area href="nmtSlave_8c.html#97d175ea168c149c99b01dcde0989743" shape="rect" coords="343,6,532,30" alt=""> |
|
361 <area href="lifegrd_8c.html#b3248945e06e8b05518beddf665f174d" shape="rect" coords="352,54,523,78" alt=""> |
|
362 <area href="pdo_8c.html#ae7d661cd3ef7adf93a0d08fdb15b7f2" shape="rect" coords="386,102,490,126" alt=""> |
|
363 <area href="sdo_8c.html#2a93a7c780472b1d8666d89aa270f661" shape="rect" coords="384,150,491,174" alt=""> |
|
364 <area href="sync_8c.html#80cadcba23dc859db8a8d3f52789d6d1" shape="rect" coords="382,198,494,222" alt=""> |
|
365 </map> |
|
366 |
|
367 </div> |
|
368 </div><p> |
|
369 <a class="anchor" name="01559baf432253d46f1142231a968247"></a><!-- doxytag: member="drivers_win32.cpp::canSend" ref="01559baf432253d46f1142231a968247" args="(CAN_PORT fd0, Message *m)" --> |
|
370 <div class="memitem"> |
|
371 <div class="memproto"> |
|
372 <table class="memname"> |
|
373 <tr> |
|
374 <td class="memname">UNS8 canSend </td> |
|
375 <td>(</td> |
|
376 <td class="paramtype"><a class="el" href="win32_2applicfg_8h.html#7ef59f941603c6680e74fc335523f17e">CAN_PORT</a> </td> |
|
377 <td class="paramname"> <em>fd0</em>, </td> |
|
378 </tr> |
|
379 <tr> |
|
380 <td class="paramkey"></td> |
|
381 <td></td> |
|
382 <td class="paramtype"><a class="el" href="structMessage.html">Message</a> * </td> |
|
383 <td class="paramname"> <em>m</em></td><td> </td> |
|
384 </tr> |
|
385 <tr> |
|
386 <td></td> |
|
387 <td>)</td> |
|
388 <td></td><td></td><td width="100%"></td> |
|
389 </tr> |
|
390 </table> |
|
391 </div> |
|
392 <div class="memdoc"> |
|
393 |
|
394 <p> |
|
395 |
|
396 <p> |
|
397 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>. |
|
398 <p> |
|
399 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>. |
|
400 <p> |
|
401 Here is the call graph for this function:<p><center><img src="drivers__win32_8cpp_01559baf432253d46f1142231a968247_cgraph.png" border="0" usemap="#drivers__win32_8cpp_01559baf432253d46f1142231a968247_cgraph_map" alt=""></center> |
|
402 <map name="drivers__win32_8cpp_01559baf432253d46f1142231a968247_cgraph_map"> |
|
403 <area href="canOpenDriver_8c.html#b57b4b3c000e9f61135175495e874977" shape="rect" coords="148,6,228,30" alt=""> |
|
404 <area href="timers__unix_8c.html#d7fee43b8a44cf8b7036853593044037" shape="rect" coords="139,54,238,78" alt=""> |
|
405 <area href="timers__unix_8c.html#73d9a4eb941fb20cf6b597840510394b" shape="rect" coords="136,102,240,126" alt=""> |
|
406 <area href="canOpenDriver_8c.html#2f2d1ed55cfd9d7f85883f8d70d318ba" shape="rect" coords="290,6,420,30" alt=""> |
|
407 </map> |
|
408 |
|
409 </div> |
|
410 </div><p> |
|
411 <a class="anchor" name="a6eed61fc15f41f772d4645d7a5edeb5"></a><!-- doxytag: member="drivers_win32.cpp::LoadCanDriver" ref="a6eed61fc15f41f772d4645d7a5edeb5" args="(char *driver_name)" --> |
|
412 <div class="memitem"> |
|
413 <div class="memproto"> |
|
414 <table class="memname"> |
|
415 <tr> |
|
416 <td class="memname"><a class="el" href="win32_2canfestival_8h.html#c4a0f44120dee396ab6bb57e23effaa8">LIB_HANDLE</a> LoadCanDriver </td> |
|
417 <td>(</td> |
|
418 <td class="paramtype">char * </td> |
|
419 <td class="paramname"> <em>driver_name</em> </td> |
|
420 <td> ) </td> |
|
421 <td width="100%"></td> |
|
422 </tr> |
|
423 </table> |
|
424 </div> |
|
425 <div class="memdoc"> |
|
426 |
|
427 <p> |
|
428 |
|
429 <p> |
|
430 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>. |
|
431 <p> |
|
432 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>. |
|
433 <p> |
|
434 Here is the call graph for this function:<p><center><img src="drivers__win32_8cpp_a6eed61fc15f41f772d4645d7a5edeb5_cgraph.png" border="0" usemap="#drivers__win32_8cpp_a6eed61fc15f41f772d4645d7a5edeb5_cgraph_map" alt=""></center> |
|
435 <map name="drivers__win32_8cpp_a6eed61fc15f41f772d4645d7a5edeb5_cgraph_map"> |
|
436 <area href="unix_8c.html#02957f72a9b951603adb98a142bd447b" shape="rect" coords="270,6,352,30" alt=""> |
|
437 <area href="unix_8c.html#7476146ad15948a22e7f80a00c89c40a" shape="rect" coords="270,54,352,78" alt=""> |
|
438 <area href="drivers__win32_8cpp.html#c608a4ba478a809fd963a342a24226fd" shape="rect" coords="262,102,360,126" alt=""> |
|
439 <area href="canOpenDriver_8c.html#b57b4b3c000e9f61135175495e874977" shape="rect" coords="271,150,351,174" alt=""> |
|
440 <area href="classdriver__procs.html#719fa10d86bcd9b7a1ab7bea3dec1d03" shape="rect" coords="176,198,446,222" alt=""> |
|
441 <area href="canOpenDriver_8c.html#2f2d1ed55cfd9d7f85883f8d70d318ba" shape="rect" coords="540,150,671,174" alt=""> |
|
442 <area href="classdriver__procs.html#a1e608bb39ab9183961b7ded9f27d193" shape="rect" coords="494,198,718,222" alt=""> |
|
443 </map> |
|
444 |
|
445 </div> |
|
446 </div><p> |
|
447 <hr><h2>Variable Documentation</h2> |
|
448 <a class="anchor" name="410d0af15c08b84bce57bd000f9f8034"></a><!-- doxytag: member="drivers_win32.cpp::s_driver_procs" ref="410d0af15c08b84bce57bd000f9f8034" args="" --> |
|
449 <div class="memitem"> |
|
450 <div class="memproto"> |
|
451 <table class="memname"> |
|
452 <tr> |
|
453 <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> |
|
454 </tr> |
|
455 </table> |
|
456 </div> |
|
457 <div class="memdoc"> |
|
458 |
|
459 <p> |
|
460 |
|
461 <p> |
|
462 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>. |
|
463 <p> |
|
464 Referenced by <a class="el" href="drivers__win32_8cpp-source.html#l00194">canClose()</a>, <a class="el" href="drivers__win32_8cpp-source.html#l00172">canOpen()</a>, <a class="el" href="drivers__win32_8cpp-source.html#l00124">canReceive()</a>, <a class="el" href="drivers__win32_8cpp-source.html#l00156">canSend()</a>, and <a class="el" href="drivers__win32_8cpp-source.html#l00119">LoadCanDriver()</a>. |
|
465 </div> |
|
466 </div><p> |
|
467 <hr size="1"><address style="align: right;"><small>Generated on Fri Jun 8 08:51:44 2007 for CanFestival by |
|
468 <a href="http://www.doxygen.org/index.html"> |
|
469 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> |
|
470 </body> |
|
471 </html> |