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: drivers/can_lincan/can_lincan.c File 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><a href="annotated.html"><span>Data Structures</span></a></li> |
|
12 <li id="current"><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="files.html"><span>File List</span></a></li> |
|
18 <li><a href="globals.html"><span>Globals</span></a></li> |
|
19 </ul></div> |
|
20 <div class="nav"> |
|
21 <a class="el" href="dir_65dd258ff9b9ef4cd7bd0d22f5e58dba.html">drivers</a> » <a class="el" href="dir_daf7036eef6d5824a8b65c083e166f12.html">can_lincan</a></div> |
|
22 <h1>can_lincan.c File Reference</h1><code>#include <stdio.h></code><br> |
|
23 <code>#include <string.h></code><br> |
|
24 <code>#include <errno.h></code><br> |
|
25 <code>#include <fcntl.h></code><br> |
|
26 <code>#include "<a class="el" href="canmsg_8h-source.html">canmsg.h</a>"</code><br> |
|
27 <code>#include "<a class="el" href="lincan_8h-source.html">lincan.h</a>"</code><br> |
|
28 <code>#include "<a class="el" href="can__driver_8h-source.html">can_driver.h</a>"</code><br> |
|
29 |
|
30 <p> |
|
31 Include dependency graph for can_lincan.c:<p><center><img src="can__lincan_8c__incl.png" border="0" usemap="#drivers/can_lincan/can_lincan.c_map" alt=""></center> |
|
32 <map name="drivers/can_lincan/can_lincan.c_map"> |
|
33 <area href="canmsg_8h.html" shape="rect" coords="384,347,456,373" alt=""> |
|
34 <area href="lincan_8h.html" shape="rect" coords="257,296,321,323" alt=""> |
|
35 <area href="can__driver_8h.html" shape="rect" coords="245,93,333,120" alt=""> |
|
36 <area href="win32_2applicfg_8h.html" shape="rect" coords="509,68,584,95" alt=""> |
|
37 <area href="can_8h.html" shape="rect" coords="396,93,444,120" alt=""> |
|
38 </map> |
|
39 |
|
40 <p> |
|
41 <a href="can__lincan_8c-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0"> |
|
42 <tr><td></td></tr> |
|
43 <tr><td colspan="2"><br><h2>Functions</h2></td></tr> |
|
44 <tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8 </td><td class="memItemRight" valign="bottom"><a class="el" href="can__lincan_8c.html#b0b7065be05f6d53009b7bd46626e2c0">canReceive_driver</a> (<a class="el" href="win32_2applicfg_8h.html#324227f7b01d51ee83a883174769ac8f">CAN_HANDLE</a> fd0, <a class="el" href="structMessage.html">Message</a> *m)</td></tr> |
|
45 |
|
46 <tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8 </td><td class="memItemRight" valign="bottom"><a class="el" href="can__lincan_8c.html#36327c9e0ec6d284b346963a321e3c2b">canSend_driver</a> (<a class="el" href="win32_2applicfg_8h.html#324227f7b01d51ee83a883174769ac8f">CAN_HANDLE</a> fd0, <a class="el" href="structMessage.html">Message</a> *m)</td></tr> |
|
47 |
|
48 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="win32_2applicfg_8h.html#324227f7b01d51ee83a883174769ac8f">CAN_HANDLE</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="can__lincan_8c.html#a91c5884b47322592815c82427be3fac">canOpen_driver</a> (<a class="el" href="structstruct__s__BOARD.html">s_BOARD</a> *board)</td></tr> |
|
49 |
|
50 <tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="can__lincan_8c.html#d2f4803f3a623c82a4c3e92d4e75e5a5">canClose_driver</a> (<a class="el" href="win32_2applicfg_8h.html#324227f7b01d51ee83a883174769ac8f">CAN_HANDLE</a> fd0)</td></tr> |
|
51 |
|
52 </table> |
|
53 <hr><h2>Function Documentation</h2> |
|
54 <a class="anchor" name="d2f4803f3a623c82a4c3e92d4e75e5a5"></a><!-- doxytag: member="can_lincan.c::canClose_driver" ref="d2f4803f3a623c82a4c3e92d4e75e5a5" args="(CAN_HANDLE fd0)" --> |
|
55 <div class="memitem"> |
|
56 <div class="memproto"> |
|
57 <table class="memname"> |
|
58 <tr> |
|
59 <td class="memname">int canClose_driver </td> |
|
60 <td>(</td> |
|
61 <td class="paramtype"><a class="el" href="win32_2applicfg_8h.html#324227f7b01d51ee83a883174769ac8f">CAN_HANDLE</a> </td> |
|
62 <td class="paramname"> <em>fd0</em> </td> |
|
63 <td> ) </td> |
|
64 <td width="100%"></td> |
|
65 </tr> |
|
66 </table> |
|
67 </div> |
|
68 <div class="memdoc"> |
|
69 |
|
70 <p> |
|
71 |
|
72 <p> |
|
73 Definition at line <a class="el" href="can__lincan_8c-source.html#l00127">127</a> of file <a class="el" href="can__lincan_8c-source.html">can_lincan.c</a>. |
|
74 </div> |
|
75 </div><p> |
|
76 <a class="anchor" name="a91c5884b47322592815c82427be3fac"></a><!-- doxytag: member="can_lincan.c::canOpen_driver" ref="a91c5884b47322592815c82427be3fac" args="(s_BOARD *board)" --> |
|
77 <div class="memitem"> |
|
78 <div class="memproto"> |
|
79 <table class="memname"> |
|
80 <tr> |
|
81 <td class="memname"><a class="el" href="win32_2applicfg_8h.html#324227f7b01d51ee83a883174769ac8f">CAN_HANDLE</a> canOpen_driver </td> |
|
82 <td>(</td> |
|
83 <td class="paramtype"><a class="el" href="structstruct__s__BOARD.html">s_BOARD</a> * </td> |
|
84 <td class="paramname"> <em>board</em> </td> |
|
85 <td> ) </td> |
|
86 <td width="100%"></td> |
|
87 </tr> |
|
88 </table> |
|
89 </div> |
|
90 <div class="memdoc"> |
|
91 |
|
92 <p> |
|
93 |
|
94 <p> |
|
95 Definition at line <a class="el" href="can__lincan_8c-source.html#l00095">95</a> of file <a class="el" href="can__lincan_8c-source.html">can_lincan.c</a>. |
|
96 <p> |
|
97 References <a class="el" href="can__driver_8h-source.html#l00034">struct_s_BOARD::busname</a>. |
|
98 </div> |
|
99 </div><p> |
|
100 <a class="anchor" name="b0b7065be05f6d53009b7bd46626e2c0"></a><!-- doxytag: member="can_lincan.c::canReceive_driver" ref="b0b7065be05f6d53009b7bd46626e2c0" args="(CAN_HANDLE fd0, Message *m)" --> |
|
101 <div class="memitem"> |
|
102 <div class="memproto"> |
|
103 <table class="memname"> |
|
104 <tr> |
|
105 <td class="memname">UNS8 canReceive_driver </td> |
|
106 <td>(</td> |
|
107 <td class="paramtype"><a class="el" href="win32_2applicfg_8h.html#324227f7b01d51ee83a883174769ac8f">CAN_HANDLE</a> </td> |
|
108 <td class="paramname"> <em>fd0</em>, </td> |
|
109 </tr> |
|
110 <tr> |
|
111 <td class="paramkey"></td> |
|
112 <td></td> |
|
113 <td class="paramtype"><a class="el" href="structMessage.html">Message</a> * </td> |
|
114 <td class="paramname"> <em>m</em></td><td> </td> |
|
115 </tr> |
|
116 <tr> |
|
117 <td></td> |
|
118 <td>)</td> |
|
119 <td></td><td></td><td width="100%"></td> |
|
120 </tr> |
|
121 </table> |
|
122 </div> |
|
123 <div class="memdoc"> |
|
124 |
|
125 <p> |
|
126 |
|
127 <p> |
|
128 Definition at line <a class="el" href="can__lincan_8c-source.html#l00034">34</a> of file <a class="el" href="can__lincan_8c-source.html">can_lincan.c</a>. |
|
129 <p> |
|
130 References <a class="el" href="can_8h-source.html#l00042">Message::cob_id</a>, <a class="el" href="canmsg_8h-source.html#l00065">canmsg_t::data</a>, <a class="el" href="can_8h-source.html#l00046">Message::data</a>, <a class="el" href="canmsg_8h-source.html#l00060">canmsg_t::flags</a>, <a class="el" href="canmsg_8h-source.html#l00062">canmsg_t::id</a>, <a class="el" href="can_8h-source.html#l00045">Message::len</a>, <a class="el" href="canmsg_8h-source.html#l00064">canmsg_t::length</a>, <a class="el" href="canmsg_8h-source.html#l00118">MSG_EXT</a>, <a class="el" href="canmsg_8h-source.html#l00116">MSG_RTR</a>, <a class="el" href="can_8h-source.html#l00043">Message::rtr</a>, and <a class="el" href="can_8h-source.html#l00036">SHORT_CAN::w</a>. |
|
131 </div> |
|
132 </div><p> |
|
133 <a class="anchor" name="36327c9e0ec6d284b346963a321e3c2b"></a><!-- doxytag: member="can_lincan.c::canSend_driver" ref="36327c9e0ec6d284b346963a321e3c2b" args="(CAN_HANDLE fd0, Message *m)" --> |
|
134 <div class="memitem"> |
|
135 <div class="memproto"> |
|
136 <table class="memname"> |
|
137 <tr> |
|
138 <td class="memname">UNS8 canSend_driver </td> |
|
139 <td>(</td> |
|
140 <td class="paramtype"><a class="el" href="win32_2applicfg_8h.html#324227f7b01d51ee83a883174769ac8f">CAN_HANDLE</a> </td> |
|
141 <td class="paramname"> <em>fd0</em>, </td> |
|
142 </tr> |
|
143 <tr> |
|
144 <td class="paramkey"></td> |
|
145 <td></td> |
|
146 <td class="paramtype"><a class="el" href="structMessage.html">Message</a> * </td> |
|
147 <td class="paramname"> <em>m</em></td><td> </td> |
|
148 </tr> |
|
149 <tr> |
|
150 <td></td> |
|
151 <td>)</td> |
|
152 <td></td><td></td><td width="100%"></td> |
|
153 </tr> |
|
154 </table> |
|
155 </div> |
|
156 <div class="memdoc"> |
|
157 |
|
158 <p> |
|
159 |
|
160 <p> |
|
161 Definition at line <a class="el" href="can__lincan_8c-source.html#l00066">66</a> of file <a class="el" href="can__lincan_8c-source.html">can_lincan.c</a>. |
|
162 <p> |
|
163 References <a class="el" href="can_8h-source.html#l00042">Message::cob_id</a>, <a class="el" href="can_8h-source.html#l00046">Message::data</a>, <a class="el" href="canmsg_8h-source.html#l00065">canmsg_t::data</a>, <a class="el" href="canmsg_8h-source.html#l00060">canmsg_t::flags</a>, <a class="el" href="canmsg_8h-source.html#l00062">canmsg_t::id</a>, <a class="el" href="can_8h-source.html#l00045">Message::len</a>, <a class="el" href="canmsg_8h-source.html#l00064">canmsg_t::length</a>, <a class="el" href="canmsg_8h-source.html#l00118">MSG_EXT</a>, <a class="el" href="canmsg_8h-source.html#l00116">MSG_RTR</a>, <a class="el" href="can_8h-source.html#l00043">Message::rtr</a>, and <a class="el" href="can_8h-source.html#l00036">SHORT_CAN::w</a>. |
|
164 </div> |
|
165 </div><p> |
|
166 <hr size="1"><address style="align: right;"><small>Generated on Mon Jul 2 19:10:17 2007 for CanFestival by |
|
167 <a href="http://www.doxygen.org/index.html"> |
|
168 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> |
|
169 </body> |
|
170 </html> |
|