|
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/include/win32/canfestival.h 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/include/win32/canfestival.h File Reference</h1><code>#include "<a class="el" href="win32_2timerscfg_8h-source.html">timerscfg.h</a>"</code><br> |
|
21 <code>#include "<a class="el" href="can__driver_8h-source.html">can_driver.h</a>"</code><br> |
|
22 <code>#include "<a class="el" href="data_8h-source.html">data.h</a>"</code><br> |
|
23 <code>#include <windows.h></code><br> |
|
24 |
|
25 <p> |
|
26 <a href="win32_2canfestival_8h-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>Typedefs</h2></td></tr> |
|
29 <tr><td class="memItemLeft" nowrap align="right" valign="top">typedef HINSTANCE </td><td class="memItemRight" valign="bottom"><a class="el" href="win32_2canfestival_8h.html#c4a0f44120dee396ab6bb57e23effaa8">LIB_HANDLE</a></td></tr> |
|
30 |
|
31 <tr><td colspan="2"><br><h2>Functions</h2></td></tr> |
|
32 <tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8 </td><td class="memItemRight" valign="bottom"><a class="el" href="win32_2canfestival_8h.html#cb4f394ec0e040c5962d3dc1957505fb">UnLoadCanDriver</a> (<a class="el" href="win32_2canfestival_8h.html#c4a0f44120dee396ab6bb57e23effaa8">LIB_HANDLE</a> handle)</td></tr> |
|
33 |
|
34 <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="win32_2canfestival_8h.html#a6eed61fc15f41f772d4645d7a5edeb5">LoadCanDriver</a> (char *driver_name)</td></tr> |
|
35 |
|
36 <tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8 </td><td class="memItemRight" valign="bottom"><a class="el" href="win32_2canfestival_8h.html#8d1909a09c50c750e4d8626595acd9f6">canSend</a> (<a class="el" href="win32_2applicfg_8h.html#7ef59f941603c6680e74fc335523f17e">CAN_PORT</a> port, <a class="el" href="structMessage.html">Message</a> *m)</td></tr> |
|
37 |
|
38 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="win32_2applicfg_8h.html#7ef59f941603c6680e74fc335523f17e">CAN_PORT</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="win32_2canfestival_8h.html#7476146ad15948a22e7f80a00c89c40a">canOpen</a> (<a class="el" href="structstruct__s__BOARD.html">s_BOARD</a> *board, <a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d)</td></tr> |
|
39 |
|
40 <tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="win32_2canfestival_8h.html#02957f72a9b951603adb98a142bd447b">canClose</a> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d)</td></tr> |
|
41 |
|
42 </table> |
|
43 <hr><h2>Typedef Documentation</h2> |
|
44 <a class="anchor" name="c4a0f44120dee396ab6bb57e23effaa8"></a><!-- doxytag: member="canfestival.h::LIB_HANDLE" ref="c4a0f44120dee396ab6bb57e23effaa8" args="" --> |
|
45 <div class="memitem"> |
|
46 <div class="memproto"> |
|
47 <table class="memname"> |
|
48 <tr> |
|
49 <td class="memname">typedef HINSTANCE <a class="el" href="win32_2canfestival_8h.html#c4a0f44120dee396ab6bb57e23effaa8">LIB_HANDLE</a> </td> |
|
50 </tr> |
|
51 </table> |
|
52 </div> |
|
53 <div class="memdoc"> |
|
54 |
|
55 <p> |
|
56 |
|
57 <p> |
|
58 Definition at line <a class="el" href="win32_2canfestival_8h-source.html#l00031">31</a> of file <a class="el" href="win32_2canfestival_8h-source.html">canfestival.h</a>. |
|
59 </div> |
|
60 </div><p> |
|
61 <hr><h2>Function Documentation</h2> |
|
62 <a class="anchor" name="02957f72a9b951603adb98a142bd447b"></a><!-- doxytag: member="canfestival.h::canClose" ref="02957f72a9b951603adb98a142bd447b" args="(CO_Data *d)" --> |
|
63 <div class="memitem"> |
|
64 <div class="memproto"> |
|
65 <table class="memname"> |
|
66 <tr> |
|
67 <td class="memname">int canClose </td> |
|
68 <td>(</td> |
|
69 <td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> * </td> |
|
70 <td class="paramname"> <em>d</em> </td> |
|
71 <td> ) </td> |
|
72 <td width="100%"></td> |
|
73 </tr> |
|
74 </table> |
|
75 </div> |
|
76 <div class="memdoc"> |
|
77 |
|
78 <p> |
|
79 |
|
80 <p> |
|
81 Definition at line <a class="el" href="unix_8c-source.html#l00178">178</a> of file <a class="el" href="unix_8c-source.html">unix.c</a>. |
|
82 <p> |
|
83 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>. |
|
84 </div> |
|
85 </div><p> |
|
86 <a class="anchor" name="7476146ad15948a22e7f80a00c89c40a"></a><!-- doxytag: member="canfestival.h::canOpen" ref="7476146ad15948a22e7f80a00c89c40a" args="(s_BOARD *board, CO_Data *d)" --> |
|
87 <div class="memitem"> |
|
88 <div class="memproto"> |
|
89 <table class="memname"> |
|
90 <tr> |
|
91 <td class="memname"><a class="el" href="win32_2applicfg_8h.html#7ef59f941603c6680e74fc335523f17e">CAN_PORT</a> canOpen </td> |
|
92 <td>(</td> |
|
93 <td class="paramtype"><a class="el" href="structstruct__s__BOARD.html">s_BOARD</a> * </td> |
|
94 <td class="paramname"> <em>board</em>, </td> |
|
95 </tr> |
|
96 <tr> |
|
97 <td class="paramkey"></td> |
|
98 <td></td> |
|
99 <td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> * </td> |
|
100 <td class="paramname"> <em>d</em></td><td> </td> |
|
101 </tr> |
|
102 <tr> |
|
103 <td></td> |
|
104 <td>)</td> |
|
105 <td></td><td></td><td width="100%"></td> |
|
106 </tr> |
|
107 </table> |
|
108 </div> |
|
109 <div class="memdoc"> |
|
110 |
|
111 <p> |
|
112 |
|
113 <p> |
|
114 Definition at line <a class="el" href="unix_8c-source.html#l00145">145</a> of file <a class="el" href="unix_8c-source.html">unix.c</a>. |
|
115 <p> |
|
116 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="drivers__win32_8cpp-source.html#l00111">driver_data::d</a>, <a class="el" href="unix_8c-source.html#l00055">CANPort::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>. |
|
117 </div> |
|
118 </div><p> |
|
119 <a class="anchor" name="8d1909a09c50c750e4d8626595acd9f6"></a><!-- doxytag: member="canfestival.h::canSend" ref="8d1909a09c50c750e4d8626595acd9f6" args="(CAN_PORT port, Message *m)" --> |
|
120 <div class="memitem"> |
|
121 <div class="memproto"> |
|
122 <table class="memname"> |
|
123 <tr> |
|
124 <td class="memname">UNS8 canSend </td> |
|
125 <td>(</td> |
|
126 <td class="paramtype"><a class="el" href="win32_2applicfg_8h.html#7ef59f941603c6680e74fc335523f17e">CAN_PORT</a> </td> |
|
127 <td class="paramname"> <em>port</em>, </td> |
|
128 </tr> |
|
129 <tr> |
|
130 <td class="paramkey"></td> |
|
131 <td></td> |
|
132 <td class="paramtype"><a class="el" href="structMessage.html">Message</a> * </td> |
|
133 <td class="paramname"> <em>m</em></td><td> </td> |
|
134 </tr> |
|
135 <tr> |
|
136 <td></td> |
|
137 <td>)</td> |
|
138 <td></td><td></td><td width="100%"></td> |
|
139 </tr> |
|
140 </table> |
|
141 </div> |
|
142 <div class="memdoc"> |
|
143 |
|
144 <p> |
|
145 |
|
146 <p> |
|
147 Definition at line <a class="el" href="unix_8c-source.html#l00120">120</a> of file <a class="el" href="unix_8c-source.html">unix.c</a>. |
|
148 <p> |
|
149 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>. |
|
150 </div> |
|
151 </div><p> |
|
152 <a class="anchor" name="a6eed61fc15f41f772d4645d7a5edeb5"></a><!-- doxytag: member="canfestival.h::LoadCanDriver" ref="a6eed61fc15f41f772d4645d7a5edeb5" args="(char *driver_name)" --> |
|
153 <div class="memitem"> |
|
154 <div class="memproto"> |
|
155 <table class="memname"> |
|
156 <tr> |
|
157 <td class="memname"><a class="el" href="win32_2canfestival_8h.html#c4a0f44120dee396ab6bb57e23effaa8">LIB_HANDLE</a> LoadCanDriver </td> |
|
158 <td>(</td> |
|
159 <td class="paramtype">char * </td> |
|
160 <td class="paramname"> <em>driver_name</em> </td> |
|
161 <td> ) </td> |
|
162 <td width="100%"></td> |
|
163 </tr> |
|
164 </table> |
|
165 </div> |
|
166 <div class="memdoc"> |
|
167 |
|
168 <p> |
|
169 |
|
170 <p> |
|
171 Definition at line <a class="el" href="unix_8c-source.html#l00084">84</a> of file <a class="el" href="unix_8c-source.html">unix.c</a>. |
|
172 <p> |
|
173 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>. |
|
174 </div> |
|
175 </div><p> |
|
176 <a class="anchor" name="cb4f394ec0e040c5962d3dc1957505fb"></a><!-- doxytag: member="canfestival.h::UnLoadCanDriver" ref="cb4f394ec0e040c5962d3dc1957505fb" args="(LIB_HANDLE handle)" --> |
|
177 <div class="memitem"> |
|
178 <div class="memproto"> |
|
179 <table class="memname"> |
|
180 <tr> |
|
181 <td class="memname">UNS8 UnLoadCanDriver </td> |
|
182 <td>(</td> |
|
183 <td class="paramtype"><a class="el" href="win32_2canfestival_8h.html#c4a0f44120dee396ab6bb57e23effaa8">LIB_HANDLE</a> </td> |
|
184 <td class="paramname"> <em>handle</em> </td> |
|
185 <td> ) </td> |
|
186 <td width="100%"></td> |
|
187 </tr> |
|
188 </table> |
|
189 </div> |
|
190 <div class="memdoc"> |
|
191 |
|
192 <p> |
|
193 |
|
194 <p> |
|
195 Definition at line <a class="el" href="unix_8c-source.html#l00071">71</a> of file <a class="el" href="unix_8c-source.html">unix.c</a>. |
|
196 </div> |
|
197 </div><p> |
|
198 <hr size="1"><address style="align: right;"><small>Generated on Mon Jun 4 16:29:08 2007 for CanFestival by |
|
199 <a href="http://www.doxygen.org/index.html"> |
|
200 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> |
|
201 </body> |
|
202 </html> |