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