16 <ul> |
16 <ul> |
17 <li><a href="files.html"><span>File List</span></a></li> |
17 <li><a href="files.html"><span>File List</span></a></li> |
18 <li><a href="globals.html"><span>Globals</span></a></li> |
18 <li><a href="globals.html"><span>Globals</span></a></li> |
19 </ul></div> |
19 </ul></div> |
20 <div class="nav"> |
20 <div class="nav"> |
21 <a class="el" href="dir_d58fb241e647de6212c31ecccf9cbace.html">drivers</a> » <a class="el" href="dir_8cdda103ce035ff7e5ef31864566c615.html">can_lincan</a></div> |
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> |
22 <h1>can_lincan.c File Reference</h1><code>#include <stdio.h></code><br> |
23 <code>#include <string.h></code><br> |
23 <code>#include <string.h></code><br> |
24 <code>#include <errno.h></code><br> |
24 <code>#include <errno.h></code><br> |
25 <code>#include <fcntl.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> |
26 <code>#include "<a class="el" href="canmsg_8h-source.html">canmsg.h</a>"</code><br> |
28 <code>#include "<a class="el" href="can__driver_8h-source.html">can_driver.h</a>"</code><br> |
28 <code>#include "<a class="el" href="can__driver_8h-source.html">can_driver.h</a>"</code><br> |
29 |
29 |
30 <p> |
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> |
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"> |
32 <map name="drivers/can_lincan/can_lincan.c_map"> |
33 <area href="canmsg_8h.html" shape="rect" coords="441,355,529,379" alt=""> |
33 <area href="canmsg_8h.html" shape="rect" coords="384,347,456,373" alt=""> |
34 <area href="lincan_8h.html" shape="rect" coords="303,301,377,325" 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="288,107,392,131" 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="584,83,672,107" 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="456,107,515,131" alt=""> |
37 <area href="can_8h.html" shape="rect" coords="396,93,444,120" alt=""> |
38 </map> |
38 </map> |
39 |
39 |
40 <p> |
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"> |
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> |
42 <tr><td></td></tr> |
43 <tr><td colspan="2"><br><h2>Functions</h2></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#6b3248e95acf2b08d1fd8b42610cc5a6">canReceive_driver</a> (<a class="el" href="win32_2applicfg_8h.html#712c7b28987b12b8d400df19c92d0f5e">CAN_HANDLE</a> fd0, <a class="el" href="structMessage.html">Message</a> *m)</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 |
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#def95aee49efa13dd047d0b3b5507ad3">canSend_driver</a> (<a class="el" href="win32_2applicfg_8h.html#712c7b28987b12b8d400df19c92d0f5e">CAN_HANDLE</a> fd0, <a class="el" href="structMessage.html">Message</a> *m)</td></tr> |
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 |
47 |
48 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="win32_2applicfg_8h.html#712c7b28987b12b8d400df19c92d0f5e">CAN_HANDLE</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="can__lincan_8c.html#945403aba7f36acbd2e7160ade361bab">canOpen_driver</a> (<a class="el" href="structstruct__s__BOARD.html">s_BOARD</a> *board)</td></tr> |
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 |
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#76e6a915d0e40a23b863198b2aaa5545">canClose_driver</a> (<a class="el" href="win32_2applicfg_8h.html#712c7b28987b12b8d400df19c92d0f5e">CAN_HANDLE</a> fd0)</td></tr> |
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 |
51 |
52 </table> |
52 </table> |
53 <hr><h2>Function Documentation</h2> |
53 <hr><h2>Function Documentation</h2> |
54 <a class="anchor" name="76e6a915d0e40a23b863198b2aaa5545"></a><!-- doxytag: member="can_lincan.c::canClose_driver" ref="76e6a915d0e40a23b863198b2aaa5545" args="(CAN_HANDLE fd0)" --> |
54 <a class="anchor" name="d2f4803f3a623c82a4c3e92d4e75e5a5"></a><!-- doxytag: member="can_lincan.c::canClose_driver" ref="d2f4803f3a623c82a4c3e92d4e75e5a5" args="(CAN_HANDLE fd0)" --> |
55 <div class="memitem"> |
55 <div class="memitem"> |
56 <div class="memproto"> |
56 <div class="memproto"> |
57 <table class="memname"> |
57 <table class="memname"> |
58 <tr> |
58 <tr> |
59 <td class="memname">int canClose_driver </td> |
59 <td class="memname">int canClose_driver </td> |
60 <td>(</td> |
60 <td>(</td> |
61 <td class="paramtype"><a class="el" href="win32_2applicfg_8h.html#712c7b28987b12b8d400df19c92d0f5e">CAN_HANDLE</a> </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> |
62 <td class="paramname"> <em>fd0</em> </td> |
63 <td> ) </td> |
63 <td> ) </td> |
64 <td width="100%"></td> |
64 <td width="100%"></td> |
65 </tr> |
65 </tr> |
66 </table> |
66 </table> |
71 |
71 |
72 <p> |
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>. |
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> |
74 </div> |
75 </div><p> |
75 </div><p> |
76 <a class="anchor" name="945403aba7f36acbd2e7160ade361bab"></a><!-- doxytag: member="can_lincan.c::canOpen_driver" ref="945403aba7f36acbd2e7160ade361bab" args="(s_BOARD *board)" --> |
76 <a class="anchor" name="a91c5884b47322592815c82427be3fac"></a><!-- doxytag: member="can_lincan.c::canOpen_driver" ref="a91c5884b47322592815c82427be3fac" args="(s_BOARD *board)" --> |
77 <div class="memitem"> |
77 <div class="memitem"> |
78 <div class="memproto"> |
78 <div class="memproto"> |
79 <table class="memname"> |
79 <table class="memname"> |
80 <tr> |
80 <tr> |
81 <td class="memname"><a class="el" href="win32_2applicfg_8h.html#712c7b28987b12b8d400df19c92d0f5e">CAN_HANDLE</a> canOpen_driver </td> |
81 <td class="memname"><a class="el" href="win32_2applicfg_8h.html#324227f7b01d51ee83a883174769ac8f">CAN_HANDLE</a> canOpen_driver </td> |
82 <td>(</td> |
82 <td>(</td> |
83 <td class="paramtype"><a class="el" href="structstruct__s__BOARD.html">s_BOARD</a> * </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> |
84 <td class="paramname"> <em>board</em> </td> |
85 <td> ) </td> |
85 <td> ) </td> |
86 <td width="100%"></td> |
86 <td width="100%"></td> |
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>. |
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> |
96 <p> |
97 References <a class="el" href="can__driver_8h-source.html#l00034">struct_s_BOARD::busname</a>. |
97 References <a class="el" href="can__driver_8h-source.html#l00034">struct_s_BOARD::busname</a>. |
98 </div> |
98 </div> |
99 </div><p> |
99 </div><p> |
100 <a class="anchor" name="6b3248e95acf2b08d1fd8b42610cc5a6"></a><!-- doxytag: member="can_lincan.c::canReceive_driver" ref="6b3248e95acf2b08d1fd8b42610cc5a6" args="(CAN_HANDLE fd0, Message *m)" --> |
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"> |
101 <div class="memitem"> |
102 <div class="memproto"> |
102 <div class="memproto"> |
103 <table class="memname"> |
103 <table class="memname"> |
104 <tr> |
104 <tr> |
105 <td class="memname">UNS8 canReceive_driver </td> |
105 <td class="memname">UNS8 canReceive_driver </td> |
106 <td>(</td> |
106 <td>(</td> |
107 <td class="paramtype"><a class="el" href="win32_2applicfg_8h.html#712c7b28987b12b8d400df19c92d0f5e">CAN_HANDLE</a> </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> |
108 <td class="paramname"> <em>fd0</em>, </td> |
109 </tr> |
109 </tr> |
110 <tr> |
110 <tr> |
111 <td class="paramkey"></td> |
111 <td class="paramkey"></td> |
112 <td></td> |
112 <td></td> |
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>. |
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> |
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>. |
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> |
131 </div> |
132 </div><p> |
132 </div><p> |
133 <a class="anchor" name="def95aee49efa13dd047d0b3b5507ad3"></a><!-- doxytag: member="can_lincan.c::canSend_driver" ref="def95aee49efa13dd047d0b3b5507ad3" args="(CAN_HANDLE fd0, Message *m)" --> |
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"> |
134 <div class="memitem"> |
135 <div class="memproto"> |
135 <div class="memproto"> |
136 <table class="memname"> |
136 <table class="memname"> |
137 <tr> |
137 <tr> |
138 <td class="memname">UNS8 canSend_driver </td> |
138 <td class="memname">UNS8 canSend_driver </td> |
139 <td>(</td> |
139 <td>(</td> |
140 <td class="paramtype"><a class="el" href="win32_2applicfg_8h.html#712c7b28987b12b8d400df19c92d0f5e">CAN_HANDLE</a> </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> |
141 <td class="paramname"> <em>fd0</em>, </td> |
142 </tr> |
142 </tr> |
143 <tr> |
143 <tr> |
144 <td class="paramkey"></td> |
144 <td class="paramkey"></td> |
145 <td></td> |
145 <td></td> |
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>. |
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> |
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>. |
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> |
164 </div> |
165 </div><p> |
165 </div><p> |
166 <hr size="1"><address style="align: right;"><small>Generated on Fri Jun 8 08:51:39 2007 for CanFestival by |
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"> |
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> |
168 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> |
169 </body> |
169 </body> |
170 </html> |
170 </html> |