207
|
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/canmsg.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/canmsg.h File Reference</h1><code>#include <sys/time.h></code><br>
|
|
21 |
<code>#include <sys/types.h></code><br>
|
|
22 |
|
|
23 |
<p>
|
|
24 |
<a href="canmsg_8h-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0">
|
|
25 |
<tr><td></td></tr>
|
|
26 |
<tr><td colspan="2"><br><h2>Data Structures</h2></td></tr>
|
|
27 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="structcanmsg__t.html">canmsg_t</a></td></tr>
|
|
28 |
|
|
29 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="structcanfilt__t.html">canfilt_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="canmsg_8h.html#6e08f25b3a7951a82cc337505fc3c27a">CAN_MSG_VERSION_2</a></td></tr>
|
|
33 |
|
|
34 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="canmsg_8h.html#eb09c576cda35f0ce23882b092679131">CAN_MSG_LENGTH</a> 8</td></tr>
|
|
35 |
|
|
36 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="canmsg_8h.html#a17d9d21b15825ab928d225e6b317d26">MSG_RTR</a> (1<<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="canmsg_8h.html#8a25d646d69812829a67d88e00245007">MSG_OVR</a> (1<<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="canmsg_8h.html#973182db693bc55d98fafe82ad62f68c">MSG_EXT</a> (1<<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="canmsg_8h.html#8371666c6983526f38115cda79f63d62">MSG_LOCAL</a> (1<<3)</td></tr>
|
|
43 |
|
|
44 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="canmsg_8h.html#664009574504682c47743d2a3690afa7">MSG_FILT_MASK_SHIFT</a> 8</td></tr>
|
|
45 |
|
|
46 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="canmsg_8h.html#003ae3d402f58589544d93f02ae5e252">MSG_RTR_MASK</a> (MSG_RTR<<MSG_FILT_MASK_SHIFT)</td></tr>
|
|
47 |
|
|
48 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="canmsg_8h.html#4796f51e6847235d7fcb74b35a023f9f">MSG_EXT_MASK</a> (MSG_EXT<<MSG_FILT_MASK_SHIFT)</td></tr>
|
|
49 |
|
|
50 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="canmsg_8h.html#0fa902ccfba692bf3db9782496acc80b">MSG_LOCAL_MASK</a> (MSG_LOCAL<<MSG_FILT_MASK_SHIFT)</td></tr>
|
|
51 |
|
|
52 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="canmsg_8h.html#2b53a66520d29f4df4473fff575ad417">MSG_PROCESSLOCAL</a> (MSG_OVR<<MSG_FILT_MASK_SHIFT)</td></tr>
|
|
53 |
|
|
54 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="canmsg_8h.html#9a9e40fdca7c76479284ba350e3c8506">MSG_ID_MASK</a> ((1l<<29)-1)</td></tr>
|
|
55 |
|
|
56 |
<tr><td colspan="2"><br><h2>Typedefs</h2></td></tr>
|
|
57 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef timeval </td><td class="memItemRight" valign="bottom"><a class="el" href="canmsg_8h.html#f5a9ea1b33e64787190dccc1ce5419a2">canmsg_tstamp_t</a></td></tr>
|
|
58 |
|
|
59 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef unsigned long </td><td class="memItemRight" valign="bottom"><a class="el" href="canmsg_8h.html#4df2eff676652dbe67d372e42ccf8aa7">canmsg_id_t</a></td></tr>
|
|
60 |
|
|
61 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef <a class="el" href="structcanmsg__t.html">canmsg_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="canmsg_8h.html#be94973a423090a2a9a1c15a9479a920">canmsg_t</a></td></tr>
|
|
62 |
|
|
63 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef <a class="el" href="structcanfilt__t.html">canfilt_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="canmsg_8h.html#d37d8411be50cb86c62113a96b56e120">canfilt_t</a></td></tr>
|
|
64 |
|
|
65 |
</table>
|
|
66 |
<hr><h2>Define Documentation</h2>
|
|
67 |
<a class="anchor" name="eb09c576cda35f0ce23882b092679131"></a><!-- doxytag: member="canmsg.h::CAN_MSG_LENGTH" ref="eb09c576cda35f0ce23882b092679131" args="" -->
|
|
68 |
<div class="memitem">
|
|
69 |
<div class="memproto">
|
|
70 |
<table class="memname">
|
|
71 |
<tr>
|
|
72 |
<td class="memname">#define CAN_MSG_LENGTH 8 </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="canmsg_8h-source.html#l00036">36</a> of file <a class="el" href="canmsg_8h-source.html">canmsg.h</a>.
|
|
82 |
</div>
|
|
83 |
</div><p>
|
|
84 |
<a class="anchor" name="6e08f25b3a7951a82cc337505fc3c27a"></a><!-- doxytag: member="canmsg.h::CAN_MSG_VERSION_2" ref="6e08f25b3a7951a82cc337505fc3c27a" args="" -->
|
|
85 |
<div class="memitem">
|
|
86 |
<div class="memproto">
|
|
87 |
<table class="memname">
|
|
88 |
<tr>
|
|
89 |
<td class="memname">#define CAN_MSG_VERSION_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="canmsg_8h-source.html#l00033">33</a> of file <a class="el" href="canmsg_8h-source.html">canmsg.h</a>.
|
|
99 |
</div>
|
|
100 |
</div><p>
|
|
101 |
<a class="anchor" name="973182db693bc55d98fafe82ad62f68c"></a><!-- doxytag: member="canmsg.h::MSG_EXT" ref="973182db693bc55d98fafe82ad62f68c" args="" -->
|
|
102 |
<div class="memitem">
|
|
103 |
<div class="memproto">
|
|
104 |
<table class="memname">
|
|
105 |
<tr>
|
|
106 |
<td class="memname">#define MSG_EXT (1<<2) </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="canmsg_8h-source.html#l00118">118</a> of file <a class="el" href="canmsg_8h-source.html">canmsg.h</a>.
|
|
116 |
</div>
|
|
117 |
</div><p>
|
|
118 |
<a class="anchor" name="4796f51e6847235d7fcb74b35a023f9f"></a><!-- doxytag: member="canmsg.h::MSG_EXT_MASK" ref="4796f51e6847235d7fcb74b35a023f9f" args="" -->
|
|
119 |
<div class="memitem">
|
|
120 |
<div class="memproto">
|
|
121 |
<table class="memname">
|
|
122 |
<tr>
|
|
123 |
<td class="memname">#define MSG_EXT_MASK (MSG_EXT<<MSG_FILT_MASK_SHIFT) </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="canmsg_8h-source.html#l00125">125</a> of file <a class="el" href="canmsg_8h-source.html">canmsg.h</a>.
|
|
133 |
</div>
|
|
134 |
</div><p>
|
|
135 |
<a class="anchor" name="664009574504682c47743d2a3690afa7"></a><!-- doxytag: member="canmsg.h::MSG_FILT_MASK_SHIFT" ref="664009574504682c47743d2a3690afa7" args="" -->
|
|
136 |
<div class="memitem">
|
|
137 |
<div class="memproto">
|
|
138 |
<table class="memname">
|
|
139 |
<tr>
|
|
140 |
<td class="memname">#define MSG_FILT_MASK_SHIFT 8 </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="canmsg_8h-source.html#l00123">123</a> of file <a class="el" href="canmsg_8h-source.html">canmsg.h</a>.
|
|
150 |
</div>
|
|
151 |
</div><p>
|
|
152 |
<a class="anchor" name="9a9e40fdca7c76479284ba350e3c8506"></a><!-- doxytag: member="canmsg.h::MSG_ID_MASK" ref="9a9e40fdca7c76479284ba350e3c8506" args="" -->
|
|
153 |
<div class="memitem">
|
|
154 |
<div class="memproto">
|
|
155 |
<table class="memname">
|
|
156 |
<tr>
|
|
157 |
<td class="memname">#define MSG_ID_MASK ((1l<<29)-1) </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="canmsg_8h-source.html#l00130">130</a> of file <a class="el" href="canmsg_8h-source.html">canmsg.h</a>.
|
|
167 |
</div>
|
|
168 |
</div><p>
|
|
169 |
<a class="anchor" name="8371666c6983526f38115cda79f63d62"></a><!-- doxytag: member="canmsg.h::MSG_LOCAL" ref="8371666c6983526f38115cda79f63d62" args="" -->
|
|
170 |
<div class="memitem">
|
|
171 |
<div class="memproto">
|
|
172 |
<table class="memname">
|
|
173 |
<tr>
|
|
174 |
<td class="memname">#define MSG_LOCAL (1<<3) </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="canmsg_8h-source.html#l00119">119</a> of file <a class="el" href="canmsg_8h-source.html">canmsg.h</a>.
|
|
184 |
</div>
|
|
185 |
</div><p>
|
|
186 |
<a class="anchor" name="0fa902ccfba692bf3db9782496acc80b"></a><!-- doxytag: member="canmsg.h::MSG_LOCAL_MASK" ref="0fa902ccfba692bf3db9782496acc80b" args="" -->
|
|
187 |
<div class="memitem">
|
|
188 |
<div class="memproto">
|
|
189 |
<table class="memname">
|
|
190 |
<tr>
|
|
191 |
<td class="memname">#define MSG_LOCAL_MASK (MSG_LOCAL<<MSG_FILT_MASK_SHIFT) </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="canmsg_8h-source.html#l00126">126</a> of file <a class="el" href="canmsg_8h-source.html">canmsg.h</a>.
|
|
201 |
</div>
|
|
202 |
</div><p>
|
|
203 |
<a class="anchor" name="8a25d646d69812829a67d88e00245007"></a><!-- doxytag: member="canmsg.h::MSG_OVR" ref="8a25d646d69812829a67d88e00245007" args="" -->
|
|
204 |
<div class="memitem">
|
|
205 |
<div class="memproto">
|
|
206 |
<table class="memname">
|
|
207 |
<tr>
|
|
208 |
<td class="memname">#define MSG_OVR (1<<1) </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="canmsg_8h-source.html#l00117">117</a> of file <a class="el" href="canmsg_8h-source.html">canmsg.h</a>.
|
|
218 |
</div>
|
|
219 |
</div><p>
|
|
220 |
<a class="anchor" name="2b53a66520d29f4df4473fff575ad417"></a><!-- doxytag: member="canmsg.h::MSG_PROCESSLOCAL" ref="2b53a66520d29f4df4473fff575ad417" args="" -->
|
|
221 |
<div class="memitem">
|
|
222 |
<div class="memproto">
|
|
223 |
<table class="memname">
|
|
224 |
<tr>
|
|
225 |
<td class="memname">#define MSG_PROCESSLOCAL (MSG_OVR<<MSG_FILT_MASK_SHIFT) </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="canmsg_8h-source.html#l00127">127</a> of file <a class="el" href="canmsg_8h-source.html">canmsg.h</a>.
|
|
235 |
</div>
|
|
236 |
</div><p>
|
|
237 |
<a class="anchor" name="a17d9d21b15825ab928d225e6b317d26"></a><!-- doxytag: member="canmsg.h::MSG_RTR" ref="a17d9d21b15825ab928d225e6b317d26" args="" -->
|
|
238 |
<div class="memitem">
|
|
239 |
<div class="memproto">
|
|
240 |
<table class="memname">
|
|
241 |
<tr>
|
|
242 |
<td class="memname">#define MSG_RTR (1<<0) </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="canmsg_8h-source.html#l00116">116</a> of file <a class="el" href="canmsg_8h-source.html">canmsg.h</a>.
|
|
252 |
</div>
|
|
253 |
</div><p>
|
|
254 |
<a class="anchor" name="003ae3d402f58589544d93f02ae5e252"></a><!-- doxytag: member="canmsg.h::MSG_RTR_MASK" ref="003ae3d402f58589544d93f02ae5e252" args="" -->
|
|
255 |
<div class="memitem">
|
|
256 |
<div class="memproto">
|
|
257 |
<table class="memname">
|
|
258 |
<tr>
|
|
259 |
<td class="memname">#define MSG_RTR_MASK (MSG_RTR<<MSG_FILT_MASK_SHIFT) </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="canmsg_8h-source.html#l00124">124</a> of file <a class="el" href="canmsg_8h-source.html">canmsg.h</a>.
|
|
269 |
</div>
|
|
270 |
</div><p>
|
|
271 |
<hr><h2>Typedef Documentation</h2>
|
|
272 |
<a class="anchor" name="d37d8411be50cb86c62113a96b56e120"></a><!-- doxytag: member="canmsg.h::canfilt_t" ref="d37d8411be50cb86c62113a96b56e120" args="" -->
|
|
273 |
<div class="memitem">
|
|
274 |
<div class="memproto">
|
|
275 |
<table class="memname">
|
|
276 |
<tr>
|
|
277 |
<td class="memname">typedef struct <a class="el" href="structcanfilt__t.html">canfilt_t</a> <a class="el" href="structcanfilt__t.html">canfilt_t</a> </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="canmsg_8h-source.html#l00113">113</a> of file <a class="el" href="canmsg_8h-source.html">canmsg.h</a>.
|
|
287 |
</div>
|
|
288 |
</div><p>
|
|
289 |
<a class="anchor" name="4df2eff676652dbe67d372e42ccf8aa7"></a><!-- doxytag: member="canmsg.h::canmsg_id_t" ref="4df2eff676652dbe67d372e42ccf8aa7" args="" -->
|
|
290 |
<div class="memitem">
|
|
291 |
<div class="memproto">
|
|
292 |
<table class="memname">
|
|
293 |
<tr>
|
|
294 |
<td class="memname">typedef unsigned long <a class="el" href="canmsg_8h.html#4df2eff676652dbe67d372e42ccf8aa7">canmsg_id_t</a> </td>
|
|
295 |
</tr>
|
|
296 |
</table>
|
|
297 |
</div>
|
|
298 |
<div class="memdoc">
|
|
299 |
|
|
300 |
<p>
|
|
301 |
|
|
302 |
<p>
|
|
303 |
Definition at line <a class="el" href="canmsg_8h-source.html#l00042">42</a> of file <a class="el" href="canmsg_8h-source.html">canmsg.h</a>.
|
|
304 |
</div>
|
|
305 |
</div><p>
|
|
306 |
<a class="anchor" name="be94973a423090a2a9a1c15a9479a920"></a><!-- doxytag: member="canmsg.h::canmsg_t" ref="be94973a423090a2a9a1c15a9479a920" args="" -->
|
|
307 |
<div class="memitem">
|
|
308 |
<div class="memproto">
|
|
309 |
<table class="memname">
|
|
310 |
<tr>
|
|
311 |
<td class="memname">typedef struct <a class="el" href="structcanmsg__t.html">canmsg_t</a> <a class="el" href="structcanmsg__t.html">canmsg_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="canmsg_8h-source.html#l00083">83</a> of file <a class="el" href="canmsg_8h-source.html">canmsg.h</a>.
|
|
321 |
</div>
|
|
322 |
</div><p>
|
|
323 |
<a class="anchor" name="f5a9ea1b33e64787190dccc1ce5419a2"></a><!-- doxytag: member="canmsg.h::canmsg_tstamp_t" ref="f5a9ea1b33e64787190dccc1ce5419a2" args="" -->
|
|
324 |
<div class="memitem">
|
|
325 |
<div class="memproto">
|
|
326 |
<table class="memname">
|
|
327 |
<tr>
|
|
328 |
<td class="memname">typedef struct timeval <a class="el" href="canmsg_8h.html#f5a9ea1b33e64787190dccc1ce5419a2">canmsg_tstamp_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="canmsg_8h-source.html#l00040">40</a> of file <a class="el" href="canmsg_8h-source.html">canmsg.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>
|