doc/doxygen/html/lincan_8h.html
author greg
Fri, 06 Jul 2007 10:53:15 +0200
changeset 239 f45fd4cd3832
parent 215 f49e5a6b7804
child 240 34654679f262
permissions -rw-r--r--
add auto-mapping tool (config_utils)
fix little bugs
<!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_d58fb241e647de6212c31ecccf9cbace.html">drivers</a>&nbsp;&raquo&nbsp;<a class="el" href="dir_8cdda103ce035ff7e5ef31864566c615.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="258,56,354,80" 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="257,6,489,30" 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#edfec349e7eb84dc1e60924b7f262a0e">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#3b049542c0383cbce199aad5d240a2dc">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#df0a0b486c35c338028d6054e469d976">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#c50df3601f78c81c90f46fdf29ad926b">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#fda0151d8d8e5ffd9609890f4e35447b">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#b905e6aff2332984df0552c6b50203f2">CMD_START</a>&nbsp;&nbsp;&nbsp;_IOW(CAN_IOC_MAGIC, 1, <a class="el" href="lincan_8h.html#e6ce5c58553fdefeba893c2263f476d3">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#46dc7ae84992bfe62cc00731959a67f4">CMD_STOP</a>&nbsp;&nbsp;&nbsp;_IOW(CAN_IOC_MAGIC, 2, <a class="el" href="lincan_8h.html#e6ce5c58553fdefeba893c2263f476d3">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#f9438e3cb11f76f235f619f485820e97">CONF_BAUD</a>&nbsp;&nbsp;&nbsp;_IOW(CAN_IOC_MAGIC, 4, <a class="el" href="lincan_8h.html#a4668d3e5f141bf55821db4c528a9231">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#c50db35e4beea548c3e66447f25d30c6">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#47c1b9c9a7b4183ac4fd96dc5ca8e820">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#76a2a98cbf8a80fd83fb5c6d4df17340">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#4472b7dda19ee82821f9b7b8d063c79f">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#fb3bb74a3850e5eb2dbe5ae1c295f748">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#af40c0873e8b794d0e252751898fee43">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#a4668d3e5f141bf55821db4c528a9231">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#e6ce5c58553fdefeba893c2263f476d3">channel_t</a></td></tr>

</table>
<hr><h2>Define Documentation</h2>
<a class="anchor" name="df0a0b486c35c338028d6054e469d976"></a><!-- doxytag: member="lincan.h::CAN_DRV_QRY_BRANCH" ref="df0a0b486c35c338028d6054e469d976" 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="fda0151d8d8e5ffd9609890f4e35447b"></a><!-- doxytag: member="lincan.h::CAN_DRV_QRY_MSGFORMAT" ref="fda0151d8d8e5ffd9609890f4e35447b" 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="c50df3601f78c81c90f46fdf29ad926b"></a><!-- doxytag: member="lincan.h::CAN_DRV_QRY_VERSION" ref="c50df3601f78c81c90f46fdf29ad926b" 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="3b049542c0383cbce199aad5d240a2dc"></a><!-- doxytag: member="lincan.h::CAN_DRV_QUERY" ref="3b049542c0383cbce199aad5d240a2dc" 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="edfec349e7eb84dc1e60924b7f262a0e"></a><!-- doxytag: member="lincan.h::CAN_IOC_MAGIC" ref="edfec349e7eb84dc1e60924b7f262a0e" 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="76a2a98cbf8a80fd83fb5c6d4df17340"></a><!-- doxytag: member="lincan.h::CANQUE_FILTER" ref="76a2a98cbf8a80fd83fb5c6d4df17340" 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="4472b7dda19ee82821f9b7b8d063c79f"></a><!-- doxytag: member="lincan.h::CANQUE_FLUSH" ref="4472b7dda19ee82821f9b7b8d063c79f" 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="af40c0873e8b794d0e252751898fee43"></a><!-- doxytag: member="lincan.h::CANRTR_READ" ref="af40c0873e8b794d0e252751898fee43" 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="b905e6aff2332984df0552c6b50203f2"></a><!-- doxytag: member="lincan.h::CMD_START" ref="b905e6aff2332984df0552c6b50203f2" 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#e6ce5c58553fdefeba893c2263f476d3">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="46dc7ae84992bfe62cc00731959a67f4"></a><!-- doxytag: member="lincan.h::CMD_STOP" ref="46dc7ae84992bfe62cc00731959a67f4" 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#e6ce5c58553fdefeba893c2263f476d3">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="f9438e3cb11f76f235f619f485820e97"></a><!-- doxytag: member="lincan.h::CONF_BAUD" ref="f9438e3cb11f76f235f619f485820e97" 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#a4668d3e5f141bf55821db4c528a9231">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="fb3bb74a3850e5eb2dbe5ae1c295f748"></a><!-- doxytag: member="lincan.h::CONF_BAUDPARAMS" ref="fb3bb74a3850e5eb2dbe5ae1c295f748" 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="c50db35e4beea548c3e66447f25d30c6"></a><!-- doxytag: member="lincan.h::CONF_FILTER" ref="c50db35e4beea548c3e66447f25d30c6" 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="47c1b9c9a7b4183ac4fd96dc5ca8e820"></a><!-- doxytag: member="lincan.h::STAT" ref="47c1b9c9a7b4183ac4fd96dc5ca8e820" 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="a4668d3e5f141bf55821db4c528a9231"></a><!-- doxytag: member="lincan.h::bittiming_t" ref="a4668d3e5f141bf55821db4c528a9231" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef unsigned long <a class="el" href="lincan_8h.html#a4668d3e5f141bf55821db4c528a9231">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="e6ce5c58553fdefeba893c2263f476d3"></a><!-- doxytag: member="lincan.h::channel_t" ref="e6ce5c58553fdefeba893c2263f476d3" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef unsigned short <a class="el" href="lincan_8h.html#e6ce5c58553fdefeba893c2263f476d3">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 Fri Jun 8 08:51:40 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>