|
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> |
|
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#6186d236aabd8604eb9d39f518b014fa">flags</a></td></tr> |
|
26 |
|
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#b9e5b5418206d02cc1ff852b6bc61d5e">baudrate</a></td></tr> |
|
28 |
|
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#a81e104a371b1efc2cc08031afac924c">sjw</a></td></tr> |
|
30 |
|
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#b5d2e0ccd2e1f474d9e9d08d3d7fa9ed">sample_pt</a></td></tr> |
|
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> |
|
41 <a class="anchor" name="6186d236aabd8604eb9d39f518b014fa"></a><!-- doxytag: member="can_baudparams_t::flags" ref="6186d236aabd8604eb9d39f518b014fa" args="" --> |
|
42 <div class="memitem"> |
|
43 <div class="memproto"> |
|
44 <table class="memname"> |
|
45 <tr> |
|
46 <td class="memname">long <a class="el" href="structcan__baudparams__t.html#6186d236aabd8604eb9d39f518b014fa">can_baudparams_t::flags</a> </td> |
|
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> |
|
58 <a class="anchor" name="b9e5b5418206d02cc1ff852b6bc61d5e"></a><!-- doxytag: member="can_baudparams_t::baudrate" ref="b9e5b5418206d02cc1ff852b6bc61d5e" args="" --> |
|
59 <div class="memitem"> |
|
60 <div class="memproto"> |
|
61 <table class="memname"> |
|
62 <tr> |
|
63 <td class="memname">long <a class="el" href="structcan__baudparams__t.html#b9e5b5418206d02cc1ff852b6bc61d5e">can_baudparams_t::baudrate</a> </td> |
|
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> |
|
75 <a class="anchor" name="a81e104a371b1efc2cc08031afac924c"></a><!-- doxytag: member="can_baudparams_t::sjw" ref="a81e104a371b1efc2cc08031afac924c" args="" --> |
|
76 <div class="memitem"> |
|
77 <div class="memproto"> |
|
78 <table class="memname"> |
|
79 <tr> |
|
80 <td class="memname">long <a class="el" href="structcan__baudparams__t.html#a81e104a371b1efc2cc08031afac924c">can_baudparams_t::sjw</a> </td> |
|
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> |
|
92 <a class="anchor" name="b5d2e0ccd2e1f474d9e9d08d3d7fa9ed"></a><!-- doxytag: member="can_baudparams_t::sample_pt" ref="b5d2e0ccd2e1f474d9e9d08d3d7fa9ed" args="" --> |
|
93 <div class="memitem"> |
|
94 <div class="memproto"> |
|
95 <table class="memname"> |
|
96 <tr> |
|
97 <td class="memname">long <a class="el" href="structcan__baudparams__t.html#b5d2e0ccd2e1f474d9e9d08d3d7fa9ed">can_baudparams_t::sample_pt</a> </td> |
|
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> |
|
111 <hr size="1"><address style="align: right;"><small>Generated on Fri Jun 8 08:52:17 2007 for CanFestival by |
|
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> |