<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>CanFestival: drivers/can_lincan/canmsg.h File Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.1 -->
<div class="tabs">
<ul>
<li><a href="main.html"><span>Main Page</span></a></li>
<li><a href="annotated.html"><span>Data Structures</span></a></li>
<li id="current"><a href="files.html"><span>Files</span></a></li>
<li><a href="dirs.html"><span>Directories</span></a></li>
</ul></div>
<div class="tabs">
<ul>
<li><a href="files.html"><span>File List</span></a></li>
<li><a href="globals.html"><span>Globals</span></a></li>
</ul></div>
<div class="nav">
<a class="el" href="dir_d58fb241e647de6212c31ecccf9cbace.html">drivers</a> » <a class="el" href="dir_8cdda103ce035ff7e5ef31864566c615.html">can_lincan</a></div>
<h1>canmsg.h File Reference</h1><code>#include <sys/time.h></code><br>
<code>#include <sys/types.h></code><br>
<p>
Include dependency graph for canmsg.h:<p><center><img src="canmsg_8h__incl.png" border="0" usemap="#drivers/can_lincan/canmsg.h_map" alt=""></center>
<p>
This graph shows which files directly or indirectly include this file:<p><center><img src="canmsg_8h__dep__incl.png" border="0" usemap="#drivers/can_lincan/canmsg.hdep_map" alt=""></center>
<map name="drivers/can_lincan/canmsg.hdep_map">
<area href="can__lincan_8c.html" shape="rect" coords="521,32,753,56" alt="">
<area href="lincan_8h.html" shape="rect" coords="269,56,472,80" alt="">
</map>
<p>
<a href="canmsg_8h-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Data Structures</h2></td></tr>
<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>
<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>
<tr><td colspan="2"><br><h2>Defines</h2></td></tr>
<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>
<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>
<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>
<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>
<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>
<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>
<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>
<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>
<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>
<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>
<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>
<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>
<tr><td colspan="2"><br><h2>Typedefs</h2></td></tr>
<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>
<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>
<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>
<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>
</table>
<hr><h2>Define Documentation</h2>
<a class="anchor" name="eb09c576cda35f0ce23882b092679131"></a><!-- doxytag: member="canmsg.h::CAN_MSG_LENGTH" ref="eb09c576cda35f0ce23882b092679131" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define CAN_MSG_LENGTH 8 </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<p>
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>.
</div>
</div><p>
<a class="anchor" name="6e08f25b3a7951a82cc337505fc3c27a"></a><!-- doxytag: member="canmsg.h::CAN_MSG_VERSION_2" ref="6e08f25b3a7951a82cc337505fc3c27a" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define CAN_MSG_VERSION_2 </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<p>
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>.
</div>
</div><p>
<a class="anchor" name="973182db693bc55d98fafe82ad62f68c"></a><!-- doxytag: member="canmsg.h::MSG_EXT" ref="973182db693bc55d98fafe82ad62f68c" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define MSG_EXT (1<<2) </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<p>
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>.
<p>
Referenced by <a class="el" href="can__lincan_8c-source.html#l00034">canReceive_driver()</a>, and <a class="el" href="can__lincan_8c-source.html#l00066">canSend_driver()</a>.
</div>
</div><p>
<a class="anchor" name="4796f51e6847235d7fcb74b35a023f9f"></a><!-- doxytag: member="canmsg.h::MSG_EXT_MASK" ref="4796f51e6847235d7fcb74b35a023f9f" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define MSG_EXT_MASK (MSG_EXT<<MSG_FILT_MASK_SHIFT) </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<p>
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>.
</div>
</div><p>
<a class="anchor" name="664009574504682c47743d2a3690afa7"></a><!-- doxytag: member="canmsg.h::MSG_FILT_MASK_SHIFT" ref="664009574504682c47743d2a3690afa7" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define MSG_FILT_MASK_SHIFT 8 </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<p>
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>.
</div>
</div><p>
<a class="anchor" name="9a9e40fdca7c76479284ba350e3c8506"></a><!-- doxytag: member="canmsg.h::MSG_ID_MASK" ref="9a9e40fdca7c76479284ba350e3c8506" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define MSG_ID_MASK ((1l<<29)-1) </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<p>
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>.
</div>
</div><p>
<a class="anchor" name="8371666c6983526f38115cda79f63d62"></a><!-- doxytag: member="canmsg.h::MSG_LOCAL" ref="8371666c6983526f38115cda79f63d62" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define MSG_LOCAL (1<<3) </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<p>
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>.
</div>
</div><p>
<a class="anchor" name="0fa902ccfba692bf3db9782496acc80b"></a><!-- doxytag: member="canmsg.h::MSG_LOCAL_MASK" ref="0fa902ccfba692bf3db9782496acc80b" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define MSG_LOCAL_MASK (MSG_LOCAL<<MSG_FILT_MASK_SHIFT) </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<p>
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>.
</div>
</div><p>
<a class="anchor" name="8a25d646d69812829a67d88e00245007"></a><!-- doxytag: member="canmsg.h::MSG_OVR" ref="8a25d646d69812829a67d88e00245007" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define MSG_OVR (1<<1) </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<p>
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>.
</div>
</div><p>
<a class="anchor" name="2b53a66520d29f4df4473fff575ad417"></a><!-- doxytag: member="canmsg.h::MSG_PROCESSLOCAL" ref="2b53a66520d29f4df4473fff575ad417" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define MSG_PROCESSLOCAL (MSG_OVR<<MSG_FILT_MASK_SHIFT) </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<p>
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>.
</div>
</div><p>
<a class="anchor" name="a17d9d21b15825ab928d225e6b317d26"></a><!-- doxytag: member="canmsg.h::MSG_RTR" ref="a17d9d21b15825ab928d225e6b317d26" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define MSG_RTR (1<<0) </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<p>
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>.
<p>
Referenced by <a class="el" href="can__lincan_8c-source.html#l00034">canReceive_driver()</a>, and <a class="el" href="can__lincan_8c-source.html#l00066">canSend_driver()</a>.
</div>
</div><p>
<a class="anchor" name="003ae3d402f58589544d93f02ae5e252"></a><!-- doxytag: member="canmsg.h::MSG_RTR_MASK" ref="003ae3d402f58589544d93f02ae5e252" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define MSG_RTR_MASK (MSG_RTR<<MSG_FILT_MASK_SHIFT) </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<p>
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>.
</div>
</div><p>
<hr><h2>Typedef Documentation</h2>
<a class="anchor" name="d37d8411be50cb86c62113a96b56e120"></a><!-- doxytag: member="canmsg.h::canfilt_t" ref="d37d8411be50cb86c62113a96b56e120" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<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>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<p>
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>.
</div>
</div><p>
<a class="anchor" name="4df2eff676652dbe67d372e42ccf8aa7"></a><!-- doxytag: member="canmsg.h::canmsg_id_t" ref="4df2eff676652dbe67d372e42ccf8aa7" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef unsigned long <a class="el" href="canmsg_8h.html#4df2eff676652dbe67d372e42ccf8aa7">canmsg_id_t</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<p>
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>.
</div>
</div><p>
<a class="anchor" name="be94973a423090a2a9a1c15a9479a920"></a><!-- doxytag: member="canmsg.h::canmsg_t" ref="be94973a423090a2a9a1c15a9479a920" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<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>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<p>
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>.
</div>
</div><p>
<a class="anchor" name="f5a9ea1b33e64787190dccc1ce5419a2"></a><!-- doxytag: member="canmsg.h::canmsg_tstamp_t" ref="f5a9ea1b33e64787190dccc1ce5419a2" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef struct timeval <a class="el" href="canmsg_8h.html#f5a9ea1b33e64787190dccc1ce5419a2">canmsg_tstamp_t</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<p>
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>.
</div>
</div><p>
<hr size="1"><address style="align: right;"><small>Generated on Fri Jun 8 08:51:39 2007 for CanFestival by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address>
</body>
</html>