207
|
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: /home/epimerde/documents/tc11/CanFestival-3/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="namespaces.html"><span>Namespaces</span></a></li>
|
|
12 |
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
|
13 |
<li id="current"><a href="files.html"><span>Files</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 |
<h1>/home/epimerde/documents/tc11/CanFestival-3/drivers/can_lincan/can_lincan.c File Reference</h1><code>#include <stdio.h></code><br>
|
|
21 |
<code>#include <string.h></code><br>
|
|
22 |
<code>#include <errno.h></code><br>
|
|
23 |
<code>#include <fcntl.h></code><br>
|
|
24 |
<code>#include "<a class="el" href="canmsg_8h-source.html">canmsg.h</a>"</code><br>
|
|
25 |
<code>#include "<a class="el" href="lincan_8h-source.html">lincan.h</a>"</code><br>
|
|
26 |
<code>#include "<a class="el" href="can__driver_8h-source.html">can_driver.h</a>"</code><br>
|
|
27 |
|
|
28 |
<p>
|
|
29 |
<a href="can__lincan_8c-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0">
|
|
30 |
<tr><td></td></tr>
|
|
31 |
<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
|
|
32 |
<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>
|
|
33 |
|
|
34 |
<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>
|
|
35 |
|
|
36 |
<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>
|
|
37 |
|
|
38 |
<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>
|
|
39 |
|
|
40 |
</table>
|
|
41 |
<hr><h2>Function Documentation</h2>
|
|
42 |
<a class="anchor" name="76e6a915d0e40a23b863198b2aaa5545"></a><!-- doxytag: member="can_lincan.c::canClose_driver" ref="76e6a915d0e40a23b863198b2aaa5545" args="(CAN_HANDLE fd0)" -->
|
|
43 |
<div class="memitem">
|
|
44 |
<div class="memproto">
|
|
45 |
<table class="memname">
|
|
46 |
<tr>
|
|
47 |
<td class="memname">int canClose_driver </td>
|
|
48 |
<td>(</td>
|
|
49 |
<td class="paramtype"><a class="el" href="win32_2applicfg_8h.html#712c7b28987b12b8d400df19c92d0f5e">CAN_HANDLE</a> </td>
|
|
50 |
<td class="paramname"> <em>fd0</em> </td>
|
|
51 |
<td> ) </td>
|
|
52 |
<td width="100%"></td>
|
|
53 |
</tr>
|
|
54 |
</table>
|
|
55 |
</div>
|
|
56 |
<div class="memdoc">
|
|
57 |
|
|
58 |
<p>
|
|
59 |
|
|
60 |
<p>
|
|
61 |
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>.
|
|
62 |
</div>
|
|
63 |
</div><p>
|
|
64 |
<a class="anchor" name="945403aba7f36acbd2e7160ade361bab"></a><!-- doxytag: member="can_lincan.c::canOpen_driver" ref="945403aba7f36acbd2e7160ade361bab" args="(s_BOARD *board)" -->
|
|
65 |
<div class="memitem">
|
|
66 |
<div class="memproto">
|
|
67 |
<table class="memname">
|
|
68 |
<tr>
|
|
69 |
<td class="memname"><a class="el" href="win32_2applicfg_8h.html#712c7b28987b12b8d400df19c92d0f5e">CAN_HANDLE</a> canOpen_driver </td>
|
|
70 |
<td>(</td>
|
|
71 |
<td class="paramtype"><a class="el" href="structstruct__s__BOARD.html">s_BOARD</a> * </td>
|
|
72 |
<td class="paramname"> <em>board</em> </td>
|
|
73 |
<td> ) </td>
|
|
74 |
<td width="100%"></td>
|
|
75 |
</tr>
|
|
76 |
</table>
|
|
77 |
</div>
|
|
78 |
<div class="memdoc">
|
|
79 |
|
|
80 |
<p>
|
|
81 |
|
|
82 |
<p>
|
|
83 |
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>.
|
|
84 |
<p>
|
|
85 |
References <a class="el" href="can__driver_8h-source.html#l00034">struct_s_BOARD::busname</a>.
|
|
86 |
</div>
|
|
87 |
</div><p>
|
|
88 |
<a class="anchor" name="6b3248e95acf2b08d1fd8b42610cc5a6"></a><!-- doxytag: member="can_lincan.c::canReceive_driver" ref="6b3248e95acf2b08d1fd8b42610cc5a6" args="(CAN_HANDLE fd0, Message *m)" -->
|
|
89 |
<div class="memitem">
|
|
90 |
<div class="memproto">
|
|
91 |
<table class="memname">
|
|
92 |
<tr>
|
|
93 |
<td class="memname">UNS8 canReceive_driver </td>
|
|
94 |
<td>(</td>
|
|
95 |
<td class="paramtype"><a class="el" href="win32_2applicfg_8h.html#712c7b28987b12b8d400df19c92d0f5e">CAN_HANDLE</a> </td>
|
|
96 |
<td class="paramname"> <em>fd0</em>, </td>
|
|
97 |
</tr>
|
|
98 |
<tr>
|
|
99 |
<td class="paramkey"></td>
|
|
100 |
<td></td>
|
|
101 |
<td class="paramtype"><a class="el" href="structMessage.html">Message</a> * </td>
|
|
102 |
<td class="paramname"> <em>m</em></td><td> </td>
|
|
103 |
</tr>
|
|
104 |
<tr>
|
|
105 |
<td></td>
|
|
106 |
<td>)</td>
|
|
107 |
<td></td><td></td><td width="100%"></td>
|
|
108 |
</tr>
|
|
109 |
</table>
|
|
110 |
</div>
|
|
111 |
<div class="memdoc">
|
|
112 |
|
|
113 |
<p>
|
|
114 |
|
|
115 |
<p>
|
|
116 |
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>.
|
|
117 |
<p>
|
|
118 |
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>.
|
|
119 |
</div>
|
|
120 |
</div><p>
|
|
121 |
<a class="anchor" name="def95aee49efa13dd047d0b3b5507ad3"></a><!-- doxytag: member="can_lincan.c::canSend_driver" ref="def95aee49efa13dd047d0b3b5507ad3" args="(CAN_HANDLE fd0, Message *m)" -->
|
|
122 |
<div class="memitem">
|
|
123 |
<div class="memproto">
|
|
124 |
<table class="memname">
|
|
125 |
<tr>
|
|
126 |
<td class="memname">UNS8 canSend_driver </td>
|
|
127 |
<td>(</td>
|
|
128 |
<td class="paramtype"><a class="el" href="win32_2applicfg_8h.html#712c7b28987b12b8d400df19c92d0f5e">CAN_HANDLE</a> </td>
|
|
129 |
<td class="paramname"> <em>fd0</em>, </td>
|
|
130 |
</tr>
|
|
131 |
<tr>
|
|
132 |
<td class="paramkey"></td>
|
|
133 |
<td></td>
|
|
134 |
<td class="paramtype"><a class="el" href="structMessage.html">Message</a> * </td>
|
|
135 |
<td class="paramname"> <em>m</em></td><td> </td>
|
|
136 |
</tr>
|
|
137 |
<tr>
|
|
138 |
<td></td>
|
|
139 |
<td>)</td>
|
|
140 |
<td></td><td></td><td width="100%"></td>
|
|
141 |
</tr>
|
|
142 |
</table>
|
|
143 |
</div>
|
|
144 |
<div class="memdoc">
|
|
145 |
|
|
146 |
<p>
|
|
147 |
|
|
148 |
<p>
|
|
149 |
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>.
|
|
150 |
<p>
|
|
151 |
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>.
|
|
152 |
</div>
|
|
153 |
</div><p>
|
|
154 |
<hr size="1"><address style="align: right;"><small>Generated on Mon Jun 4 16:29:07 2007 for CanFestival by
|
|
155 |
<a href="http://www.doxygen.org/index.html">
|
|
156 |
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address>
|
|
157 |
</body>
|
|
158 |
</html>
|