doc/doxygen/html/lincan_8h.html
author etisserant
Sun, 30 Sep 2007 22:34:10 +0200
changeset 290 43c3b2bf3e32
parent 240 34654679f262
permissions -rw-r--r--
Added debug message printing. Added socket option : CAN_RAW_LOOPBACK=1 and CAN_RAW_RECV_OWN_MSGS=0.
<!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/lincan.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&nbsp;Page</span></a></li>
    <li><a href="annotated.html"><span>Data&nbsp;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&nbsp;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>&nbsp;&raquo&nbsp;<a class="el" href="dir_daf7036eef6d5824a8b65c083e166f12.html">can_lincan</a></div>
<h1>lincan.h File Reference</h1><code>#include &lt;sys/time.h&gt;</code><br>
<code>#include &lt;sys/types.h&gt;</code><br>
<code>#include &lt;sys/ioctl.h&gt;</code><br>
<code>#include &quot;<a class="el" href="canmsg_8h-source.html">./canmsg.h</a>&quot;</code><br>

<p>
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>
<map name="drivers/can_lincan/lincan.h_map">
<area href="canmsg_8h.html" shape="rect" coords="223,31,300,57" alt="">
</map>

<p>
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>
<map name="drivers/can_lincan/lincan.hdep_map">
<area href="can__lincan_8c.html" shape="rect" coords="223,5,412,32" alt="">
</map>

<p>
<a href="lincan_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 &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcan__baudparams__t.html">can_baudparams_t</a></td></tr>

<tr><td colspan="2"><br><h2>Defines</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="lincan_8h.html#3fed1f1de80f7782903a336ea0c4ac15">CAN_IOC_MAGIC</a>&nbsp;&nbsp;&nbsp;'d'</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="lincan_8h.html#f46f5bb558603e14bd82b1c21806373a">CAN_DRV_QUERY</a>&nbsp;&nbsp;&nbsp;_IO(CAN_IOC_MAGIC, 0)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="lincan_8h.html#915236ced66cf74ddc9469659176fbdc">CAN_DRV_QRY_BRANCH</a>&nbsp;&nbsp;&nbsp;0</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="lincan_8h.html#6d2e15bd84811e5d28691e149854b093">CAN_DRV_QRY_VERSION</a>&nbsp;&nbsp;&nbsp;1</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="lincan_8h.html#b4622051bed0cc55a23e541f771c0cda">CAN_DRV_QRY_MSGFORMAT</a>&nbsp;&nbsp;&nbsp;2</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="lincan_8h.html#cf4a3256fed957baeda35e83fb385efd">CMD_START</a>&nbsp;&nbsp;&nbsp;_IOW(CAN_IOC_MAGIC, 1, <a class="el" href="lincan_8h.html#1b66950737246f472aeb61324d54f2af">channel_t</a>)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="lincan_8h.html#c0fcbd216490e0566f46dffffc1aa7ba">CMD_STOP</a>&nbsp;&nbsp;&nbsp;_IOW(CAN_IOC_MAGIC, 2, <a class="el" href="lincan_8h.html#1b66950737246f472aeb61324d54f2af">channel_t</a>)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="lincan_8h.html#08b6b14516c690d57825c1a620cc3c47">CONF_BAUD</a>&nbsp;&nbsp;&nbsp;_IOW(CAN_IOC_MAGIC, 4, <a class="el" href="lincan_8h.html#95ca9694cf55ba2b9c5cac34c5f823fd">bittiming_t</a>)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="lincan_8h.html#cdf45e20e3c088762e82844b21630547">CONF_FILTER</a>&nbsp;&nbsp;&nbsp;_IOW(CAN_IOC_MAGIC, 8, unsigned char)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="lincan_8h.html#377940ced46c65e01361c28929196726">STAT</a>&nbsp;&nbsp;&nbsp;_IO(CAN_IOC_MAGIC, 9)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="lincan_8h.html#51c1d13caec3912207c797cba4af1853">CANQUE_FILTER</a>&nbsp;&nbsp;&nbsp;_IOW(CAN_IOC_MAGIC, 10, struct <a class="el" href="structcanfilt__t.html">canfilt_t</a>)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="lincan_8h.html#38cb66c5a570c41a29a201eb4f33bd6d">CANQUE_FLUSH</a>&nbsp;&nbsp;&nbsp;_IO(CAN_IOC_MAGIC, 11)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="lincan_8h.html#af8106f38e412e2f78e028e12db0421b">CONF_BAUDPARAMS</a>&nbsp;&nbsp;&nbsp;_IOW(CAN_IOC_MAGIC, 11, struct <a class="el" href="structcan__baudparams__t.html">can_baudparams_t</a>)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="lincan_8h.html#5345d8a283046886c2a8033ce6d38433">CANRTR_READ</a>&nbsp;&nbsp;&nbsp;_IOWR(CAN_IOC_MAGIC, 12, struct <a class="el" href="structcanmsg__t.html">canmsg_t</a>)</td></tr>

<tr><td colspan="2"><br><h2>Typedefs</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef unsigned long&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="lincan_8h.html#95ca9694cf55ba2b9c5cac34c5f823fd">bittiming_t</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef unsigned short&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="lincan_8h.html#1b66950737246f472aeb61324d54f2af">channel_t</a></td></tr>

</table>
<hr><h2>Define Documentation</h2>
<a class="anchor" name="915236ced66cf74ddc9469659176fbdc"></a><!-- doxytag: member="lincan.h::CAN_DRV_QRY_BRANCH" ref="915236ced66cf74ddc9469659176fbdc" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CAN_DRV_QRY_BRANCH&nbsp;&nbsp;&nbsp;0          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
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>.
</div>
</div><p>
<a class="anchor" name="b4622051bed0cc55a23e541f771c0cda"></a><!-- doxytag: member="lincan.h::CAN_DRV_QRY_MSGFORMAT" ref="b4622051bed0cc55a23e541f771c0cda" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CAN_DRV_QRY_MSGFORMAT&nbsp;&nbsp;&nbsp;2          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
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>.
</div>
</div><p>
<a class="anchor" name="6d2e15bd84811e5d28691e149854b093"></a><!-- doxytag: member="lincan.h::CAN_DRV_QRY_VERSION" ref="6d2e15bd84811e5d28691e149854b093" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CAN_DRV_QRY_VERSION&nbsp;&nbsp;&nbsp;1          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
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>.
</div>
</div><p>
<a class="anchor" name="f46f5bb558603e14bd82b1c21806373a"></a><!-- doxytag: member="lincan.h::CAN_DRV_QUERY" ref="f46f5bb558603e14bd82b1c21806373a" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CAN_DRV_QUERY&nbsp;&nbsp;&nbsp;_IO(CAN_IOC_MAGIC, 0)          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
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>.
</div>
</div><p>
<a class="anchor" name="3fed1f1de80f7782903a336ea0c4ac15"></a><!-- doxytag: member="lincan.h::CAN_IOC_MAGIC" ref="3fed1f1de80f7782903a336ea0c4ac15" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CAN_IOC_MAGIC&nbsp;&nbsp;&nbsp;'d'          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
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>.
</div>
</div><p>
<a class="anchor" name="51c1d13caec3912207c797cba4af1853"></a><!-- doxytag: member="lincan.h::CANQUE_FILTER" ref="51c1d13caec3912207c797cba4af1853" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CANQUE_FILTER&nbsp;&nbsp;&nbsp;_IOW(CAN_IOC_MAGIC, 10, struct <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="lincan_8h-source.html#l00077">77</a> of file <a class="el" href="lincan_8h-source.html">lincan.h</a>.
</div>
</div><p>
<a class="anchor" name="38cb66c5a570c41a29a201eb4f33bd6d"></a><!-- doxytag: member="lincan.h::CANQUE_FLUSH" ref="38cb66c5a570c41a29a201eb4f33bd6d" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CANQUE_FLUSH&nbsp;&nbsp;&nbsp;_IO(CAN_IOC_MAGIC, 11)          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
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>.
</div>
</div><p>
<a class="anchor" name="5345d8a283046886c2a8033ce6d38433"></a><!-- doxytag: member="lincan.h::CANRTR_READ" ref="5345d8a283046886c2a8033ce6d38433" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CANRTR_READ&nbsp;&nbsp;&nbsp;_IOWR(CAN_IOC_MAGIC, 12, struct <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="lincan_8h-source.html#l00080">80</a> of file <a class="el" href="lincan_8h-source.html">lincan.h</a>.
</div>
</div><p>
<a class="anchor" name="cf4a3256fed957baeda35e83fb385efd"></a><!-- doxytag: member="lincan.h::CMD_START" ref="cf4a3256fed957baeda35e83fb385efd" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CMD_START&nbsp;&nbsp;&nbsp;_IOW(CAN_IOC_MAGIC, 1, <a class="el" href="lincan_8h.html#1b66950737246f472aeb61324d54f2af">channel_t</a>)          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
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>.
</div>
</div><p>
<a class="anchor" name="c0fcbd216490e0566f46dffffc1aa7ba"></a><!-- doxytag: member="lincan.h::CMD_STOP" ref="c0fcbd216490e0566f46dffffc1aa7ba" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CMD_STOP&nbsp;&nbsp;&nbsp;_IOW(CAN_IOC_MAGIC, 2, <a class="el" href="lincan_8h.html#1b66950737246f472aeb61324d54f2af">channel_t</a>)          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
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>.
</div>
</div><p>
<a class="anchor" name="08b6b14516c690d57825c1a620cc3c47"></a><!-- doxytag: member="lincan.h::CONF_BAUD" ref="08b6b14516c690d57825c1a620cc3c47" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CONF_BAUD&nbsp;&nbsp;&nbsp;_IOW(CAN_IOC_MAGIC, 4, <a class="el" href="lincan_8h.html#95ca9694cf55ba2b9c5cac34c5f823fd">bittiming_t</a>)          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
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>.
</div>
</div><p>
<a class="anchor" name="af8106f38e412e2f78e028e12db0421b"></a><!-- doxytag: member="lincan.h::CONF_BAUDPARAMS" ref="af8106f38e412e2f78e028e12db0421b" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CONF_BAUDPARAMS&nbsp;&nbsp;&nbsp;_IOW(CAN_IOC_MAGIC, 11, struct <a class="el" href="structcan__baudparams__t.html">can_baudparams_t</a>)          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
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>.
</div>
</div><p>
<a class="anchor" name="cdf45e20e3c088762e82844b21630547"></a><!-- doxytag: member="lincan.h::CONF_FILTER" ref="cdf45e20e3c088762e82844b21630547" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CONF_FILTER&nbsp;&nbsp;&nbsp;_IOW(CAN_IOC_MAGIC, 8, unsigned char)          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
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>.
</div>
</div><p>
<a class="anchor" name="377940ced46c65e01361c28929196726"></a><!-- doxytag: member="lincan.h::STAT" ref="377940ced46c65e01361c28929196726" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define STAT&nbsp;&nbsp;&nbsp;_IO(CAN_IOC_MAGIC, 9)          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
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>.
</div>
</div><p>
<hr><h2>Typedef Documentation</h2>
<a class="anchor" name="95ca9694cf55ba2b9c5cac34c5f823fd"></a><!-- doxytag: member="lincan.h::bittiming_t" ref="95ca9694cf55ba2b9c5cac34c5f823fd" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef unsigned long <a class="el" href="lincan_8h.html#95ca9694cf55ba2b9c5cac34c5f823fd">bittiming_t</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
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>.
</div>
</div><p>
<a class="anchor" name="1b66950737246f472aeb61324d54f2af"></a><!-- doxytag: member="lincan.h::channel_t" ref="1b66950737246f472aeb61324d54f2af" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef unsigned short <a class="el" href="lincan_8h.html#1b66950737246f472aeb61324d54f2af">channel_t</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
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>.
</div>
</div><p>
<hr size="1"><address style="align: right;"><small>Generated on Mon Jul 2 19:10:17 2007 for CanFestival by&nbsp;
<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>