<!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_65dd258ff9b9ef4cd7bd0d22f5e58dba.html">drivers</a> » <a class="el" href="dir_daf7036eef6d5824a8b65c083e166f12.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="447,5,636,32" alt="">
<area href="lincan_8h.html" shape="rect" coords="231,31,396,57" 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#f59a61704286d77e3e2bcf8829124d11">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#98c7d1a1ebb869457233a70e44d7aeca">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#c6b14508549c3561cdf166125bdfde89">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#d55c25a32308fc3fa56e66a6a3325437">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#128f615ef49f3a1543e537de31c01c66">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#bee70d27877dd98917861854b815bbcf">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#c7700ece07c4432535d9c2f0bd80bb68">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#80417f42cd6475062fe663afdd68e3aa">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#528fe3daafae45b9c88c48631f2ecc72">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#812955c1243682049d28c2f1dccf316a">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#04ffeb2a735d56a5aba55991b32e984a">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#0f1f59219b1d9926cb0c22100ac71198">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#56f6c5a8501ff3e652523290ded8b22f">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#c6a169575bc0ced6a486d47f8f2ad0ff">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#3cc23b6eee482ace38dd28a3b76f1647">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#ae251c330fbe1de3f3da3a949414d5cb">canfilt_t</a></td></tr>
</table>
<hr><h2>Define Documentation</h2>
<a class="anchor" name="98c7d1a1ebb869457233a70e44d7aeca"></a><!-- doxytag: member="canmsg.h::CAN_MSG_LENGTH" ref="98c7d1a1ebb869457233a70e44d7aeca" 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="f59a61704286d77e3e2bcf8829124d11"></a><!-- doxytag: member="canmsg.h::CAN_MSG_VERSION_2" ref="f59a61704286d77e3e2bcf8829124d11" 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="128f615ef49f3a1543e537de31c01c66"></a><!-- doxytag: member="canmsg.h::MSG_EXT" ref="128f615ef49f3a1543e537de31c01c66" 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="528fe3daafae45b9c88c48631f2ecc72"></a><!-- doxytag: member="canmsg.h::MSG_EXT_MASK" ref="528fe3daafae45b9c88c48631f2ecc72" 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="c7700ece07c4432535d9c2f0bd80bb68"></a><!-- doxytag: member="canmsg.h::MSG_FILT_MASK_SHIFT" ref="c7700ece07c4432535d9c2f0bd80bb68" 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="0f1f59219b1d9926cb0c22100ac71198"></a><!-- doxytag: member="canmsg.h::MSG_ID_MASK" ref="0f1f59219b1d9926cb0c22100ac71198" 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="bee70d27877dd98917861854b815bbcf"></a><!-- doxytag: member="canmsg.h::MSG_LOCAL" ref="bee70d27877dd98917861854b815bbcf" 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="812955c1243682049d28c2f1dccf316a"></a><!-- doxytag: member="canmsg.h::MSG_LOCAL_MASK" ref="812955c1243682049d28c2f1dccf316a" 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="d55c25a32308fc3fa56e66a6a3325437"></a><!-- doxytag: member="canmsg.h::MSG_OVR" ref="d55c25a32308fc3fa56e66a6a3325437" 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="04ffeb2a735d56a5aba55991b32e984a"></a><!-- doxytag: member="canmsg.h::MSG_PROCESSLOCAL" ref="04ffeb2a735d56a5aba55991b32e984a" 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="c6b14508549c3561cdf166125bdfde89"></a><!-- doxytag: member="canmsg.h::MSG_RTR" ref="c6b14508549c3561cdf166125bdfde89" 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="80417f42cd6475062fe663afdd68e3aa"></a><!-- doxytag: member="canmsg.h::MSG_RTR_MASK" ref="80417f42cd6475062fe663afdd68e3aa" 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="ae251c330fbe1de3f3da3a949414d5cb"></a><!-- doxytag: member="canmsg.h::canfilt_t" ref="ae251c330fbe1de3f3da3a949414d5cb" 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="c6a169575bc0ced6a486d47f8f2ad0ff"></a><!-- doxytag: member="canmsg.h::canmsg_id_t" ref="c6a169575bc0ced6a486d47f8f2ad0ff" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef unsigned long <a class="el" href="canmsg_8h.html#c6a169575bc0ced6a486d47f8f2ad0ff">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="3cc23b6eee482ace38dd28a3b76f1647"></a><!-- doxytag: member="canmsg.h::canmsg_t" ref="3cc23b6eee482ace38dd28a3b76f1647" 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="56f6c5a8501ff3e652523290ded8b22f"></a><!-- doxytag: member="canmsg.h::canmsg_tstamp_t" ref="56f6c5a8501ff3e652523290ded8b22f" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef struct timeval <a class="el" href="canmsg_8h.html#56f6c5a8501ff3e652523290ded8b22f">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 Mon Jul 2 19:10:17 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>