215
|
1 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
2 |
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
|
|
3 |
<title>CanFestival: can_baudparams_t Struct Reference</title>
|
|
4 |
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
|
5 |
<link href="tabs.css" rel="stylesheet" type="text/css">
|
|
6 |
</head><body>
|
|
7 |
<!-- Generated by Doxygen 1.5.1 -->
|
|
8 |
<div class="tabs">
|
|
9 |
<ul>
|
|
10 |
<li><a href="main.html"><span>Main Page</span></a></li>
|
|
11 |
<li id="current"><a href="annotated.html"><span>Data Structures</span></a></li>
|
|
12 |
<li><a href="files.html"><span>Files</span></a></li>
|
|
13 |
<li><a href="dirs.html"><span>Directories</span></a></li>
|
|
14 |
</ul></div>
|
|
15 |
<div class="tabs">
|
|
16 |
<ul>
|
|
17 |
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
|
18 |
<li><a href="functions.html"><span>Data Fields</span></a></li>
|
|
19 |
</ul></div>
|
|
20 |
<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>
|
|
21 |
<p>
|
|
22 |
<table border="0" cellpadding="0" cellspacing="0">
|
|
23 |
<tr><td></td></tr>
|
|
24 |
<tr><td colspan="2"><br><h2>Data Fields</h2></td></tr>
|
240
|
25 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">long </td><td class="memItemRight" valign="bottom"><a class="el" href="structcan__baudparams__t.html#9df7872cba81f953caf974fd8f1175d5">flags</a></td></tr>
|
215
|
26 |
|
240
|
27 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">long </td><td class="memItemRight" valign="bottom"><a class="el" href="structcan__baudparams__t.html#efc2282bdf0074879313723afbc6cbb2">baudrate</a></td></tr>
|
215
|
28 |
|
240
|
29 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">long </td><td class="memItemRight" valign="bottom"><a class="el" href="structcan__baudparams__t.html#3d7a965f711e361c0acf66c7b7a1e3e3">sjw</a></td></tr>
|
215
|
30 |
|
240
|
31 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">long </td><td class="memItemRight" valign="bottom"><a class="el" href="structcan__baudparams__t.html#79f0add3bed6c2d19cb6b08aa1fe2a6a">sample_pt</a></td></tr>
|
215
|
32 |
|
|
33 |
</table>
|
|
34 |
<hr><a name="_details"></a><h2>Detailed Description</h2>
|
|
35 |
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>
|
|
36 |
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.
|
|
37 |
<p>
|
|
38 |
|
|
39 |
<p>
|
|
40 |
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>
|
240
|
41 |
<a class="anchor" name="9df7872cba81f953caf974fd8f1175d5"></a><!-- doxytag: member="can_baudparams_t::flags" ref="9df7872cba81f953caf974fd8f1175d5" args="" -->
|
215
|
42 |
<div class="memitem">
|
|
43 |
<div class="memproto">
|
|
44 |
<table class="memname">
|
|
45 |
<tr>
|
240
|
46 |
<td class="memname">long <a class="el" href="structcan__baudparams__t.html#9df7872cba81f953caf974fd8f1175d5">can_baudparams_t::flags</a> </td>
|
215
|
47 |
</tr>
|
|
48 |
</table>
|
|
49 |
</div>
|
|
50 |
<div class="memdoc">
|
|
51 |
|
|
52 |
<p>
|
|
53 |
|
|
54 |
<p>
|
|
55 |
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>.
|
|
56 |
</div>
|
|
57 |
</div><p>
|
240
|
58 |
<a class="anchor" name="efc2282bdf0074879313723afbc6cbb2"></a><!-- doxytag: member="can_baudparams_t::baudrate" ref="efc2282bdf0074879313723afbc6cbb2" args="" -->
|
215
|
59 |
<div class="memitem">
|
|
60 |
<div class="memproto">
|
|
61 |
<table class="memname">
|
|
62 |
<tr>
|
240
|
63 |
<td class="memname">long <a class="el" href="structcan__baudparams__t.html#efc2282bdf0074879313723afbc6cbb2">can_baudparams_t::baudrate</a> </td>
|
215
|
64 |
</tr>
|
|
65 |
</table>
|
|
66 |
</div>
|
|
67 |
<div class="memdoc">
|
|
68 |
|
|
69 |
<p>
|
|
70 |
|
|
71 |
<p>
|
|
72 |
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>.
|
|
73 |
</div>
|
|
74 |
</div><p>
|
240
|
75 |
<a class="anchor" name="3d7a965f711e361c0acf66c7b7a1e3e3"></a><!-- doxytag: member="can_baudparams_t::sjw" ref="3d7a965f711e361c0acf66c7b7a1e3e3" args="" -->
|
215
|
76 |
<div class="memitem">
|
|
77 |
<div class="memproto">
|
|
78 |
<table class="memname">
|
|
79 |
<tr>
|
240
|
80 |
<td class="memname">long <a class="el" href="structcan__baudparams__t.html#3d7a965f711e361c0acf66c7b7a1e3e3">can_baudparams_t::sjw</a> </td>
|
215
|
81 |
</tr>
|
|
82 |
</table>
|
|
83 |
</div>
|
|
84 |
<div class="memdoc">
|
|
85 |
|
|
86 |
<p>
|
|
87 |
|
|
88 |
<p>
|
|
89 |
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>.
|
|
90 |
</div>
|
|
91 |
</div><p>
|
240
|
92 |
<a class="anchor" name="79f0add3bed6c2d19cb6b08aa1fe2a6a"></a><!-- doxytag: member="can_baudparams_t::sample_pt" ref="79f0add3bed6c2d19cb6b08aa1fe2a6a" args="" -->
|
215
|
93 |
<div class="memitem">
|
|
94 |
<div class="memproto">
|
|
95 |
<table class="memname">
|
|
96 |
<tr>
|
240
|
97 |
<td class="memname">long <a class="el" href="structcan__baudparams__t.html#79f0add3bed6c2d19cb6b08aa1fe2a6a">can_baudparams_t::sample_pt</a> </td>
|
215
|
98 |
</tr>
|
|
99 |
</table>
|
|
100 |
</div>
|
|
101 |
<div class="memdoc">
|
|
102 |
|
|
103 |
<p>
|
|
104 |
|
|
105 |
<p>
|
|
106 |
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>.
|
|
107 |
</div>
|
|
108 |
</div><p>
|
|
109 |
<hr>The documentation for this struct was generated from the following file:<ul>
|
|
110 |
<li>drivers/can_lincan/<a class="el" href="lincan_8h-source.html">lincan.h</a></ul>
|
240
|
111 |
<hr size="1"><address style="align: right;"><small>Generated on Mon Jul 2 19:10:42 2007 for CanFestival by
|
215
|
112 |
<a href="http://www.doxygen.org/index.html">
|
|
113 |
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address>
|
|
114 |
</body>
|
|
115 |
</html>
|