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_65dd258ff9b9ef4cd7bd0d22f5e58dba.html">drivers</a> » <a class="el" href="dir_daf7036eef6d5824a8b65c083e166f12.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="223,31,300,57" 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="223,5,412,32" 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#3fed1f1de80f7782903a336ea0c4ac15">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#f46f5bb558603e14bd82b1c21806373a">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#915236ced66cf74ddc9469659176fbdc">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#6d2e15bd84811e5d28691e149854b093">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#b4622051bed0cc55a23e541f771c0cda">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#cf4a3256fed957baeda35e83fb385efd">CMD_START</a> _IOW(CAN_IOC_MAGIC, 1, <a class="el" href="lincan_8h.html#1b66950737246f472aeb61324d54f2af">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#c0fcbd216490e0566f46dffffc1aa7ba">CMD_STOP</a> _IOW(CAN_IOC_MAGIC, 2, <a class="el" href="lincan_8h.html#1b66950737246f472aeb61324d54f2af">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#08b6b14516c690d57825c1a620cc3c47">CONF_BAUD</a> _IOW(CAN_IOC_MAGIC, 4, <a class="el" href="lincan_8h.html#95ca9694cf55ba2b9c5cac34c5f823fd">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#cdf45e20e3c088762e82844b21630547">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#377940ced46c65e01361c28929196726">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#51c1d13caec3912207c797cba4af1853">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#38cb66c5a570c41a29a201eb4f33bd6d">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#af8106f38e412e2f78e028e12db0421b">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#5345d8a283046886c2a8033ce6d38433">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#95ca9694cf55ba2b9c5cac34c5f823fd">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#1b66950737246f472aeb61324d54f2af">channel_t</a></td></tr> |
|
78 |
|
79 </table> |
|
80 <hr><h2>Define Documentation</h2> |
|
81 <a class="anchor" name="915236ced66cf74ddc9469659176fbdc"></a><!-- doxytag: member="lincan.h::CAN_DRV_QRY_BRANCH" ref="915236ced66cf74ddc9469659176fbdc" 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="b4622051bed0cc55a23e541f771c0cda"></a><!-- doxytag: member="lincan.h::CAN_DRV_QRY_MSGFORMAT" ref="b4622051bed0cc55a23e541f771c0cda" 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="6d2e15bd84811e5d28691e149854b093"></a><!-- doxytag: member="lincan.h::CAN_DRV_QRY_VERSION" ref="6d2e15bd84811e5d28691e149854b093" 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="f46f5bb558603e14bd82b1c21806373a"></a><!-- doxytag: member="lincan.h::CAN_DRV_QUERY" ref="f46f5bb558603e14bd82b1c21806373a" 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="3fed1f1de80f7782903a336ea0c4ac15"></a><!-- doxytag: member="lincan.h::CAN_IOC_MAGIC" ref="3fed1f1de80f7782903a336ea0c4ac15" 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="51c1d13caec3912207c797cba4af1853"></a><!-- doxytag: member="lincan.h::CANQUE_FILTER" ref="51c1d13caec3912207c797cba4af1853" 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="38cb66c5a570c41a29a201eb4f33bd6d"></a><!-- doxytag: member="lincan.h::CANQUE_FLUSH" ref="38cb66c5a570c41a29a201eb4f33bd6d" 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="5345d8a283046886c2a8033ce6d38433"></a><!-- doxytag: member="lincan.h::CANRTR_READ" ref="5345d8a283046886c2a8033ce6d38433" 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="cf4a3256fed957baeda35e83fb385efd"></a><!-- doxytag: member="lincan.h::CMD_START" ref="cf4a3256fed957baeda35e83fb385efd" 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#1b66950737246f472aeb61324d54f2af">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="c0fcbd216490e0566f46dffffc1aa7ba"></a><!-- doxytag: member="lincan.h::CMD_STOP" ref="c0fcbd216490e0566f46dffffc1aa7ba" 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#1b66950737246f472aeb61324d54f2af">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="08b6b14516c690d57825c1a620cc3c47"></a><!-- doxytag: member="lincan.h::CONF_BAUD" ref="08b6b14516c690d57825c1a620cc3c47" 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#95ca9694cf55ba2b9c5cac34c5f823fd">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="af8106f38e412e2f78e028e12db0421b"></a><!-- doxytag: member="lincan.h::CONF_BAUDPARAMS" ref="af8106f38e412e2f78e028e12db0421b" 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="cdf45e20e3c088762e82844b21630547"></a><!-- doxytag: member="lincan.h::CONF_FILTER" ref="cdf45e20e3c088762e82844b21630547" 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="377940ced46c65e01361c28929196726"></a><!-- doxytag: member="lincan.h::STAT" ref="377940ced46c65e01361c28929196726" 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="95ca9694cf55ba2b9c5cac34c5f823fd"></a><!-- doxytag: member="lincan.h::bittiming_t" ref="95ca9694cf55ba2b9c5cac34c5f823fd" 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#95ca9694cf55ba2b9c5cac34c5f823fd">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="1b66950737246f472aeb61324d54f2af"></a><!-- doxytag: member="lincan.h::channel_t" ref="1b66950737246f472aeb61324d54f2af" 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#1b66950737246f472aeb61324d54f2af">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 Mon Jul 2 19:10:17 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> |
|