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">
|
215
|
3 |
<title>CanFestival: src/pdo.c File Reference</title>
|
207
|
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>
|
215
|
11 |
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
207
|
12 |
<li id="current"><a href="files.html"><span>Files</span></a></li>
|
215
|
13 |
<li><a href="dirs.html"><span>Directories</span></a></li>
|
207
|
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>
|
215
|
20 |
<div class="nav">
|
|
21 |
<a class="el" href="dir_c0a169d39c08973f879fd54f07b9e9f7.html">src</a></div>
|
|
22 |
<h1>pdo.c File Reference</h1><code>#include "<a class="el" href="pdo_8h-source.html">pdo.h</a>"</code><br>
|
|
23 |
<code>#include "<a class="el" href="objacces_8h-source.html">objacces.h</a>"</code><br>
|
|
24 |
<code>#include "<a class="el" href="win32_2canfestival_8h-source.html">canfestival.h</a>"</code><br>
|
|
25 |
|
|
26 |
<p>
|
|
27 |
Include dependency graph for pdo.c:<p><center><img src="pdo_8c__incl.png" border="0" usemap="#src/pdo.c_map" alt=""></center>
|
|
28 |
<map name="src/pdo.c_map">
|
|
29 |
<area href="pdo_8h.html" shape="rect" coords="162,325,220,349" alt="">
|
|
30 |
<area href="objacces_8h.html" shape="rect" coords="452,496,546,520" alt="">
|
|
31 |
<area href="win32_2canfestival_8h.html" shape="rect" coords="138,569,244,593" alt="">
|
|
32 |
<area href="win32_2applicfg_8h.html" shape="rect" coords="731,443,819,467" alt="">
|
|
33 |
<area href="def_8h.html" shape="rect" coords="471,7,527,31" alt="">
|
|
34 |
<area href="data_8h.html" shape="rect" coords="314,325,378,349" alt="">
|
|
35 |
<area href="config_8h.html" shape="rect" coords="602,7,676,31" alt="">
|
|
36 |
<area href="can_8h.html" shape="rect" coords="470,544,528,568" alt="">
|
|
37 |
<area href="objdictdef_8h.html" shape="rect" coords="448,205,550,229" alt="">
|
|
38 |
<area href="sdo_8h.html" shape="rect" coords="470,448,528,472" alt="">
|
|
39 |
<area href="states_8h.html" shape="rect" coords="462,349,536,373" alt="">
|
|
40 |
<area href="lifegrd_8h.html" shape="rect" coords="460,107,538,131" alt="">
|
|
41 |
<area href="sync_8h.html" shape="rect" coords="466,253,532,277" alt="">
|
|
42 |
<area href="nmtMaster_8h.html" shape="rect" coords="446,301,552,325" alt="">
|
|
43 |
<area href="timer_8h.html" shape="rect" coords="604,443,674,467" alt="">
|
|
44 |
<area href="win32_2timerscfg_8h.html" shape="rect" coords="726,567,824,591" alt="">
|
|
45 |
<area href="can__driver_8h.html" shape="rect" coords="294,569,398,593" alt="">
|
|
46 |
</map>
|
210
|
47 |
|
|
48 |
<p>
|
207
|
49 |
<a href="pdo_8c-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0">
|
|
50 |
<tr><td></td></tr>
|
|
51 |
<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
|
215
|
52 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8 </td><td class="memItemRight" valign="bottom"><a class="el" href="pdo_8c.html#d9a4a4f0a4ef48866c6184ccbd30f210">sendPDO</a> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d, <a class="el" href="structstruct__s__PDO.html">s_PDO</a> pdo, UNS8 req)</td></tr>
|
|
53 |
|
|
54 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8 </td><td class="memItemRight" valign="bottom"><a class="el" href="pdo_8c.html#298b8291fa35cca22264cf8a70bf138a">PDOmGR</a> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d, UNS32 cobId)</td></tr>
|
|
55 |
|
|
56 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8 </td><td class="memItemRight" valign="bottom"><a class="el" href="pdo_8c.html#cc08547009d3d2755d2291999941694c">sendPDOrequest</a> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d, UNS32 cobId)</td></tr>
|
|
57 |
|
|
58 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8 </td><td class="memItemRight" valign="bottom"><a class="el" href="pdo_8c.html#ae7d661cd3ef7adf93a0d08fdb15b7f2">proceedPDO</a> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d, <a class="el" href="structMessage.html">Message</a> *m)</td></tr>
|
207
|
59 |
|
|
60 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="pdo_8c.html#e468510c9f77f502207d961d26389918">CopyBits</a> (UNS8 NbBits, UNS8 *SrcByteIndex, UNS8 SrcBitIndex, UNS8 SrcBigEndian, UNS8 *DestByteIndex, UNS8 DestBitIndex, UNS8 DestBigEndian)</td></tr>
|
|
61 |
|
|
62 |
</table>
|
210
|
63 |
<hr><a name="_details"></a><h2>Detailed Description</h2>
|
|
64 |
<dl class="author" compact><dt><b>Author:</b></dt><dd>Edouard TISSERANT and Francis DUPIN </dd></dl>
|
|
65 |
<dl class="date" compact><dt><b>Date:</b></dt><dd>Tue Jun 5 09:32:32 2007 </dd></dl>
|
|
66 |
|
|
67 |
<p>
|
|
68 |
Definition in file <a class="el" href="pdo_8c-source.html">pdo.c</a>.<hr><h2>Function Documentation</h2>
|
207
|
69 |
<a class="anchor" name="e468510c9f77f502207d961d26389918"></a><!-- doxytag: member="pdo.c::CopyBits" ref="e468510c9f77f502207d961d26389918" args="(UNS8 NbBits, UNS8 *SrcByteIndex, UNS8 SrcBitIndex, UNS8 SrcBigEndian, UNS8 *DestByteIndex, UNS8 DestBitIndex, UNS8 DestBigEndian)" -->
|
|
70 |
<div class="memitem">
|
|
71 |
<div class="memproto">
|
|
72 |
<table class="memname">
|
|
73 |
<tr>
|
|
74 |
<td class="memname">void CopyBits </td>
|
|
75 |
<td>(</td>
|
|
76 |
<td class="paramtype">UNS8 </td>
|
|
77 |
<td class="paramname"> <em>NbBits</em>, </td>
|
|
78 |
</tr>
|
|
79 |
<tr>
|
|
80 |
<td class="paramkey"></td>
|
|
81 |
<td></td>
|
|
82 |
<td class="paramtype">UNS8 * </td>
|
|
83 |
<td class="paramname"> <em>SrcByteIndex</em>, </td>
|
|
84 |
</tr>
|
|
85 |
<tr>
|
|
86 |
<td class="paramkey"></td>
|
|
87 |
<td></td>
|
|
88 |
<td class="paramtype">UNS8 </td>
|
|
89 |
<td class="paramname"> <em>SrcBitIndex</em>, </td>
|
|
90 |
</tr>
|
|
91 |
<tr>
|
|
92 |
<td class="paramkey"></td>
|
|
93 |
<td></td>
|
|
94 |
<td class="paramtype">UNS8 </td>
|
|
95 |
<td class="paramname"> <em>SrcBigEndian</em>, </td>
|
|
96 |
</tr>
|
|
97 |
<tr>
|
|
98 |
<td class="paramkey"></td>
|
|
99 |
<td></td>
|
|
100 |
<td class="paramtype">UNS8 * </td>
|
|
101 |
<td class="paramname"> <em>DestByteIndex</em>, </td>
|
|
102 |
</tr>
|
|
103 |
<tr>
|
|
104 |
<td class="paramkey"></td>
|
|
105 |
<td></td>
|
|
106 |
<td class="paramtype">UNS8 </td>
|
|
107 |
<td class="paramname"> <em>DestBitIndex</em>, </td>
|
|
108 |
</tr>
|
|
109 |
<tr>
|
|
110 |
<td class="paramkey"></td>
|
|
111 |
<td></td>
|
|
112 |
<td class="paramtype">UNS8 </td>
|
|
113 |
<td class="paramname"> <em>DestBigEndian</em></td><td> </td>
|
|
114 |
</tr>
|
|
115 |
<tr>
|
|
116 |
<td></td>
|
|
117 |
<td>)</td>
|
|
118 |
<td></td><td></td><td width="100%"></td>
|
|
119 |
</tr>
|
|
120 |
</table>
|
|
121 |
</div>
|
|
122 |
<div class="memdoc">
|
|
123 |
|
|
124 |
<p>
|
210
|
125 |
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
126 |
<table border="0" cellspacing="2" cellpadding="0">
|
|
127 |
<tr><td valign="top"></td><td valign="top"><em>NbBits</em> </td><td></td></tr>
|
|
128 |
<tr><td valign="top"></td><td valign="top"><em>SrcByteIndex</em> </td><td></td></tr>
|
|
129 |
<tr><td valign="top"></td><td valign="top"><em>SrcBitIndex</em> </td><td></td></tr>
|
|
130 |
<tr><td valign="top"></td><td valign="top"><em>SrcBigEndian</em> </td><td></td></tr>
|
|
131 |
<tr><td valign="top"></td><td valign="top"><em>DestByteIndex</em> </td><td></td></tr>
|
|
132 |
<tr><td valign="top"></td><td valign="top"><em>DestBitIndex</em> </td><td></td></tr>
|
|
133 |
<tr><td valign="top"></td><td valign="top"><em>DestBigEndian</em> </td><td></td></tr>
|
|
134 |
</table>
|
|
135 |
</dl>
|
|
136 |
|
|
137 |
<p>
|
|
138 |
Definition at line <a class="el" href="pdo_8c-source.html#l00430">430</a> of file <a class="el" href="pdo_8c-source.html">pdo.c</a>.
|
|
139 |
<p>
|
215
|
140 |
References <a class="el" href="hcs12_2applicfg_8h-source.html#l00129">INTEGER8</a>, and <a class="el" href="hcs12_2applicfg_8h-source.html#l00139">UNS8</a>.
|
|
141 |
<p>
|
210
|
142 |
Referenced by <a class="el" href="pdo_8c-source.html#l00221">proceedPDO()</a>, and <a class="el" href="sync_8c-source.html#l00141">proceedSYNC()</a>.
|
207
|
143 |
</div>
|
|
144 |
</div><p>
|
|
145 |
<a class="anchor" name="298b8291fa35cca22264cf8a70bf138a"></a><!-- doxytag: member="pdo.c::PDOmGR" ref="298b8291fa35cca22264cf8a70bf138a" args="(CO_Data *d, UNS32 cobId)" -->
|
|
146 |
<div class="memitem">
|
|
147 |
<div class="memproto">
|
|
148 |
<table class="memname">
|
|
149 |
<tr>
|
|
150 |
<td class="memname">UNS8 PDOmGR </td>
|
|
151 |
<td>(</td>
|
215
|
152 |
<td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> * </td>
|
207
|
153 |
<td class="paramname"> <em>d</em>, </td>
|
|
154 |
</tr>
|
|
155 |
<tr>
|
|
156 |
<td class="paramkey"></td>
|
|
157 |
<td></td>
|
|
158 |
<td class="paramtype">UNS32 </td>
|
|
159 |
<td class="paramname"> <em>cobId</em></td><td> </td>
|
|
160 |
</tr>
|
|
161 |
<tr>
|
|
162 |
<td></td>
|
|
163 |
<td>)</td>
|
|
164 |
<td></td><td></td><td width="100%"></td>
|
|
165 |
</tr>
|
|
166 |
</table>
|
|
167 |
</div>
|
|
168 |
<div class="memdoc">
|
|
169 |
|
|
170 |
<p>
|
210
|
171 |
PDO Manager<p>
|
|
172 |
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
173 |
<table border="0" cellspacing="2" cellpadding="0">
|
|
174 |
<tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr>
|
|
175 |
<tr><td valign="top"></td><td valign="top"><em>cobId</em> </td><td></td></tr>
|
|
176 |
</table>
|
|
177 |
</dl>
|
|
178 |
<dl class="return" compact><dt><b>Returns:</b></dt><dd></dd></dl>
|
|
179 |
|
|
180 |
<p>
|
|
181 |
Definition at line <a class="el" href="pdo_8c-source.html#l00079">79</a> of file <a class="el" href="pdo_8c-source.html">pdo.c</a>.
|
|
182 |
<p>
|
215
|
183 |
References <a class="el" href="pdo_8h-source.html#l00044">struct_s_PDO::cobId</a>, <a class="el" href="pdo_8h-source.html#l00033">struct_s_process_var::count</a>, <a class="el" href="timer_8h-source.html#l00045">struct_s_timer_entry::d</a>, <a class="el" href="pdo_8h-source.html#l00046">struct_s_PDO::data</a>, <a class="el" href="pdo_8h-source.html#l00037">struct_s_process_var::data</a>, <a class="el" href="pdo_8h-source.html#l00045">struct_s_PDO::len</a>, <a class="el" href="hcs12_2applicfg_8h-source.html#l00190">MSG_WAR</a>, <a class="el" href="def_8h-source.html#l00055">NOT_A_REQUEST</a>, <a class="el" href="data_8h-source.html#l00086">struct_CO_Data::process_var</a>, <a class="el" href="pdo_8c-source.html#l00037">sendPDO()</a>, and <a class="el" href="hcs12_2applicfg_8h-source.html#l00139">UNS8</a>.
|
210
|
184 |
<p>
|
|
185 |
Referenced by <a class="el" href="pdo_8c-source.html#l00221">proceedPDO()</a>, and <a class="el" href="sync_8c-source.html#l00141">proceedSYNC()</a>.
|
|
186 |
<p>
|
|
187 |
Here is the call graph for this function:<p><center><img src="pdo_8c_298b8291fa35cca22264cf8a70bf138a_cgraph.png" border="0" usemap="#pdo_8c_298b8291fa35cca22264cf8a70bf138a_cgraph_map" alt=""></center>
|
|
188 |
<map name="pdo_8c_298b8291fa35cca22264cf8a70bf138a_cgraph_map">
|
|
189 |
<area href="pdo_8c.html#d9a4a4f0a4ef48866c6184ccbd30f210" shape="rect" coords="140,6,223,30" alt="">
|
215
|
190 |
<area href="canOpenDriver_8c.html#b57b4b3c000e9f61135175495e874977" shape="rect" coords="273,6,353,30" alt="">
|
|
191 |
<area href="canOpenDriver_8c.html#2f2d1ed55cfd9d7f85883f8d70d318ba" shape="rect" coords="404,6,535,30" alt="">
|
210
|
192 |
</map>
|
|
193 |
|
207
|
194 |
</div>
|
|
195 |
</div><p>
|
|
196 |
<a class="anchor" name="ae7d661cd3ef7adf93a0d08fdb15b7f2"></a><!-- doxytag: member="pdo.c::proceedPDO" ref="ae7d661cd3ef7adf93a0d08fdb15b7f2" args="(CO_Data *d, Message *m)" -->
|
|
197 |
<div class="memitem">
|
|
198 |
<div class="memproto">
|
|
199 |
<table class="memname">
|
|
200 |
<tr>
|
|
201 |
<td class="memname">UNS8 proceedPDO </td>
|
|
202 |
<td>(</td>
|
215
|
203 |
<td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> * </td>
|
207
|
204 |
<td class="paramname"> <em>d</em>, </td>
|
|
205 |
</tr>
|
|
206 |
<tr>
|
|
207 |
<td class="paramkey"></td>
|
|
208 |
<td></td>
|
215
|
209 |
<td class="paramtype"><a class="el" href="structMessage.html">Message</a> * </td>
|
207
|
210 |
<td class="paramname"> <em>m</em></td><td> </td>
|
|
211 |
</tr>
|
|
212 |
<tr>
|
|
213 |
<td></td>
|
|
214 |
<td>)</td>
|
|
215 |
<td></td><td></td><td width="100%"></td>
|
|
216 |
</tr>
|
|
217 |
</table>
|
|
218 |
</div>
|
|
219 |
<div class="memdoc">
|
|
220 |
|
|
221 |
<p>
|
210
|
222 |
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
223 |
<table border="0" cellspacing="2" cellpadding="0">
|
|
224 |
<tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr>
|
|
225 |
<tr><td valign="top"></td><td valign="top"><em>m</em> </td><td></td></tr>
|
|
226 |
</table>
|
|
227 |
</dl>
|
|
228 |
<dl class="return" compact><dt><b>Returns:</b></dt><dd></dd></dl>
|
|
229 |
|
|
230 |
<p>
|
|
231 |
Definition at line <a class="el" href="pdo_8c-source.html#l00221">221</a> of file <a class="el" href="pdo_8c-source.html">pdo.c</a>.
|
|
232 |
<p>
|
215
|
233 |
References <a class="el" href="can_8h-source.html#l00042">Message::cob_id</a>, <a class="el" href="pdo_8c-source.html#l00430">CopyBits()</a>, <a class="el" href="pdo_8h-source.html#l00033">struct_s_process_var::count</a>, <a class="el" href="timer_8h-source.html#l00045">struct_s_timer_entry::d</a>, <a class="el" href="pdo_8h-source.html#l00037">struct_s_process_var::data</a>, <a class="el" href="can_8h-source.html#l00046">Message::data</a>, <a class="el" href="data_8h-source.html#l00050">struct_CO_Data::firstIndex</a>, <a class="el" href="objacces_8c-source.html#l00198">getODentry()</a>, <a class="el" href="data_8h-source.html#l00051">struct_CO_Data::lastIndex</a>, <a class="el" href="can_8h-source.html#l00045">Message::len</a>, <a class="el" href="hcs12_2applicfg_8h-source.html#l00177">MSG_ERR</a>, <a class="el" href="hcs12_2applicfg_8h-source.html#l00190">MSG_WAR</a>, <a class="el" href="def_8h-source.html#l00055">NOT_A_REQUEST</a>, <a class="el" href="data_8h-source.html#l00048">struct_CO_Data::objdict</a>, <a class="el" href="def_8h-source.html#l00031">OD_SUCCESSFUL</a>, <a class="el" href="objdictdef_8h-source.html#l00118">s_quick_index::PDO_RCV</a>, <a class="el" href="objdictdef_8h-source.html#l00119">s_quick_index::PDO_RCV_MAP</a>, <a class="el" href="objdictdef_8h-source.html#l00120">s_quick_index::PDO_TRS</a>, <a class="el" href="objdictdef_8h-source.html#l00121">s_quick_index::PDO_TRS_MAP</a>, <a class="el" href="pdo_8c-source.html#l00079">PDOmGR()</a>, <a class="el" href="objdictdef_8h-source.html#l00100">td_subindex::pObject</a>, <a class="el" href="data_8h-source.html#l00086">struct_CO_Data::process_var</a>, <a class="el" href="objdictdef_8h-source.html#l00107">td_indextable::pSubindex</a>, <a class="el" href="def_8h-source.html#l00054">REQUEST</a>, <a class="el" href="objacces_8c-source.html#l00350">setODentry()</a>, <a class="el" href="def_8h-source.html#l00113">state1</a>, <a class="el" href="def_8h-source.html#l00114">state2</a>, <a class="el" href="def_8h-source.html#l00116">state4</a>, <a class="el" href="def_8h-source.html#l00117">state5</a>, <a class="el" href="objdictdef_8h-source.html#l00080">TRANS_EVENT</a>, <a class="el" href="objdictdef_8h-source.html#l00079">TRANS_RTR</a>, <a class="el" href="objdictdef_8h-source.html#l00078">TRANS_RTR_SYNC</a>, <a class="el" href="hcs12_2applicfg_8h-source.html#l00140">UNS16</a>, <a class="el" href="hcs12_2applicfg_8h-source.html#l00141">UNS32</a>, <a class="el" href="hcs12_2applicfg_8h-source.html#l00139">UNS8</a>, and <a class="el" href="can_8h-source.html#l00036">SHORT_CAN::w</a>.
|
210
|
234 |
<p>
|
|
235 |
Referenced by <a class="el" href="states_8c-source.html#l00065">canDispatch()</a>.
|
|
236 |
<p>
|
|
237 |
Here is the call graph for this function:<p><center><img src="pdo_8c_ae7d661cd3ef7adf93a0d08fdb15b7f2_cgraph.png" border="0" usemap="#pdo_8c_ae7d661cd3ef7adf93a0d08fdb15b7f2_cgraph_map" alt=""></center>
|
|
238 |
<map name="pdo_8c_ae7d661cd3ef7adf93a0d08fdb15b7f2_cgraph_map">
|
|
239 |
<area href="pdo_8c.html#e468510c9f77f502207d961d26389918" shape="rect" coords="171,6,251,30" alt="">
|
215
|
240 |
<area href="objacces_8c.html#39c263a4bc5d2d824fefe22fdb4c2dac" shape="rect" coords="161,102,260,126" alt="">
|
|
241 |
<area href="pdo_8c.html#298b8291fa35cca22264cf8a70bf138a" shape="rect" coords="169,150,252,174" alt="">
|
|
242 |
<area href="objacces_8c.html#17e598cc1b2e60380e2e4e75afe9b3b0" shape="rect" coords="161,54,260,78" alt="">
|
|
243 |
<area href="objacces_8c.html#49e9444c8c8d39906a40a153366ed09c" shape="rect" coords="311,102,417,126" alt="">
|
|
244 |
<area href="objacces_8c.html#75d39b2dadcdb48f7321c6f3766aad26" shape="rect" coords="468,78,636,102" alt="">
|
|
245 |
<area href="pdo_8c.html#d9a4a4f0a4ef48866c6184ccbd30f210" shape="rect" coords="323,150,405,174" alt="">
|
|
246 |
<area href="canOpenDriver_8c.html#b57b4b3c000e9f61135175495e874977" shape="rect" coords="512,150,592,174" alt="">
|
|
247 |
<area href="canOpenDriver_8c.html#2f2d1ed55cfd9d7f85883f8d70d318ba" shape="rect" coords="687,150,817,174" alt="">
|
|
248 |
<area href="objacces_8c.html#72f69950be4a1352fc78648c71454820" shape="rect" coords="311,54,417,78" alt="">
|
210
|
249 |
</map>
|
|
250 |
|
207
|
251 |
</div>
|
|
252 |
</div><p>
|
|
253 |
<a class="anchor" name="d9a4a4f0a4ef48866c6184ccbd30f210"></a><!-- doxytag: member="pdo.c::sendPDO" ref="d9a4a4f0a4ef48866c6184ccbd30f210" args="(CO_Data *d, s_PDO pdo, UNS8 req)" -->
|
|
254 |
<div class="memitem">
|
|
255 |
<div class="memproto">
|
|
256 |
<table class="memname">
|
|
257 |
<tr>
|
|
258 |
<td class="memname">UNS8 sendPDO </td>
|
|
259 |
<td>(</td>
|
215
|
260 |
<td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> * </td>
|
207
|
261 |
<td class="paramname"> <em>d</em>, </td>
|
|
262 |
</tr>
|
|
263 |
<tr>
|
|
264 |
<td class="paramkey"></td>
|
|
265 |
<td></td>
|
215
|
266 |
<td class="paramtype"><a class="el" href="structstruct__s__PDO.html">s_PDO</a> </td>
|
207
|
267 |
<td class="paramname"> <em>pdo</em>, </td>
|
|
268 |
</tr>
|
|
269 |
<tr>
|
|
270 |
<td class="paramkey"></td>
|
|
271 |
<td></td>
|
|
272 |
<td class="paramtype">UNS8 </td>
|
215
|
273 |
<td class="paramname"> <em>request</em></td><td> </td>
|
|
274 |
</tr>
|
|
275 |
<tr>
|
|
276 |
<td></td>
|
|
277 |
<td>)</td>
|
|
278 |
<td></td><td></td><td width="100%"></td>
|
|
279 |
</tr>
|
|
280 |
</table>
|
|
281 |
</div>
|
|
282 |
<div class="memdoc">
|
|
283 |
|
|
284 |
<p>
|
|
285 |
Transmit a PDO data frame on the bus bus_id pdo is a structure which contains the pdo to transmit bus_id is hardware dependant return canSend(bus_id,&m) or 0xFF if error request can take the value REQUEST or NOT_A_REQUEST
|
207
|
286 |
<p>
|
210
|
287 |
Definition at line <a class="el" href="pdo_8c-source.html#l00037">37</a> of file <a class="el" href="pdo_8c-source.html">pdo.c</a>.
|
|
288 |
<p>
|
215
|
289 |
References <a class="el" href="data_8h-source.html#l00090">struct_CO_Data::canHandle</a>, <a class="el" href="canOpenDriver_8c-source.html#l00505">canSend()</a>, <a class="el" href="can_8h-source.html#l00042">Message::cob_id</a>, <a class="el" href="pdo_8h-source.html#l00044">struct_s_PDO::cobId</a>, <a class="el" href="timer_8h-source.html#l00045">struct_s_timer_entry::d</a>, <a class="el" href="can_8h-source.html#l00046">Message::data</a>, <a class="el" href="pdo_8h-source.html#l00046">struct_s_PDO::data</a>, <a class="el" href="can_8h-source.html#l00045">Message::len</a>, <a class="el" href="pdo_8h-source.html#l00045">struct_s_PDO::len</a>, <a class="el" href="hcs12_2applicfg_8h-source.html#l00190">MSG_WAR</a>, <a class="el" href="data_8h-source.html#l00061">struct_CO_Data::nodeState</a>, <a class="el" href="def_8h-source.html#l00055">NOT_A_REQUEST</a>, <a class="el" href="states_8h.html#3136d2815abe9d284f985e0a7ec68646a80594b1522cb686b981f56bbec45124">Operational</a>, <a class="el" href="def_8h-source.html#l00054">REQUEST</a>, <a class="el" href="can_8h-source.html#l00043">Message::rtr</a>, <a class="el" href="hcs12_2applicfg_8h-source.html#l00139">UNS8</a>, and <a class="el" href="can_8h-source.html#l00036">SHORT_CAN::w</a>.
|
|
290 |
<p>
|
210
|
291 |
Referenced by <a class="el" href="pdo_8c-source.html#l00079">PDOmGR()</a>, and <a class="el" href="pdo_8c-source.html#l00181">sendPDOrequest()</a>.
|
215
|
292 |
<p>
|
|
293 |
Here is the call graph for this function:<p><center><img src="pdo_8c_d9a4a4f0a4ef48866c6184ccbd30f210_cgraph.png" border="0" usemap="#pdo_8c_d9a4a4f0a4ef48866c6184ccbd30f210_cgraph_map" alt=""></center>
|
|
294 |
<map name="pdo_8c_d9a4a4f0a4ef48866c6184ccbd30f210_cgraph_map">
|
|
295 |
<area href="canOpenDriver_8c.html#b57b4b3c000e9f61135175495e874977" shape="rect" coords="140,6,220,30" alt="">
|
|
296 |
<area href="canOpenDriver_8c.html#2f2d1ed55cfd9d7f85883f8d70d318ba" shape="rect" coords="271,6,401,30" alt="">
|
|
297 |
</map>
|
|
298 |
|
207
|
299 |
</div>
|
|
300 |
</div><p>
|
|
301 |
<a class="anchor" name="cc08547009d3d2755d2291999941694c"></a><!-- doxytag: member="pdo.c::sendPDOrequest" ref="cc08547009d3d2755d2291999941694c" args="(CO_Data *d, UNS32 cobId)" -->
|
|
302 |
<div class="memitem">
|
|
303 |
<div class="memproto">
|
|
304 |
<table class="memname">
|
|
305 |
<tr>
|
|
306 |
<td class="memname">UNS8 sendPDOrequest </td>
|
|
307 |
<td>(</td>
|
215
|
308 |
<td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> * </td>
|
207
|
309 |
<td class="paramname"> <em>d</em>, </td>
|
|
310 |
</tr>
|
|
311 |
<tr>
|
|
312 |
<td class="paramkey"></td>
|
|
313 |
<td></td>
|
|
314 |
<td class="paramtype">UNS32 </td>
|
|
315 |
<td class="paramname"> <em>cobId</em></td><td> </td>
|
|
316 |
</tr>
|
|
317 |
<tr>
|
|
318 |
<td></td>
|
|
319 |
<td>)</td>
|
|
320 |
<td></td><td></td><td width="100%"></td>
|
|
321 |
</tr>
|
|
322 |
</table>
|
|
323 |
</div>
|
|
324 |
<div class="memdoc">
|
|
325 |
|
|
326 |
<p>
|
210
|
327 |
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
328 |
<table border="0" cellspacing="2" cellpadding="0">
|
|
329 |
<tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr>
|
|
330 |
<tr><td valign="top"></td><td valign="top"><em>cobId</em> </td><td></td></tr>
|
|
331 |
</table>
|
|
332 |
</dl>
|
|
333 |
<dl class="return" compact><dt><b>Returns:</b></dt><dd></dd></dl>
|
|
334 |
|
|
335 |
<p>
|
|
336 |
Definition at line <a class="el" href="pdo_8c-source.html#l00181">181</a> of file <a class="el" href="pdo_8c-source.html">pdo.c</a>.
|
|
337 |
<p>
|
215
|
338 |
References <a class="el" href="pdo_8h-source.html#l00044">struct_s_PDO::cobId</a>, <a class="el" href="timer_8h-source.html#l00045">struct_s_timer_entry::d</a>, <a class="el" href="data_8h-source.html#l00050">struct_CO_Data::firstIndex</a>, <a class="el" href="data_8h-source.html#l00051">struct_CO_Data::lastIndex</a>, <a class="el" href="pdo_8h-source.html#l00045">struct_s_PDO::len</a>, <a class="el" href="hcs12_2applicfg_8h-source.html#l00190">MSG_WAR</a>, <a class="el" href="data_8h-source.html#l00048">struct_CO_Data::objdict</a>, <a class="el" href="objdictdef_8h-source.html#l00118">s_quick_index::PDO_RCV</a>, <a class="el" href="objdictdef_8h-source.html#l00100">td_subindex::pObject</a>, <a class="el" href="objdictdef_8h-source.html#l00107">td_indextable::pSubindex</a>, <a class="el" href="def_8h-source.html#l00054">REQUEST</a>, <a class="el" href="pdo_8c-source.html#l00037">sendPDO()</a>, <a class="el" href="hcs12_2applicfg_8h-source.html#l00140">UNS16</a>, <a class="el" href="hcs12_2applicfg_8h-source.html#l00141">UNS32</a>, and <a class="el" href="hcs12_2applicfg_8h-source.html#l00139">UNS8</a>.
|
210
|
339 |
<p>
|
|
340 |
Here is the call graph for this function:<p><center><img src="pdo_8c_cc08547009d3d2755d2291999941694c_cgraph.png" border="0" usemap="#pdo_8c_cc08547009d3d2755d2291999941694c_cgraph_map" alt=""></center>
|
|
341 |
<map name="pdo_8c_cc08547009d3d2755d2291999941694c_cgraph_map">
|
|
342 |
<area href="pdo_8c.html#d9a4a4f0a4ef48866c6184ccbd30f210" shape="rect" coords="191,6,273,30" alt="">
|
215
|
343 |
<area href="canOpenDriver_8c.html#b57b4b3c000e9f61135175495e874977" shape="rect" coords="324,6,404,30" alt="">
|
|
344 |
<area href="canOpenDriver_8c.html#2f2d1ed55cfd9d7f85883f8d70d318ba" shape="rect" coords="455,6,585,30" alt="">
|
|
345 |
</map>
|
|
346 |
|
|
347 |
</div>
|
|
348 |
</div><p>
|
|
349 |
<hr size="1"><address style="align: right;"><small>Generated on Fri Jun 8 08:52:12 2007 for CanFestival by
|
207
|
350 |
<a href="http://www.doxygen.org/index.html">
|
|
351 |
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address>
|
|
352 |
</body>
|
|
353 |
</html>
|