<!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: can_baudparams_t Struct 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 id="current"><a href="annotated.html"><span>Data Structures</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
</ul></div>
<div class="tabs">
<ul>
<li><a href="annotated.html"><span>Data Structures</span></a></li>
<li><a href="functions.html"><span>Data Fields</span></a></li>
</ul></div>
<h1>can_baudparams_t Struct Reference</h1><!-- doxytag: class="can_baudparams_t" --><code>#include <<a class="el" href="lincan_8h-source.html">lincan.h</a>></code>
<p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Data Fields</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">long </td><td class="memItemRight" valign="bottom"><a class="el" href="structcan__baudparams__t.html#6186d236aabd8604eb9d39f518b014fa">flags</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">long </td><td class="memItemRight" valign="bottom"><a class="el" href="structcan__baudparams__t.html#b9e5b5418206d02cc1ff852b6bc61d5e">baudrate</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">long </td><td class="memItemRight" valign="bottom"><a class="el" href="structcan__baudparams__t.html#a81e104a371b1efc2cc08031afac924c">sjw</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">long </td><td class="memItemRight" valign="bottom"><a class="el" href="structcan__baudparams__t.html#b5d2e0ccd2e1f474d9e9d08d3d7fa9ed">sample_pt</a></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
struct <a class="el" href="structcan__baudparams__t.html">can_baudparams_t</a> - datatype for calling CONF_BAUDPARAMS IOCTL : reserved for additional flags for chip configuration, should be written -1 or 0 : baud rate in Hz : synchronization jump width (0-3) prescaled clock cycles : sample point in % (0-100) sets (TSEG1+1)/(TSEG1+TSEG2+2) ratio<p>
The structure is used to configure new set of parameters into CAN controller chip. If default value of some field should be preserved, fill field by value -1.
<p>
<p>
Definition at line <a class="el" href="lincan_8h-source.html#l00049">49</a> of file <a class="el" href="lincan_8h-source.html">lincan.h</a>.<hr><h2>Field Documentation</h2>
<a class="anchor" name="6186d236aabd8604eb9d39f518b014fa"></a><!-- doxytag: member="can_baudparams_t::flags" ref="6186d236aabd8604eb9d39f518b014fa" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">long <a class="el" href="structcan__baudparams__t.html#6186d236aabd8604eb9d39f518b014fa">can_baudparams_t::flags</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<p>
Definition at line <a class="el" href="lincan_8h-source.html#l00050">50</a> of file <a class="el" href="lincan_8h-source.html">lincan.h</a>.
</div>
</div><p>
<a class="anchor" name="b9e5b5418206d02cc1ff852b6bc61d5e"></a><!-- doxytag: member="can_baudparams_t::baudrate" ref="b9e5b5418206d02cc1ff852b6bc61d5e" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">long <a class="el" href="structcan__baudparams__t.html#b9e5b5418206d02cc1ff852b6bc61d5e">can_baudparams_t::baudrate</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<p>
Definition at line <a class="el" href="lincan_8h-source.html#l00051">51</a> of file <a class="el" href="lincan_8h-source.html">lincan.h</a>.
</div>
</div><p>
<a class="anchor" name="a81e104a371b1efc2cc08031afac924c"></a><!-- doxytag: member="can_baudparams_t::sjw" ref="a81e104a371b1efc2cc08031afac924c" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">long <a class="el" href="structcan__baudparams__t.html#a81e104a371b1efc2cc08031afac924c">can_baudparams_t::sjw</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<p>
Definition at line <a class="el" href="lincan_8h-source.html#l00052">52</a> of file <a class="el" href="lincan_8h-source.html">lincan.h</a>.
</div>
</div><p>
<a class="anchor" name="b5d2e0ccd2e1f474d9e9d08d3d7fa9ed"></a><!-- doxytag: member="can_baudparams_t::sample_pt" ref="b5d2e0ccd2e1f474d9e9d08d3d7fa9ed" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">long <a class="el" href="structcan__baudparams__t.html#b5d2e0ccd2e1f474d9e9d08d3d7fa9ed">can_baudparams_t::sample_pt</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<p>
Definition at line <a class="el" href="lincan_8h-source.html#l00053">53</a> of file <a class="el" href="lincan_8h-source.html">lincan.h</a>.
</div>
</div><p>
<hr>The documentation for this struct was generated from the following file:<ul>
<li>/home/epimerde/documents/tc11/CanFestival-3/drivers/can_lincan/<a class="el" href="lincan_8h-source.html">lincan.h</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Mon Jun 4 16:29:08 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>