|
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/can_lincan/lincan.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/drivers/can_lincan/lincan.h File Reference</h1><code>#include <sys/time.h></code><br> |
|
21 <code>#include <sys/types.h></code><br> |
|
22 <code>#include <sys/ioctl.h></code><br> |
|
23 <code>#include "<a class="el" href="canmsg_8h-source.html">./canmsg.h</a>"</code><br> |
|
24 |
|
25 <p> |
|
26 <a href="lincan_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>Data Structures</h2></td></tr> |
|
29 <tr><td class="memItemLeft" nowrap align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="structcan__baudparams__t.html">can_baudparams_t</a></td></tr> |
|
30 |
|
31 <tr><td colspan="2"><br><h2>Defines</h2></td></tr> |
|
32 <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="lincan_8h.html#edfec349e7eb84dc1e60924b7f262a0e">CAN_IOC_MAGIC</a> 'd'</td></tr> |
|
33 |
|
34 <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="lincan_8h.html#3b049542c0383cbce199aad5d240a2dc">CAN_DRV_QUERY</a> _IO(CAN_IOC_MAGIC, 0)</td></tr> |
|
35 |
|
36 <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="lincan_8h.html#df0a0b486c35c338028d6054e469d976">CAN_DRV_QRY_BRANCH</a> 0</td></tr> |
|
37 |
|
38 <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="lincan_8h.html#c50df3601f78c81c90f46fdf29ad926b">CAN_DRV_QRY_VERSION</a> 1</td></tr> |
|
39 |
|
40 <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="lincan_8h.html#fda0151d8d8e5ffd9609890f4e35447b">CAN_DRV_QRY_MSGFORMAT</a> 2</td></tr> |
|
41 |
|
42 <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="lincan_8h.html#b905e6aff2332984df0552c6b50203f2">CMD_START</a> _IOW(CAN_IOC_MAGIC, 1, <a class="el" href="lincan_8h.html#e6ce5c58553fdefeba893c2263f476d3">channel_t</a>)</td></tr> |
|
43 |
|
44 <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="lincan_8h.html#46dc7ae84992bfe62cc00731959a67f4">CMD_STOP</a> _IOW(CAN_IOC_MAGIC, 2, <a class="el" href="lincan_8h.html#e6ce5c58553fdefeba893c2263f476d3">channel_t</a>)</td></tr> |
|
45 |
|
46 <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="lincan_8h.html#f9438e3cb11f76f235f619f485820e97">CONF_BAUD</a> _IOW(CAN_IOC_MAGIC, 4, <a class="el" href="lincan_8h.html#a4668d3e5f141bf55821db4c528a9231">bittiming_t</a>)</td></tr> |
|
47 |
|
48 <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="lincan_8h.html#c50db35e4beea548c3e66447f25d30c6">CONF_FILTER</a> _IOW(CAN_IOC_MAGIC, 8, unsigned char)</td></tr> |
|
49 |
|
50 <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="lincan_8h.html#47c1b9c9a7b4183ac4fd96dc5ca8e820">STAT</a> _IO(CAN_IOC_MAGIC, 9)</td></tr> |
|
51 |
|
52 <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="lincan_8h.html#76a2a98cbf8a80fd83fb5c6d4df17340">CANQUE_FILTER</a> _IOW(CAN_IOC_MAGIC, 10, struct <a class="el" href="structcanfilt__t.html">canfilt_t</a>)</td></tr> |
|
53 |
|
54 <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="lincan_8h.html#4472b7dda19ee82821f9b7b8d063c79f">CANQUE_FLUSH</a> _IO(CAN_IOC_MAGIC, 11)</td></tr> |
|
55 |
|
56 <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="lincan_8h.html#fb3bb74a3850e5eb2dbe5ae1c295f748">CONF_BAUDPARAMS</a> _IOW(CAN_IOC_MAGIC, 11, struct <a class="el" href="structcan__baudparams__t.html">can_baudparams_t</a>)</td></tr> |
|
57 |
|
58 <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="lincan_8h.html#af40c0873e8b794d0e252751898fee43">CANRTR_READ</a> _IOWR(CAN_IOC_MAGIC, 12, struct <a class="el" href="structcanmsg__t.html">canmsg_t</a>)</td></tr> |
|
59 |
|
60 <tr><td colspan="2"><br><h2>Typedefs</h2></td></tr> |
|
61 <tr><td class="memItemLeft" nowrap align="right" valign="top">typedef unsigned long </td><td class="memItemRight" valign="bottom"><a class="el" href="lincan_8h.html#a4668d3e5f141bf55821db4c528a9231">bittiming_t</a></td></tr> |
|
62 |
|
63 <tr><td class="memItemLeft" nowrap align="right" valign="top">typedef unsigned short </td><td class="memItemRight" valign="bottom"><a class="el" href="lincan_8h.html#e6ce5c58553fdefeba893c2263f476d3">channel_t</a></td></tr> |
|
64 |
|
65 </table> |
|
66 <hr><h2>Define Documentation</h2> |
|
67 <a class="anchor" name="df0a0b486c35c338028d6054e469d976"></a><!-- doxytag: member="lincan.h::CAN_DRV_QRY_BRANCH" ref="df0a0b486c35c338028d6054e469d976" args="" --> |
|
68 <div class="memitem"> |
|
69 <div class="memproto"> |
|
70 <table class="memname"> |
|
71 <tr> |
|
72 <td class="memname">#define CAN_DRV_QRY_BRANCH 0 </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="lincan_8h-source.html#l00058">58</a> of file <a class="el" href="lincan_8h-source.html">lincan.h</a>. |
|
82 </div> |
|
83 </div><p> |
|
84 <a class="anchor" name="fda0151d8d8e5ffd9609890f4e35447b"></a><!-- doxytag: member="lincan.h::CAN_DRV_QRY_MSGFORMAT" ref="fda0151d8d8e5ffd9609890f4e35447b" args="" --> |
|
85 <div class="memitem"> |
|
86 <div class="memproto"> |
|
87 <table class="memname"> |
|
88 <tr> |
|
89 <td class="memname">#define CAN_DRV_QRY_MSGFORMAT 2 </td> |
|
90 </tr> |
|
91 </table> |
|
92 </div> |
|
93 <div class="memdoc"> |
|
94 |
|
95 <p> |
|
96 |
|
97 <p> |
|
98 Definition at line <a class="el" href="lincan_8h-source.html#l00060">60</a> of file <a class="el" href="lincan_8h-source.html">lincan.h</a>. |
|
99 </div> |
|
100 </div><p> |
|
101 <a class="anchor" name="c50df3601f78c81c90f46fdf29ad926b"></a><!-- doxytag: member="lincan.h::CAN_DRV_QRY_VERSION" ref="c50df3601f78c81c90f46fdf29ad926b" args="" --> |
|
102 <div class="memitem"> |
|
103 <div class="memproto"> |
|
104 <table class="memname"> |
|
105 <tr> |
|
106 <td class="memname">#define CAN_DRV_QRY_VERSION 1 </td> |
|
107 </tr> |
|
108 </table> |
|
109 </div> |
|
110 <div class="memdoc"> |
|
111 |
|
112 <p> |
|
113 |
|
114 <p> |
|
115 Definition at line <a class="el" href="lincan_8h-source.html#l00059">59</a> of file <a class="el" href="lincan_8h-source.html">lincan.h</a>. |
|
116 </div> |
|
117 </div><p> |
|
118 <a class="anchor" name="3b049542c0383cbce199aad5d240a2dc"></a><!-- doxytag: member="lincan.h::CAN_DRV_QUERY" ref="3b049542c0383cbce199aad5d240a2dc" args="" --> |
|
119 <div class="memitem"> |
|
120 <div class="memproto"> |
|
121 <table class="memname"> |
|
122 <tr> |
|
123 <td class="memname">#define CAN_DRV_QUERY _IO(CAN_IOC_MAGIC, 0) </td> |
|
124 </tr> |
|
125 </table> |
|
126 </div> |
|
127 <div class="memdoc"> |
|
128 |
|
129 <p> |
|
130 |
|
131 <p> |
|
132 Definition at line <a class="el" href="lincan_8h-source.html#l00057">57</a> of file <a class="el" href="lincan_8h-source.html">lincan.h</a>. |
|
133 </div> |
|
134 </div><p> |
|
135 <a class="anchor" name="edfec349e7eb84dc1e60924b7f262a0e"></a><!-- doxytag: member="lincan.h::CAN_IOC_MAGIC" ref="edfec349e7eb84dc1e60924b7f262a0e" args="" --> |
|
136 <div class="memitem"> |
|
137 <div class="memproto"> |
|
138 <table class="memname"> |
|
139 <tr> |
|
140 <td class="memname">#define CAN_IOC_MAGIC 'd' </td> |
|
141 </tr> |
|
142 </table> |
|
143 </div> |
|
144 <div class="memdoc"> |
|
145 |
|
146 <p> |
|
147 |
|
148 <p> |
|
149 Definition at line <a class="el" href="lincan_8h-source.html#l00034">34</a> of file <a class="el" href="lincan_8h-source.html">lincan.h</a>. |
|
150 </div> |
|
151 </div><p> |
|
152 <a class="anchor" name="76a2a98cbf8a80fd83fb5c6d4df17340"></a><!-- doxytag: member="lincan.h::CANQUE_FILTER" ref="76a2a98cbf8a80fd83fb5c6d4df17340" args="" --> |
|
153 <div class="memitem"> |
|
154 <div class="memproto"> |
|
155 <table class="memname"> |
|
156 <tr> |
|
157 <td class="memname">#define CANQUE_FILTER _IOW(CAN_IOC_MAGIC, 10, struct <a class="el" href="structcanfilt__t.html">canfilt_t</a>) </td> |
|
158 </tr> |
|
159 </table> |
|
160 </div> |
|
161 <div class="memdoc"> |
|
162 |
|
163 <p> |
|
164 |
|
165 <p> |
|
166 Definition at line <a class="el" href="lincan_8h-source.html#l00077">77</a> of file <a class="el" href="lincan_8h-source.html">lincan.h</a>. |
|
167 </div> |
|
168 </div><p> |
|
169 <a class="anchor" name="4472b7dda19ee82821f9b7b8d063c79f"></a><!-- doxytag: member="lincan.h::CANQUE_FLUSH" ref="4472b7dda19ee82821f9b7b8d063c79f" args="" --> |
|
170 <div class="memitem"> |
|
171 <div class="memproto"> |
|
172 <table class="memname"> |
|
173 <tr> |
|
174 <td class="memname">#define CANQUE_FLUSH _IO(CAN_IOC_MAGIC, 11) </td> |
|
175 </tr> |
|
176 </table> |
|
177 </div> |
|
178 <div class="memdoc"> |
|
179 |
|
180 <p> |
|
181 |
|
182 <p> |
|
183 Definition at line <a class="el" href="lincan_8h-source.html#l00078">78</a> of file <a class="el" href="lincan_8h-source.html">lincan.h</a>. |
|
184 </div> |
|
185 </div><p> |
|
186 <a class="anchor" name="af40c0873e8b794d0e252751898fee43"></a><!-- doxytag: member="lincan.h::CANRTR_READ" ref="af40c0873e8b794d0e252751898fee43" args="" --> |
|
187 <div class="memitem"> |
|
188 <div class="memproto"> |
|
189 <table class="memname"> |
|
190 <tr> |
|
191 <td class="memname">#define CANRTR_READ _IOWR(CAN_IOC_MAGIC, 12, struct <a class="el" href="structcanmsg__t.html">canmsg_t</a>) </td> |
|
192 </tr> |
|
193 </table> |
|
194 </div> |
|
195 <div class="memdoc"> |
|
196 |
|
197 <p> |
|
198 |
|
199 <p> |
|
200 Definition at line <a class="el" href="lincan_8h-source.html#l00080">80</a> of file <a class="el" href="lincan_8h-source.html">lincan.h</a>. |
|
201 </div> |
|
202 </div><p> |
|
203 <a class="anchor" name="b905e6aff2332984df0552c6b50203f2"></a><!-- doxytag: member="lincan.h::CMD_START" ref="b905e6aff2332984df0552c6b50203f2" args="" --> |
|
204 <div class="memitem"> |
|
205 <div class="memproto"> |
|
206 <table class="memname"> |
|
207 <tr> |
|
208 <td class="memname">#define CMD_START _IOW(CAN_IOC_MAGIC, 1, <a class="el" href="lincan_8h.html#e6ce5c58553fdefeba893c2263f476d3">channel_t</a>) </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="lincan_8h-source.html#l00062">62</a> of file <a class="el" href="lincan_8h-source.html">lincan.h</a>. |
|
218 </div> |
|
219 </div><p> |
|
220 <a class="anchor" name="46dc7ae84992bfe62cc00731959a67f4"></a><!-- doxytag: member="lincan.h::CMD_STOP" ref="46dc7ae84992bfe62cc00731959a67f4" args="" --> |
|
221 <div class="memitem"> |
|
222 <div class="memproto"> |
|
223 <table class="memname"> |
|
224 <tr> |
|
225 <td class="memname">#define CMD_STOP _IOW(CAN_IOC_MAGIC, 2, <a class="el" href="lincan_8h.html#e6ce5c58553fdefeba893c2263f476d3">channel_t</a>) </td> |
|
226 </tr> |
|
227 </table> |
|
228 </div> |
|
229 <div class="memdoc"> |
|
230 |
|
231 <p> |
|
232 |
|
233 <p> |
|
234 Definition at line <a class="el" href="lincan_8h-source.html#l00063">63</a> of file <a class="el" href="lincan_8h-source.html">lincan.h</a>. |
|
235 </div> |
|
236 </div><p> |
|
237 <a class="anchor" name="f9438e3cb11f76f235f619f485820e97"></a><!-- doxytag: member="lincan.h::CONF_BAUD" ref="f9438e3cb11f76f235f619f485820e97" args="" --> |
|
238 <div class="memitem"> |
|
239 <div class="memproto"> |
|
240 <table class="memname"> |
|
241 <tr> |
|
242 <td class="memname">#define CONF_BAUD _IOW(CAN_IOC_MAGIC, 4, <a class="el" href="lincan_8h.html#a4668d3e5f141bf55821db4c528a9231">bittiming_t</a>) </td> |
|
243 </tr> |
|
244 </table> |
|
245 </div> |
|
246 <div class="memdoc"> |
|
247 |
|
248 <p> |
|
249 |
|
250 <p> |
|
251 Definition at line <a class="el" href="lincan_8h-source.html#l00066">66</a> of file <a class="el" href="lincan_8h-source.html">lincan.h</a>. |
|
252 </div> |
|
253 </div><p> |
|
254 <a class="anchor" name="fb3bb74a3850e5eb2dbe5ae1c295f748"></a><!-- doxytag: member="lincan.h::CONF_BAUDPARAMS" ref="fb3bb74a3850e5eb2dbe5ae1c295f748" args="" --> |
|
255 <div class="memitem"> |
|
256 <div class="memproto"> |
|
257 <table class="memname"> |
|
258 <tr> |
|
259 <td class="memname">#define CONF_BAUDPARAMS _IOW(CAN_IOC_MAGIC, 11, struct <a class="el" href="structcan__baudparams__t.html">can_baudparams_t</a>) </td> |
|
260 </tr> |
|
261 </table> |
|
262 </div> |
|
263 <div class="memdoc"> |
|
264 |
|
265 <p> |
|
266 |
|
267 <p> |
|
268 Definition at line <a class="el" href="lincan_8h-source.html#l00079">79</a> of file <a class="el" href="lincan_8h-source.html">lincan.h</a>. |
|
269 </div> |
|
270 </div><p> |
|
271 <a class="anchor" name="c50db35e4beea548c3e66447f25d30c6"></a><!-- doxytag: member="lincan.h::CONF_FILTER" ref="c50db35e4beea548c3e66447f25d30c6" args="" --> |
|
272 <div class="memitem"> |
|
273 <div class="memproto"> |
|
274 <table class="memname"> |
|
275 <tr> |
|
276 <td class="memname">#define CONF_FILTER _IOW(CAN_IOC_MAGIC, 8, unsigned char) </td> |
|
277 </tr> |
|
278 </table> |
|
279 </div> |
|
280 <div class="memdoc"> |
|
281 |
|
282 <p> |
|
283 |
|
284 <p> |
|
285 Definition at line <a class="el" href="lincan_8h-source.html#l00071">71</a> of file <a class="el" href="lincan_8h-source.html">lincan.h</a>. |
|
286 </div> |
|
287 </div><p> |
|
288 <a class="anchor" name="47c1b9c9a7b4183ac4fd96dc5ca8e820"></a><!-- doxytag: member="lincan.h::STAT" ref="47c1b9c9a7b4183ac4fd96dc5ca8e820" args="" --> |
|
289 <div class="memitem"> |
|
290 <div class="memproto"> |
|
291 <table class="memname"> |
|
292 <tr> |
|
293 <td class="memname">#define STAT _IO(CAN_IOC_MAGIC, 9) </td> |
|
294 </tr> |
|
295 </table> |
|
296 </div> |
|
297 <div class="memdoc"> |
|
298 |
|
299 <p> |
|
300 |
|
301 <p> |
|
302 Definition at line <a class="el" href="lincan_8h-source.html#l00076">76</a> of file <a class="el" href="lincan_8h-source.html">lincan.h</a>. |
|
303 </div> |
|
304 </div><p> |
|
305 <hr><h2>Typedef Documentation</h2> |
|
306 <a class="anchor" name="a4668d3e5f141bf55821db4c528a9231"></a><!-- doxytag: member="lincan.h::bittiming_t" ref="a4668d3e5f141bf55821db4c528a9231" args="" --> |
|
307 <div class="memitem"> |
|
308 <div class="memproto"> |
|
309 <table class="memname"> |
|
310 <tr> |
|
311 <td class="memname">typedef unsigned long <a class="el" href="lincan_8h.html#a4668d3e5f141bf55821db4c528a9231">bittiming_t</a> </td> |
|
312 </tr> |
|
313 </table> |
|
314 </div> |
|
315 <div class="memdoc"> |
|
316 |
|
317 <p> |
|
318 |
|
319 <p> |
|
320 Definition at line <a class="el" href="lincan_8h-source.html#l00036">36</a> of file <a class="el" href="lincan_8h-source.html">lincan.h</a>. |
|
321 </div> |
|
322 </div><p> |
|
323 <a class="anchor" name="e6ce5c58553fdefeba893c2263f476d3"></a><!-- doxytag: member="lincan.h::channel_t" ref="e6ce5c58553fdefeba893c2263f476d3" args="" --> |
|
324 <div class="memitem"> |
|
325 <div class="memproto"> |
|
326 <table class="memname"> |
|
327 <tr> |
|
328 <td class="memname">typedef unsigned short <a class="el" href="lincan_8h.html#e6ce5c58553fdefeba893c2263f476d3">channel_t</a> </td> |
|
329 </tr> |
|
330 </table> |
|
331 </div> |
|
332 <div class="memdoc"> |
|
333 |
|
334 <p> |
|
335 |
|
336 <p> |
|
337 Definition at line <a class="el" href="lincan_8h-source.html#l00037">37</a> of file <a class="el" href="lincan_8h-source.html">lincan.h</a>. |
|
338 </div> |
|
339 </div><p> |
|
340 <hr size="1"><address style="align: right;"><small>Generated on Mon Jun 4 16:29:07 2007 for CanFestival by |
|
341 <a href="http://www.doxygen.org/index.html"> |
|
342 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> |
|
343 </body> |
|
344 </html> |