<!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: /home/epimerde/documents/tc11/CanFestival-3/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 Page</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</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>
</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>
<h1>/home/epimerde/documents/tc11/CanFestival-3/drivers/can_lincan/lincan.h File Reference</h1><code>#include <sys/time.h></code><br>
<code>#include <sys/types.h></code><br>
<code>#include <sys/ioctl.h></code><br>
<code>#include "<a class="el" href="canmsg_8h-source.html">./canmsg.h</a>"</code><br>
<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 </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 </td><td class="memItemRight" valign="bottom"><a class="el" href="lincan_8h.html#edfec349e7eb84dc1e60924b7f262a0e">CAN_IOC_MAGIC</a> 'd'</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="lincan_8h.html#3b049542c0383cbce199aad5d240a2dc">CAN_DRV_QUERY</a> _IO(CAN_IOC_MAGIC, 0)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="lincan_8h.html#df0a0b486c35c338028d6054e469d976">CAN_DRV_QRY_BRANCH</a> 0</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="lincan_8h.html#c50df3601f78c81c90f46fdf29ad926b">CAN_DRV_QRY_VERSION</a> 1</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="lincan_8h.html#fda0151d8d8e5ffd9609890f4e35447b">CAN_DRV_QRY_MSGFORMAT</a> 2</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="lincan_8h.html#b905e6aff2332984df0552c6b50203f2">CMD_START</a> _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 </td><td class="memItemRight" valign="bottom"><a class="el" href="lincan_8h.html#46dc7ae84992bfe62cc00731959a67f4">CMD_STOP</a> _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 </td><td class="memItemRight" valign="bottom"><a class="el" href="lincan_8h.html#f9438e3cb11f76f235f619f485820e97">CONF_BAUD</a> _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 </td><td class="memItemRight" valign="bottom"><a class="el" href="lincan_8h.html#c50db35e4beea548c3e66447f25d30c6">CONF_FILTER</a> _IOW(CAN_IOC_MAGIC, 8, unsigned char)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="lincan_8h.html#47c1b9c9a7b4183ac4fd96dc5ca8e820">STAT</a> _IO(CAN_IOC_MAGIC, 9)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="lincan_8h.html#76a2a98cbf8a80fd83fb5c6d4df17340">CANQUE_FILTER</a> _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 </td><td class="memItemRight" valign="bottom"><a class="el" href="lincan_8h.html#4472b7dda19ee82821f9b7b8d063c79f">CANQUE_FLUSH</a> _IO(CAN_IOC_MAGIC, 11)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="lincan_8h.html#fb3bb74a3850e5eb2dbe5ae1c295f748">CONF_BAUDPARAMS</a> _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 </td><td class="memItemRight" valign="bottom"><a class="el" href="lincan_8h.html#af40c0873e8b794d0e252751898fee43">CANRTR_READ</a> _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 </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 </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 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 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 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 _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 '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 _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 _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 _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 _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 _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 _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 _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 _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 _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 Mon Jun 4 16:29:07 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>