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_65dd258ff9b9ef4cd7bd0d22f5e58dba.html">drivers</a> » <a class="el" href="dir_b3944654cff8658babe25b47a3a522e3.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="255,664,343,691" alt=""> |
|
31 <area href="timer_8h.html" shape="rect" coords="647,613,705,640" alt=""> |
|
32 <area href="timers__driver_8h.html" shape="rect" coords="495,765,596,792" alt=""> |
|
33 <area href="win32_2timerscfg_8h.html" shape="rect" coords="756,689,836,716" alt=""> |
|
34 <area href="can__driver_8h.html" shape="rect" coords="501,5,589,32" alt=""> |
|
35 <area href="data_8h.html" shape="rect" coords="392,360,445,387" alt=""> |
|
36 <area href="win32_2applicfg_8h.html" shape="rect" coords="759,208,833,235" alt=""> |
|
37 <area href="can_8h.html" shape="rect" coords="652,157,700,184" alt=""> |
|
38 <area href="def_8h.html" shape="rect" coords="652,436,700,463" alt=""> |
|
39 <area href="objdictdef_8h.html" shape="rect" coords="503,309,588,336" alt=""> |
|
40 <area href="objacces_8h.html" shape="rect" coords="507,411,584,437" alt=""> |
|
41 <area href="sdo_8h.html" shape="rect" coords="521,613,569,640" alt=""> |
|
42 <area href="pdo_8h.html" shape="rect" coords="520,208,571,235" alt=""> |
|
43 <area href="states_8h.html" shape="rect" coords="515,56,576,83" alt=""> |
|
44 <area href="lifegrd_8h.html" shape="rect" coords="512,107,579,133" alt=""> |
|
45 <area href="sync_8h.html" shape="rect" coords="517,360,573,387" alt=""> |
|
46 <area href="nmtMaster_8h.html" shape="rect" coords="501,512,589,539" alt=""> |
|
47 <area href="config_8h.html" shape="rect" coords="764,436,828,463" alt=""> |
|
48 </map> |
|
49 |
|
50 <p> |
|
51 <a href="drivers__win32_8cpp-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0"> |
|
52 <tr><td></td></tr> |
|
53 <tr><td colspan="2"><br><h2>Data Structures</h2></td></tr> |
|
54 <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> |
|
55 |
|
56 <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> |
|
57 |
|
58 <tr><td colspan="2"><br><h2>Defines</h2></td></tr> |
|
59 <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="drivers__win32_8cpp.html#89cf6df671ff9d1386748dfd3efe3675">DLL_CALL</a>(funcname) (*_##funcname)</td></tr> |
|
60 |
|
61 <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="drivers__win32_8cpp.html#7e34e187b01b3c6623af4ea0344ac92f">FCT_PTR_INIT</a> =NULL</td></tr> |
|
62 |
|
63 <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="drivers__win32_8cpp.html#47fbd32f85fe61059faf1f51612cb148">myTEXT</a>(str) str</td></tr> |
|
64 |
|
65 <tr><td colspan="2"><br><h2>Typedefs</h2></td></tr> |
|
66 <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#f084e2643d0202ed5a81103ff6f0cdfe">CANRECEIVE_DRIVER_PROC</a> (void *inst, <a class="el" href="structMessage.html">Message</a> *m)</td></tr> |
|
67 |
|
68 <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#c9224a2239420f92234b56962b019437">CANSEND_DRIVER_PROC</a> (void *inst, const <a class="el" href="structMessage.html">Message</a> *m)</td></tr> |
|
69 |
|
70 <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#439a7bd1e4e394dc84ef67cd453991ad">CANOPEN_DRIVER_PROC</a> (<a class="el" href="structstruct__s__BOARD.html">s_BOARD</a> *board)</td></tr> |
|
71 |
|
72 <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#3e63ef23c9ac2e9e93ab7d0bfe857583">CANCLOSE_DRIVER_PROC</a> (void *inst)</td></tr> |
|
73 |
|
74 <tr><td colspan="2"><br><h2>Functions</h2></td></tr> |
|
75 <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="drivers__win32_8cpp.html#0012a2aa42ef694bd275c6b5be5c89c7">LoadCanDriver</a> (char *driver_name)</td></tr> |
|
76 |
|
77 <tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8 </td><td class="memItemRight" valign="bottom"><a class="el" href="drivers__win32_8cpp.html#3fcc13134ab40e532057273c24fadeb3">canReceive</a> (<a class="el" href="win32_2applicfg_8h.html#c5a917a8cacf5edd42ba6486c0c8a243">CAN_PORT</a> fd0, <a class="el" href="structMessage.html">Message</a> *m)</td></tr> |
|
78 |
|
79 <tr><td class="memItemLeft" nowrap align="right" valign="top">void * </td><td class="memItemRight" valign="bottom"><a class="el" href="drivers__win32_8cpp.html#12c44dbd367dfeac596805d68d661a4e">canReceiveLoop</a> (<a class="el" href="win32_2applicfg_8h.html#c5a917a8cacf5edd42ba6486c0c8a243">CAN_PORT</a> fd0)</td></tr> |
|
80 |
|
81 <tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8 </td><td class="memItemRight" valign="bottom"><a class="el" href="drivers__win32_8cpp.html#fad02b18ec22a31f09ef7fe921d71881">canSend</a> (<a class="el" href="win32_2applicfg_8h.html#c5a917a8cacf5edd42ba6486c0c8a243">CAN_PORT</a> fd0, <a class="el" href="structMessage.html">Message</a> *m)</td></tr> |
|
82 |
|
83 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="win32_2applicfg_8h.html#324227f7b01d51ee83a883174769ac8f">CAN_HANDLE</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="drivers__win32_8cpp.html#a1b1a8dd15860b7dfb6efb5943988bd6">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> |
|
84 |
|
85 <tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="drivers__win32_8cpp.html#6d6b692e726dee0a5726e6d3db1b1693">canClose</a> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d)</td></tr> |
|
86 |
|
87 <tr><td colspan="2"><br><h2>Variables</h2></td></tr> |
|
88 <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#b22fab20028dc0276f74c904a6585287">s_driver_procs</a></td></tr> |
|
89 |
|
90 </table> |
|
91 <hr><h2>Define Documentation</h2> |
|
92 <a class="anchor" name="89cf6df671ff9d1386748dfd3efe3675"></a><!-- doxytag: member="drivers_win32.cpp::DLL_CALL" ref="89cf6df671ff9d1386748dfd3efe3675" args="(funcname)" --> |
|
93 <div class="memitem"> |
|
94 <div class="memproto"> |
|
95 <table class="memname"> |
|
96 <tr> |
|
97 <td class="memname">#define DLL_CALL </td> |
|
98 <td>(</td> |
|
99 <td class="paramtype">funcname </td> |
|
100 <td class="paramname"> </td> |
|
101 <td> ) </td> |
|
102 <td width="100%"> (*_##funcname)</td> |
|
103 </tr> |
|
104 </table> |
|
105 </div> |
|
106 <div class="memdoc"> |
|
107 |
|
108 <p> |
|
109 |
|
110 <p> |
|
111 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>. |
|
112 </div> |
|
113 </div><p> |
|
114 <a class="anchor" name="7e34e187b01b3c6623af4ea0344ac92f"></a><!-- doxytag: member="drivers_win32.cpp::FCT_PTR_INIT" ref="7e34e187b01b3c6623af4ea0344ac92f" args="" --> |
|
115 <div class="memitem"> |
|
116 <div class="memproto"> |
|
117 <table class="memname"> |
|
118 <tr> |
|
119 <td class="memname">#define FCT_PTR_INIT =NULL </td> |
|
120 </tr> |
|
121 </table> |
|
122 </div> |
|
123 <div class="memdoc"> |
|
124 |
|
125 <p> |
|
126 |
|
127 <p> |
|
128 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>. |
|
129 </div> |
|
130 </div><p> |
|
131 <a class="anchor" name="47fbd32f85fe61059faf1f51612cb148"></a><!-- doxytag: member="drivers_win32.cpp::myTEXT" ref="47fbd32f85fe61059faf1f51612cb148" args="(str)" --> |
|
132 <div class="memitem"> |
|
133 <div class="memproto"> |
|
134 <table class="memname"> |
|
135 <tr> |
|
136 <td class="memname">#define myTEXT </td> |
|
137 <td>(</td> |
|
138 <td class="paramtype">str </td> |
|
139 <td class="paramname"> </td> |
|
140 <td> ) </td> |
|
141 <td width="100%"> str</td> |
|
142 </tr> |
|
143 </table> |
|
144 </div> |
|
145 <div class="memdoc"> |
|
146 |
|
147 <p> |
|
148 |
|
149 <p> |
|
150 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>. |
|
151 <p> |
|
152 Referenced by <a class="el" href="drivers__win32_8cpp-source.html#l00094">driver_procs::load_canfestival_driver()</a>. |
|
153 </div> |
|
154 </div><p> |
|
155 <hr><h2>Typedef Documentation</h2> |
|
156 <a class="anchor" name="3e63ef23c9ac2e9e93ab7d0bfe857583"></a><!-- doxytag: member="drivers_win32.cpp::CANCLOSE_DRIVER_PROC" ref="3e63ef23c9ac2e9e93ab7d0bfe857583" args="(void *inst)" --> |
|
157 <div class="memitem"> |
|
158 <div class="memproto"> |
|
159 <table class="memname"> |
|
160 <tr> |
|
161 <td class="memname">typedef int(*) <a class="el" href="drivers__win32_8cpp.html#3e63ef23c9ac2e9e93ab7d0bfe857583">CANCLOSE_DRIVER_PROC</a>(void *inst) </td> |
|
162 </tr> |
|
163 </table> |
|
164 </div> |
|
165 <div class="memdoc"> |
|
166 |
|
167 <p> |
|
168 |
|
169 <p> |
|
170 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>. |
|
171 </div> |
|
172 </div><p> |
|
173 <a class="anchor" name="439a7bd1e4e394dc84ef67cd453991ad"></a><!-- doxytag: member="drivers_win32.cpp::CANOPEN_DRIVER_PROC" ref="439a7bd1e4e394dc84ef67cd453991ad" args="(s_BOARD *board)" --> |
|
174 <div class="memitem"> |
|
175 <div class="memproto"> |
|
176 <table class="memname"> |
|
177 <tr> |
|
178 <td class="memname">typedef void*(*) <a class="el" href="drivers__win32_8cpp.html#439a7bd1e4e394dc84ef67cd453991ad">CANOPEN_DRIVER_PROC</a>(<a class="el" href="structstruct__s__BOARD.html">s_BOARD</a> *board) </td> |
|
179 </tr> |
|
180 </table> |
|
181 </div> |
|
182 <div class="memdoc"> |
|
183 |
|
184 <p> |
|
185 |
|
186 <p> |
|
187 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>. |
|
188 </div> |
|
189 </div><p> |
|
190 <a class="anchor" name="f084e2643d0202ed5a81103ff6f0cdfe"></a><!-- doxytag: member="drivers_win32.cpp::CANRECEIVE_DRIVER_PROC" ref="f084e2643d0202ed5a81103ff6f0cdfe" args="(void *inst, Message *m)" --> |
|
191 <div class="memitem"> |
|
192 <div class="memproto"> |
|
193 <table class="memname"> |
|
194 <tr> |
|
195 <td class="memname">typedef UNS8(*) <a class="el" href="drivers__win32_8cpp.html#f084e2643d0202ed5a81103ff6f0cdfe">CANRECEIVE_DRIVER_PROC</a>(void *inst, <a class="el" href="structMessage.html">Message</a> *m) </td> |
|
196 </tr> |
|
197 </table> |
|
198 </div> |
|
199 <div class="memdoc"> |
|
200 |
|
201 <p> |
|
202 |
|
203 <p> |
|
204 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>. |
|
205 </div> |
|
206 </div><p> |
|
207 <a class="anchor" name="c9224a2239420f92234b56962b019437"></a><!-- doxytag: member="drivers_win32.cpp::CANSEND_DRIVER_PROC" ref="c9224a2239420f92234b56962b019437" args="(void *inst, const Message *m)" --> |
|
208 <div class="memitem"> |
|
209 <div class="memproto"> |
|
210 <table class="memname"> |
|
211 <tr> |
|
212 <td class="memname">typedef UNS8(*) <a class="el" href="drivers__win32_8cpp.html#c9224a2239420f92234b56962b019437">CANSEND_DRIVER_PROC</a>(void *inst, const <a class="el" href="structMessage.html">Message</a> *m) </td> |
|
213 </tr> |
|
214 </table> |
|
215 </div> |
|
216 <div class="memdoc"> |
|
217 |
|
218 <p> |
|
219 |
|
220 <p> |
|
221 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>. |
|
222 </div> |
|
223 </div><p> |
|
224 <hr><h2>Function Documentation</h2> |
|
225 <a class="anchor" name="6d6b692e726dee0a5726e6d3db1b1693"></a><!-- doxytag: member="drivers_win32.cpp::canClose" ref="6d6b692e726dee0a5726e6d3db1b1693" args="(CO_Data *d)" --> |
|
226 <div class="memitem"> |
|
227 <div class="memproto"> |
|
228 <table class="memname"> |
|
229 <tr> |
|
230 <td class="memname">int canClose </td> |
|
231 <td>(</td> |
|
232 <td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> * </td> |
|
233 <td class="paramname"> <em>d</em> </td> |
|
234 <td> ) </td> |
|
235 <td width="100%"></td> |
|
236 </tr> |
|
237 </table> |
|
238 </div> |
|
239 <div class="memdoc"> |
|
240 |
|
241 <p> |
|
242 |
|
243 <p> |
|
244 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>. |
|
245 <p> |
|
246 References <a class="el" href="unix_8c-source.html#l00178">canClose()</a>, <a class="el" href="data_8h-source.html#l00087">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>. |
|
247 <p> |
|
248 Here is the call graph for this function:<p><center><img src="drivers__win32_8cpp_6d6b692e726dee0a5726e6d3db1b1693_cgraph.png" border="0" usemap="#drivers__win32_8cpp_6d6b692e726dee0a5726e6d3db1b1693_cgraph_map" alt=""></center> |
|
249 <map name="drivers__win32_8cpp_6d6b692e726dee0a5726e6d3db1b1693_cgraph_map"> |
|
250 <area href="unix_8c.html#6d6b692e726dee0a5726e6d3db1b1693" shape="rect" coords="160,5,229,32" alt=""> |
|
251 <area href="timers__unix_8c.html#aa3c568288a54a9398524255602bbce8" shape="rect" coords="152,56,237,83" alt=""> |
|
252 <area href="timers__unix_8c.html#887d197b991c23bc11f626ae688abec7" shape="rect" coords="151,107,239,133" alt=""> |
|
253 <area href="timers__unix_8c.html#b21b041545f4dfc5660514fbc3c2f89c" shape="rect" coords="127,157,263,184" alt=""> |
|
254 </map> |
|
255 |
|
256 </div> |
|
257 </div><p> |
|
258 <a class="anchor" name="a1b1a8dd15860b7dfb6efb5943988bd6"></a><!-- doxytag: member="drivers_win32.cpp::canOpen" ref="a1b1a8dd15860b7dfb6efb5943988bd6" args="(s_BOARD *board, CO_Data *d)" --> |
|
259 <div class="memitem"> |
|
260 <div class="memproto"> |
|
261 <table class="memname"> |
|
262 <tr> |
|
263 <td class="memname"><a class="el" href="win32_2applicfg_8h.html#324227f7b01d51ee83a883174769ac8f">CAN_HANDLE</a> canOpen </td> |
|
264 <td>(</td> |
|
265 <td class="paramtype"><a class="el" href="structstruct__s__BOARD.html">s_BOARD</a> * </td> |
|
266 <td class="paramname"> <em>board</em>, </td> |
|
267 </tr> |
|
268 <tr> |
|
269 <td class="paramkey"></td> |
|
270 <td></td> |
|
271 <td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> * </td> |
|
272 <td class="paramname"> <em>d</em></td><td> </td> |
|
273 </tr> |
|
274 <tr> |
|
275 <td></td> |
|
276 <td>)</td> |
|
277 <td></td><td></td><td width="100%"></td> |
|
278 </tr> |
|
279 </table> |
|
280 </div> |
|
281 <div class="memdoc"> |
|
282 |
|
283 <p> |
|
284 |
|
285 <p> |
|
286 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>. |
|
287 <p> |
|
288 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#l00087">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>. |
|
289 <p> |
|
290 Here is the call graph for this function:<p><center><img src="drivers__win32_8cpp_a1b1a8dd15860b7dfb6efb5943988bd6_cgraph.png" border="0" usemap="#drivers__win32_8cpp_a1b1a8dd15860b7dfb6efb5943988bd6_cgraph_map" alt=""></center> |
|
291 <map name="drivers__win32_8cpp_a1b1a8dd15860b7dfb6efb5943988bd6_cgraph_map"> |
|
292 <area href="unix_8c.html#c32083e9caa1b02f7726a8b87d10ce33" shape="rect" coords="151,107,220,133" alt=""> |
|
293 <area href="unix_8c.html#f6396866bcbfb45d7272b70731ab39cf" shape="rect" coords="131,157,240,184" alt=""> |
|
294 <area href="timers__unix_8c.html#aa3c568288a54a9398524255602bbce8" shape="rect" coords="299,208,384,235" alt=""> |
|
295 <area href="timers__unix_8c.html#887d197b991c23bc11f626ae688abec7" shape="rect" coords="297,259,385,285" alt=""> |
|
296 <area href="timers__unix_8c.html#09c921f9537f26895843a3c21620855b" shape="rect" coords="123,309,248,336" alt=""> |
|
297 <area href="states_8c.html#5903338b79e219eeb27f61974419fc12" shape="rect" coords="299,107,384,133" alt=""> |
|
298 <area href="drivers__win32_8cpp.html#3fcc13134ab40e532057273c24fadeb3" shape="rect" coords="300,157,383,184" alt=""> |
|
299 <area href="nmtSlave_8c.html#078a76722e34eb36a14a39ecf16f3a9d" shape="rect" coords="436,5,593,32" alt=""> |
|
300 <area href="lifegrd_8c.html#5b34a311b7b97bb79db8e729c2dcbf36" shape="rect" coords="437,56,592,83" alt=""> |
|
301 <area href="pdo_8c.html#f653b9e9cc46d8290b3ce2d6392b5a52" shape="rect" coords="469,107,560,133" alt=""> |
|
302 <area href="sdo_8c.html#c93bfdbec900f0b60386f0a2a5256826" shape="rect" coords="469,157,560,184" alt=""> |
|
303 <area href="sync_8c.html#89ae8cfbfc53c26248d5d91f689c7197" shape="rect" coords="465,208,564,235" alt=""> |
|
304 </map> |
|
305 |
|
306 </div> |
|
307 </div><p> |
|
308 <a class="anchor" name="3fcc13134ab40e532057273c24fadeb3"></a><!-- doxytag: member="drivers_win32.cpp::canReceive" ref="3fcc13134ab40e532057273c24fadeb3" args="(CAN_PORT fd0, Message *m)" --> |
|
309 <div class="memitem"> |
|
310 <div class="memproto"> |
|
311 <table class="memname"> |
|
312 <tr> |
|
313 <td class="memname">UNS8 canReceive </td> |
|
314 <td>(</td> |
|
315 <td class="paramtype"><a class="el" href="win32_2applicfg_8h.html#c5a917a8cacf5edd42ba6486c0c8a243">CAN_PORT</a> </td> |
|
316 <td class="paramname"> <em>fd0</em>, </td> |
|
317 </tr> |
|
318 <tr> |
|
319 <td class="paramkey"></td> |
|
320 <td></td> |
|
321 <td class="paramtype"><a class="el" href="structMessage.html">Message</a> * </td> |
|
322 <td class="paramname"> <em>m</em></td><td> </td> |
|
323 </tr> |
|
324 <tr> |
|
325 <td></td> |
|
326 <td>)</td> |
|
327 <td></td><td></td><td width="100%"></td> |
|
328 </tr> |
|
329 </table> |
|
330 </div> |
|
331 <div class="memdoc"> |
|
332 |
|
333 <p> |
|
334 |
|
335 <p> |
|
336 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>. |
|
337 <p> |
|
338 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>. |
|
339 <p> |
|
340 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>. |
|
341 </div> |
|
342 </div><p> |
|
343 <a class="anchor" name="12c44dbd367dfeac596805d68d661a4e"></a><!-- doxytag: member="drivers_win32.cpp::canReceiveLoop" ref="12c44dbd367dfeac596805d68d661a4e" args="(CAN_PORT fd0)" --> |
|
344 <div class="memitem"> |
|
345 <div class="memproto"> |
|
346 <table class="memname"> |
|
347 <tr> |
|
348 <td class="memname">void* canReceiveLoop </td> |
|
349 <td>(</td> |
|
350 <td class="paramtype"><a class="el" href="win32_2applicfg_8h.html#c5a917a8cacf5edd42ba6486c0c8a243">CAN_PORT</a> </td> |
|
351 <td class="paramname"> <em>fd0</em> </td> |
|
352 <td> ) </td> |
|
353 <td width="100%"></td> |
|
354 </tr> |
|
355 </table> |
|
356 </div> |
|
357 <div class="memdoc"> |
|
358 |
|
359 <p> |
|
360 |
|
361 <p> |
|
362 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>. |
|
363 <p> |
|
364 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>. |
|
365 <p> |
|
366 Here is the call graph for this function:<p><center><img src="drivers__win32_8cpp_12c44dbd367dfeac596805d68d661a4e_cgraph.png" border="0" usemap="#drivers__win32_8cpp_12c44dbd367dfeac596805d68d661a4e_cgraph_map" alt=""></center> |
|
367 <map name="drivers__win32_8cpp_12c44dbd367dfeac596805d68d661a4e_cgraph_map"> |
|
368 <area href="states_8c.html#5903338b79e219eeb27f61974419fc12" shape="rect" coords="168,247,253,273" alt=""> |
|
369 <area href="drivers__win32_8cpp.html#3fcc13134ab40e532057273c24fadeb3" shape="rect" coords="169,297,252,324" alt=""> |
|
370 <area href="timers__unix_8c.html#aa3c568288a54a9398524255602bbce8" shape="rect" coords="168,348,253,375" alt=""> |
|
371 <area href="timers__unix_8c.html#887d197b991c23bc11f626ae688abec7" shape="rect" coords="167,399,255,425" alt=""> |
|
372 <area href="nmtSlave_8c.html#078a76722e34eb36a14a39ecf16f3a9d" shape="rect" coords="305,69,463,96" alt=""> |
|
373 <area href="lifegrd_8c.html#5b34a311b7b97bb79db8e729c2dcbf36" shape="rect" coords="512,113,667,140" alt=""> |
|
374 <area href="pdo_8c.html#f653b9e9cc46d8290b3ce2d6392b5a52" shape="rect" coords="544,247,635,273" alt=""> |
|
375 <area href="sdo_8c.html#c93bfdbec900f0b60386f0a2a5256826" shape="rect" coords="339,537,429,564" alt=""> |
|
376 <area href="sync_8c.html#89ae8cfbfc53c26248d5d91f689c7197" shape="rect" coords="335,588,433,615" alt=""> |
|
377 <area href="states_8c.html#cfb53d66c2360cd55b1d968f0e5c270f" shape="rect" coords="559,63,620,89" alt=""> |
|
378 <area href="canOpenDriver_8c.html#fab789b9b2ee0ab6c6f27e67d6c03661" shape="rect" coords="761,107,828,133" alt=""> |
|
379 <area href="lifegrd_8c.html#f01de9def215369ece4214cce5871508" shape="rect" coords="716,56,873,83" alt=""> |
|
380 <area href="timer_8c.html#12fe6467e1df03cc40dd6f76123c99f6" shape="rect" coords="757,157,832,184" alt=""> |
|
381 <area href="timer_8c.html#956b22f24089db4c367f40199f838a20" shape="rect" coords="759,5,831,32" alt=""> |
|
382 <area href="pdo_8c.html#06b1b812ca18d3167243fb2b2acb6414" shape="rect" coords="757,208,832,235" alt=""> |
|
383 <area href="pdo_8c.html#ad755ad656fe0f661ca6bd17acb1245a" shape="rect" coords="929,233,1001,260" alt=""> |
|
384 <area href="pdo_8c.html#1e6f0540474e95f2928151efec83ccb6" shape="rect" coords="723,309,867,336" alt=""> |
|
385 <area href="objacces_8c.html#dad5d2f7890168cade2fbb7e0e4c6200" shape="rect" coords="753,360,836,387" alt=""> |
|
386 <area href="sdo_8c.html#85872a68746c862b8771045ef45385a5" shape="rect" coords="551,816,628,843" alt=""> |
|
387 <area href="sdo_8c.html#93b0dc6875fffd911a7b0dc1ba96a8d1" shape="rect" coords="735,841,855,868" alt=""> |
|
388 <area href="sdo_8c.html#0d8fa7ef68e2d40eb014d9b89abf5448" shape="rect" coords="748,461,841,488" alt=""> |
|
389 <area href="sdo_8c.html#397e3c42e4165191c97fe342ae02e184" shape="rect" coords="923,436,1008,463" alt=""> |
|
390 <area href="sdo_8c.html#cb77818f302f413301728d27c091fa03" shape="rect" coords="535,512,644,539" alt=""> |
|
391 <area href="sdo_8c.html#8e536d3bb6ddd6da6da2148a39f00c5a" shape="rect" coords="520,563,659,589" alt=""> |
|
392 <area href="sdo_8c.html#ed2846a6b2403ab9f0b69712f0411d66" shape="rect" coords="548,613,631,640" alt=""> |
|
393 <area href="sdo_8c.html#57448321a7e327ac8264dfed071a1f90" shape="rect" coords="529,664,649,691" alt=""> |
|
394 <area href="sdo_8c.html#6603431e4ce111d365118681a3b80653" shape="rect" coords="528,360,651,387" alt=""> |
|
395 <area href="sdo_8c.html#bd7fd1f216960f4765749ff21b8c40fb" shape="rect" coords="548,715,631,741" alt=""> |
|
396 <area href="sdo_8c.html#b708fa701e4afbb7b63c6e658317e6dc" shape="rect" coords="553,183,625,209" alt=""> |
|
397 <area href="sdo_8c.html#6d81cdca911a4ea0234ab4b620a554f3" shape="rect" coords="521,765,657,792" alt=""> |
|
398 </map> |
|
399 |
|
400 </div> |
|
401 </div><p> |
|
402 <a class="anchor" name="fad02b18ec22a31f09ef7fe921d71881"></a><!-- doxytag: member="drivers_win32.cpp::canSend" ref="fad02b18ec22a31f09ef7fe921d71881" args="(CAN_PORT fd0, Message *m)" --> |
|
403 <div class="memitem"> |
|
404 <div class="memproto"> |
|
405 <table class="memname"> |
|
406 <tr> |
|
407 <td class="memname">UNS8 canSend </td> |
|
408 <td>(</td> |
|
409 <td class="paramtype"><a class="el" href="win32_2applicfg_8h.html#c5a917a8cacf5edd42ba6486c0c8a243">CAN_PORT</a> </td> |
|
410 <td class="paramname"> <em>fd0</em>, </td> |
|
411 </tr> |
|
412 <tr> |
|
413 <td class="paramkey"></td> |
|
414 <td></td> |
|
415 <td class="paramtype"><a class="el" href="structMessage.html">Message</a> * </td> |
|
416 <td class="paramname"> <em>m</em></td><td> </td> |
|
417 </tr> |
|
418 <tr> |
|
419 <td></td> |
|
420 <td>)</td> |
|
421 <td></td><td></td><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#l00156">156</a> of file <a class="el" href="drivers__win32_8cpp-source.html">drivers_win32.cpp</a>. |
|
431 <p> |
|
432 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>. |
|
433 <p> |
|
434 Here is the call graph for this function:<p><center><img src="drivers__win32_8cpp_fad02b18ec22a31f09ef7fe921d71881_cgraph.png" border="0" usemap="#drivers__win32_8cpp_fad02b18ec22a31f09ef7fe921d71881_cgraph_map" alt=""></center> |
|
435 <map name="drivers__win32_8cpp_fad02b18ec22a31f09ef7fe921d71881_cgraph_map"> |
|
436 <area href="canOpenDriver_8c.html#fab789b9b2ee0ab6c6f27e67d6c03661" shape="rect" coords="132,5,199,32" alt=""> |
|
437 <area href="timers__unix_8c.html#aa3c568288a54a9398524255602bbce8" shape="rect" coords="123,56,208,83" alt=""> |
|
438 <area href="timers__unix_8c.html#887d197b991c23bc11f626ae688abec7" shape="rect" coords="121,107,209,133" alt=""> |
|
439 <area href="canOpenDriver_8c.html#cd855997446329e6b6338fe8644edf11" shape="rect" coords="259,5,371,32" alt=""> |
|
440 </map> |
|
441 |
|
442 </div> |
|
443 </div><p> |
|
444 <a class="anchor" name="0012a2aa42ef694bd275c6b5be5c89c7"></a><!-- doxytag: member="drivers_win32.cpp::LoadCanDriver" ref="0012a2aa42ef694bd275c6b5be5c89c7" args="(char *driver_name)" --> |
|
445 <div class="memitem"> |
|
446 <div class="memproto"> |
|
447 <table class="memname"> |
|
448 <tr> |
|
449 <td class="memname"><a class="el" href="win32_2canfestival_8h.html#df21ab161742c7137cd3bcbe1f9145b7">LIB_HANDLE</a> LoadCanDriver </td> |
|
450 <td>(</td> |
|
451 <td class="paramtype">char * </td> |
|
452 <td class="paramname"> <em>driver_name</em> </td> |
|
453 <td> ) </td> |
|
454 <td width="100%"></td> |
|
455 </tr> |
|
456 </table> |
|
457 </div> |
|
458 <div class="memdoc"> |
|
459 |
|
460 <p> |
|
461 |
|
462 <p> |
|
463 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>. |
|
464 <p> |
|
465 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>. |
|
466 <p> |
|
467 Here is the call graph for this function:<p><center><img src="drivers__win32_8cpp_0012a2aa42ef694bd275c6b5be5c89c7_cgraph.png" border="0" usemap="#drivers__win32_8cpp_0012a2aa42ef694bd275c6b5be5c89c7_cgraph_map" alt=""></center> |
|
468 <map name="drivers__win32_8cpp_0012a2aa42ef694bd275c6b5be5c89c7_cgraph_map"> |
|
469 <area href="unix_8c.html#6d6b692e726dee0a5726e6d3db1b1693" shape="rect" coords="236,5,305,32" alt=""> |
|
470 <area href="unix_8c.html#c32083e9caa1b02f7726a8b87d10ce33" shape="rect" coords="236,56,305,83" alt=""> |
|
471 <area href="drivers__win32_8cpp.html#3fcc13134ab40e532057273c24fadeb3" shape="rect" coords="229,107,312,133" alt=""> |
|
472 <area href="canOpenDriver_8c.html#fab789b9b2ee0ab6c6f27e67d6c03661" shape="rect" coords="237,157,304,184" alt=""> |
|
473 <area href="classdriver__procs.html#b89079a77f4b4576e9affdad131eae47" shape="rect" coords="160,208,381,235" alt=""> |
|
474 <area href="canOpenDriver_8c.html#cd855997446329e6b6338fe8644edf11" shape="rect" coords="467,157,579,184" alt=""> |
|
475 <area href="classdriver__procs.html#3846a104ee383928288c15421e4c4da7" shape="rect" coords="429,208,616,235" alt=""> |
|
476 </map> |
|
477 |
|
478 </div> |
|
479 </div><p> |
|
480 <hr><h2>Variable Documentation</h2> |
|
481 <a class="anchor" name="b22fab20028dc0276f74c904a6585287"></a><!-- doxytag: member="drivers_win32.cpp::s_driver_procs" ref="b22fab20028dc0276f74c904a6585287" args="" --> |
|
482 <div class="memitem"> |
|
483 <div class="memproto"> |
|
484 <table class="memname"> |
|
485 <tr> |
|
486 <td class="memname"><a class="el" href="classdriver__procs.html">driver_procs</a> <a class="el" href="drivers__win32_8cpp.html#b22fab20028dc0276f74c904a6585287">s_driver_procs</a> </td> |
|
487 </tr> |
|
488 </table> |
|
489 </div> |
|
490 <div class="memdoc"> |
|
491 |
|
492 <p> |
|
493 |
|
494 <p> |
|
495 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>. |
|
496 <p> |
|
497 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>. |
|
498 </div> |
|
499 </div><p> |
|
500 <hr size="1"><address style="align: right;"><small>Generated on Mon Jul 2 19:10:20 2007 for CanFestival by |
|
501 <a href="http://www.doxygen.org/index.html"> |
|
502 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> |
|
503 </body> |
|
504 </html> |
|