215
|
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: include/objacces.h 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_2209bfb26110ae52d50da4cefad5e72f.html">include</a></div>
|
|
22 |
<h1>objacces.h File Reference</h1>Responsible for accessing the object dictionary. <a href="#_details">More...</a>
|
|
23 |
<p>
|
|
24 |
<code>#include <<a class="el" href="win32_2applicfg_8h-source.html">applicfg.h</a>></code><br>
|
|
25 |
<code>#include "<a class="el" href="data_8h-source.html">data.h</a>"</code><br>
|
|
26 |
|
|
27 |
<p>
|
|
28 |
Include dependency graph for objacces.h:<p><center><img src="objacces_8h__incl.png" border="0" usemap="#include/objacces.h_map" alt=""></center>
|
|
29 |
<map name="include/objacces.h_map">
|
|
30 |
<area href="win32_2applicfg_8h.html" shape="rect" coords="595,323,683,347" alt="">
|
|
31 |
<area href="data_8h.html" shape="rect" coords="204,301,268,325" alt="">
|
|
32 |
<area href="def_8h.html" shape="rect" coords="479,448,535,472" alt="">
|
|
33 |
<area href="can_8h.html" shape="rect" coords="478,248,536,272" alt="">
|
|
34 |
<area href="objdictdef_8h.html" shape="rect" coords="320,107,422,131" alt="">
|
|
35 |
<area href="sdo_8h.html" shape="rect" coords="342,547,400,571" alt="">
|
|
36 |
<area href="pdo_8h.html" shape="rect" coords="342,397,400,421" alt="">
|
|
37 |
<area href="states_8h.html" shape="rect" coords="334,301,408,325" alt="">
|
|
38 |
<area href="lifegrd_8h.html" shape="rect" coords="332,349,410,373" alt="">
|
|
39 |
<area href="sync_8h.html" shape="rect" coords="338,155,404,179" alt="">
|
|
40 |
<area href="nmtMaster_8h.html" shape="rect" coords="318,203,424,227" alt="">
|
|
41 |
<area href="config_8h.html" shape="rect" coords="602,448,676,472" alt="">
|
|
42 |
<area href="timer_8h.html" shape="rect" coords="472,496,542,520" alt="">
|
|
43 |
<area href="win32_2timerscfg_8h.html" shape="rect" coords="590,496,688,520" alt="">
|
|
44 |
</map>
|
|
45 |
|
|
46 |
<p>
|
|
47 |
This graph shows which files directly or indirectly include this file:<p><center><img src="objacces_8h__dep__incl.png" border="0" usemap="#include/objacces.hdep_map" alt=""></center>
|
|
48 |
<map name="include/objacces.hdep_map">
|
|
49 |
<area href="dcf_8c.html" shape="rect" coords="224,6,301,30" alt="">
|
|
50 |
<area href="objacces_8c.html" shape="rect" coords="204,54,321,78" alt="">
|
|
51 |
<area href="pdo_8c.html" shape="rect" coords="221,102,304,126" alt="">
|
|
52 |
<area href="sdo_8c.html" shape="rect" coords="223,150,303,174" alt="">
|
|
53 |
<area href="data_8h.html" shape="rect" coords="204,198,321,222" alt="">
|
|
54 |
</map>
|
|
55 |
|
|
56 |
<p>
|
|
57 |
<a href="objacces_8h-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0">
|
|
58 |
<tr><td></td></tr>
|
|
59 |
<tr><td colspan="2"><br><h2>Typedefs</h2></td></tr>
|
|
60 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef UNS32(*) </td><td class="memItemRight" valign="bottom"><a class="el" href="objacces_8h.html#270e94e9acf61da8b2f36b3ebdbf2fdd">valueRangeTest_t</a> (UNS8 typeValue, void *Value)</td></tr>
|
|
61 |
|
|
62 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef void(*) </td><td class="memItemRight" valign="bottom"><a class="el" href="objacces_8h.html#7b55b55a3f5ed8e4b2991cb85c7be7ce">storeODSubIndex_t</a> (UNS16 wIndex, UNS8 bSubindex)</td></tr>
|
|
63 |
|
|
64 |
<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
|
|
65 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="objacces_8h.html#43bf8d2616cf3d7d713b4af3d33a139c">_storeODSubIndex</a> (UNS16 wIndex, UNS8 bSubindex)</td></tr>
|
|
66 |
|
|
67 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8 </td><td class="memItemRight" valign="bottom"><a class="el" href="objacces_8h.html#75d39b2dadcdb48f7321c6f3766aad26">accessDictionaryError</a> (UNS16 index, UNS8 subIndex, UNS8 sizeDataDict, UNS8 sizeDataGiven, UNS32 code)</td></tr>
|
|
68 |
|
|
69 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS32 </td><td class="memItemRight" valign="bottom"><a class="el" href="objacces_8h.html#39c263a4bc5d2d824fefe22fdb4c2dac">getODentry</a> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d, UNS16 wIndex, UNS8 bSubindex, void *pDestData, UNS8 *pExpectedSize, UNS8 *pDataType, UNS8 checkAccess)</td></tr>
|
|
70 |
|
|
71 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS32 </td><td class="memItemRight" valign="bottom"><a class="el" href="objacces_8h.html#17e598cc1b2e60380e2e4e75afe9b3b0">setODentry</a> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d, UNS16 wIndex, UNS8 bSubindex, void *pSourceData, UNS8 *pExpectedSize, UNS8 checkAccess)</td></tr>
|
|
72 |
|
|
73 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS32 </td><td class="memItemRight" valign="bottom"><a class="el" href="objacces_8h.html#7cc58d6e7711bd0d9fd75e8ff721ce36">writeLocalDict</a> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d, UNS16 wIndex, UNS8 bSubindex, void *pSourceData, UNS8 *pExpectedSize, UNS8 checkAccess)</td></tr>
|
|
74 |
|
|
75 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="structtd__indextable.html">indextable</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="objacces_8h.html#11e9f24840d05a6a622955b51f91af53">scanIndexOD</a> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d, UNS16 wIndex, UNS32 *errorCode, <a class="el" href="objdictdef_8h.html#91481b154cacc926ae5824fd121d6b43">ODCallback_t</a> **Callback)</td></tr>
|
|
76 |
|
|
77 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS32 </td><td class="memItemRight" valign="bottom"><a class="el" href="objacces_8h.html#514e7b9c13835a86446b1cd38fa34049">RegisterSetODentryCallBack</a> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d, UNS16 wIndex, UNS8 bSubindex, <a class="el" href="objdictdef_8h.html#91481b154cacc926ae5824fd121d6b43">ODCallback_t</a> Callback)</td></tr>
|
|
78 |
|
|
79 |
</table>
|
|
80 |
<hr><a name="_details"></a><h2>Detailed Description</h2>
|
|
81 |
Responsible for accessing the object dictionary.
|
|
82 |
<p>
|
|
83 |
This file contains functions for accessing the object dictionary and variables that are contained by the object dictionary. Accessing the object dictionary contains setting local variables as PDOs and accessing (read/write) all entries of the object dictionary <dl class="warning" compact><dt><b>Warning:</b></dt><dd>Only the basic entries of an object dictionary are included at the moment. </dd></dl>
|
|
84 |
|
|
85 |
<p>
|
|
86 |
Definition in file <a class="el" href="objacces_8h-source.html">objacces.h</a>.<hr><h2>Typedef Documentation</h2>
|
|
87 |
<a class="anchor" name="7b55b55a3f5ed8e4b2991cb85c7be7ce"></a><!-- doxytag: member="objacces.h::storeODSubIndex_t" ref="7b55b55a3f5ed8e4b2991cb85c7be7ce" args="(UNS16 wIndex, UNS8 bSubindex)" -->
|
|
88 |
<div class="memitem">
|
|
89 |
<div class="memproto">
|
|
90 |
<table class="memname">
|
|
91 |
<tr>
|
|
92 |
<td class="memname">typedef void(* ) <a class="el" href="objacces_8h.html#7b55b55a3f5ed8e4b2991cb85c7be7ce">storeODSubIndex_t</a>(UNS16 wIndex, UNS8 bSubindex) </td>
|
|
93 |
</tr>
|
|
94 |
</table>
|
|
95 |
</div>
|
|
96 |
<div class="memdoc">
|
|
97 |
|
|
98 |
<p>
|
|
99 |
|
|
100 |
<p>
|
|
101 |
Definition at line <a class="el" href="objacces_8h-source.html#l00040">40</a> of file <a class="el" href="objacces_8h-source.html">objacces.h</a>.
|
|
102 |
</div>
|
|
103 |
</div><p>
|
|
104 |
<a class="anchor" name="270e94e9acf61da8b2f36b3ebdbf2fdd"></a><!-- doxytag: member="objacces.h::valueRangeTest_t" ref="270e94e9acf61da8b2f36b3ebdbf2fdd" args="(UNS8 typeValue, void *Value)" -->
|
|
105 |
<div class="memitem">
|
|
106 |
<div class="memproto">
|
|
107 |
<table class="memname">
|
|
108 |
<tr>
|
|
109 |
<td class="memname">typedef UNS32(*) <a class="el" href="objacces_8h.html#270e94e9acf61da8b2f36b3ebdbf2fdd">valueRangeTest_t</a>(UNS8 typeValue, void *Value) </td>
|
|
110 |
</tr>
|
|
111 |
</table>
|
|
112 |
</div>
|
|
113 |
<div class="memdoc">
|
|
114 |
|
|
115 |
<p>
|
|
116 |
|
|
117 |
<p>
|
|
118 |
Definition at line <a class="el" href="objacces_8h-source.html#l00039">39</a> of file <a class="el" href="objacces_8h-source.html">objacces.h</a>.
|
|
119 |
</div>
|
|
120 |
</div><p>
|
|
121 |
<hr><h2>Function Documentation</h2>
|
|
122 |
<a class="anchor" name="43bf8d2616cf3d7d713b4af3d33a139c"></a><!-- doxytag: member="objacces.h::_storeODSubIndex" ref="43bf8d2616cf3d7d713b4af3d33a139c" args="(UNS16 wIndex, UNS8 bSubindex)" -->
|
|
123 |
<div class="memitem">
|
|
124 |
<div class="memproto">
|
|
125 |
<table class="memname">
|
|
126 |
<tr>
|
|
127 |
<td class="memname">void _storeODSubIndex </td>
|
|
128 |
<td>(</td>
|
|
129 |
<td class="paramtype">UNS16 </td>
|
|
130 |
<td class="paramname"> <em>wIndex</em>, </td>
|
|
131 |
</tr>
|
|
132 |
<tr>
|
|
133 |
<td class="paramkey"></td>
|
|
134 |
<td></td>
|
|
135 |
<td class="paramtype">UNS8 </td>
|
|
136 |
<td class="paramname"> <em>bSubindex</em></td><td> </td>
|
|
137 |
</tr>
|
|
138 |
<tr>
|
|
139 |
<td></td>
|
|
140 |
<td>)</td>
|
|
141 |
<td></td><td></td><td width="100%"></td>
|
|
142 |
</tr>
|
|
143 |
</table>
|
|
144 |
</div>
|
|
145 |
<div class="memdoc">
|
|
146 |
|
|
147 |
<p>
|
|
148 |
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
149 |
<table border="0" cellspacing="2" cellpadding="0">
|
|
150 |
<tr><td valign="top"></td><td valign="top"><em>wIndex</em> </td><td></td></tr>
|
|
151 |
<tr><td valign="top"></td><td valign="top"><em>bSubindex</em> </td><td></td></tr>
|
|
152 |
</table>
|
|
153 |
</dl>
|
|
154 |
|
|
155 |
<p>
|
|
156 |
Definition at line <a class="el" href="objacces_8c-source.html#l00436">436</a> of file <a class="el" href="objacces_8c-source.html">objacces.c</a>.
|
|
157 |
</div>
|
|
158 |
</div><p>
|
|
159 |
<a class="anchor" name="75d39b2dadcdb48f7321c6f3766aad26"></a><!-- doxytag: member="objacces.h::accessDictionaryError" ref="75d39b2dadcdb48f7321c6f3766aad26" args="(UNS16 index, UNS8 subIndex, UNS8 sizeDataDict, UNS8 sizeDataGiven, UNS32 code)" -->
|
|
160 |
<div class="memitem">
|
|
161 |
<div class="memproto">
|
|
162 |
<table class="memname">
|
|
163 |
<tr>
|
|
164 |
<td class="memname">UNS8 accessDictionaryError </td>
|
|
165 |
<td>(</td>
|
|
166 |
<td class="paramtype">UNS16 </td>
|
|
167 |
<td class="paramname"> <em>index</em>, </td>
|
|
168 |
</tr>
|
|
169 |
<tr>
|
|
170 |
<td class="paramkey"></td>
|
|
171 |
<td></td>
|
|
172 |
<td class="paramtype">UNS8 </td>
|
|
173 |
<td class="paramname"> <em>subIndex</em>, </td>
|
|
174 |
</tr>
|
|
175 |
<tr>
|
|
176 |
<td class="paramkey"></td>
|
|
177 |
<td></td>
|
|
178 |
<td class="paramtype">UNS8 </td>
|
|
179 |
<td class="paramname"> <em>sizeDataDict</em>, </td>
|
|
180 |
</tr>
|
|
181 |
<tr>
|
|
182 |
<td class="paramkey"></td>
|
|
183 |
<td></td>
|
|
184 |
<td class="paramtype">UNS8 </td>
|
|
185 |
<td class="paramname"> <em>sizeDataGiven</em>, </td>
|
|
186 |
</tr>
|
|
187 |
<tr>
|
|
188 |
<td class="paramkey"></td>
|
|
189 |
<td></td>
|
|
190 |
<td class="paramtype">UNS32 </td>
|
|
191 |
<td class="paramname"> <em>code</em></td><td> </td>
|
|
192 |
</tr>
|
|
193 |
<tr>
|
|
194 |
<td></td>
|
|
195 |
<td>)</td>
|
|
196 |
<td></td><td></td><td width="100%"></td>
|
|
197 |
</tr>
|
|
198 |
</table>
|
|
199 |
</div>
|
|
200 |
<div class="memdoc">
|
|
201 |
|
|
202 |
<p>
|
|
203 |
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
204 |
<table border="0" cellspacing="2" cellpadding="0">
|
|
205 |
<tr><td valign="top"></td><td valign="top"><em>index</em> </td><td></td></tr>
|
|
206 |
<tr><td valign="top"></td><td valign="top"><em>subIndex</em> </td><td></td></tr>
|
|
207 |
<tr><td valign="top"></td><td valign="top"><em>sizeDataDict</em> </td><td></td></tr>
|
|
208 |
<tr><td valign="top"></td><td valign="top"><em>sizeDataGiven</em> </td><td></td></tr>
|
|
209 |
<tr><td valign="top"></td><td valign="top"><em>code</em> </td><td></td></tr>
|
|
210 |
</table>
|
|
211 |
</dl>
|
|
212 |
<dl class="return" compact><dt><b>Returns:</b></dt><dd></dd></dl>
|
|
213 |
|
|
214 |
<p>
|
|
215 |
Definition at line <a class="el" href="objacces_8c-source.html#l00055">55</a> of file <a class="el" href="objacces_8c-source.html">objacces.c</a>.
|
|
216 |
<p>
|
|
217 |
References <a class="el" href="hcs12_2applicfg_8h-source.html#l00190">MSG_WAR</a>, <a class="el" href="def_8h-source.html#l00036">OD_LENGTH_DATA_INVALID</a>, <a class="el" href="def_8h-source.html#l00034">OD_NO_SUCH_OBJECT</a>, <a class="el" href="def_8h-source.html#l00037">OD_NO_SUCH_SUBINDEX</a>, <a class="el" href="def_8h-source.html#l00035">OD_NOT_MAPPABLE</a>, <a class="el" href="def_8h-source.html#l00039">OD_VALUE_TOO_HIGH</a>, <a class="el" href="def_8h-source.html#l00038">OD_VALUE_TOO_LOW</a>, and <a class="el" href="def_8h-source.html#l00033">OD_WRITE_NOT_ALLOWED</a>.
|
|
218 |
<p>
|
|
219 |
Referenced by <a class="el" href="objacces_8c-source.html#l00105">_getODentry()</a>, and <a class="el" href="objacces_8c-source.html#l00260">_setODentry()</a>.
|
|
220 |
</div>
|
|
221 |
</div><p>
|
|
222 |
<a class="anchor" name="39c263a4bc5d2d824fefe22fdb4c2dac"></a><!-- doxytag: member="objacces.h::getODentry" ref="39c263a4bc5d2d824fefe22fdb4c2dac" args="(CO_Data *d, UNS16 wIndex, UNS8 bSubindex, void *pDestData, UNS8 *pExpectedSize, UNS8 *pDataType, UNS8 checkAccess)" -->
|
|
223 |
<div class="memitem">
|
|
224 |
<div class="memproto">
|
|
225 |
<table class="memname">
|
|
226 |
<tr>
|
|
227 |
<td class="memname">UNS32 getODentry </td>
|
|
228 |
<td>(</td>
|
|
229 |
<td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> * </td>
|
|
230 |
<td class="paramname"> <em>d</em>, </td>
|
|
231 |
</tr>
|
|
232 |
<tr>
|
|
233 |
<td class="paramkey"></td>
|
|
234 |
<td></td>
|
|
235 |
<td class="paramtype">UNS16 </td>
|
|
236 |
<td class="paramname"> <em>wIndex</em>, </td>
|
|
237 |
</tr>
|
|
238 |
<tr>
|
|
239 |
<td class="paramkey"></td>
|
|
240 |
<td></td>
|
|
241 |
<td class="paramtype">UNS8 </td>
|
|
242 |
<td class="paramname"> <em>bSubindex</em>, </td>
|
|
243 |
</tr>
|
|
244 |
<tr>
|
|
245 |
<td class="paramkey"></td>
|
|
246 |
<td></td>
|
|
247 |
<td class="paramtype">void * </td>
|
|
248 |
<td class="paramname"> <em>pDestData</em>, </td>
|
|
249 |
</tr>
|
|
250 |
<tr>
|
|
251 |
<td class="paramkey"></td>
|
|
252 |
<td></td>
|
|
253 |
<td class="paramtype">UNS8 * </td>
|
|
254 |
<td class="paramname"> <em>pExpectedSize</em>, </td>
|
|
255 |
</tr>
|
|
256 |
<tr>
|
|
257 |
<td class="paramkey"></td>
|
|
258 |
<td></td>
|
|
259 |
<td class="paramtype">UNS8 * </td>
|
|
260 |
<td class="paramname"> <em>pDataType</em>, </td>
|
|
261 |
</tr>
|
|
262 |
<tr>
|
|
263 |
<td class="paramkey"></td>
|
|
264 |
<td></td>
|
|
265 |
<td class="paramtype">UNS8 </td>
|
|
266 |
<td class="paramname"> <em>checkAccess</em></td><td> </td>
|
|
267 |
</tr>
|
|
268 |
<tr>
|
|
269 |
<td></td>
|
|
270 |
<td>)</td>
|
|
271 |
<td></td><td></td><td width="100%"></td>
|
|
272 |
</tr>
|
|
273 |
</table>
|
|
274 |
</div>
|
|
275 |
<div class="memdoc">
|
|
276 |
|
|
277 |
<p>
|
|
278 |
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
279 |
<table border="0" cellspacing="2" cellpadding="0">
|
|
280 |
<tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr>
|
|
281 |
<tr><td valign="top"></td><td valign="top"><em>wIndex</em> </td><td></td></tr>
|
|
282 |
<tr><td valign="top"></td><td valign="top"><em>bSubindex</em> </td><td></td></tr>
|
|
283 |
<tr><td valign="top"></td><td valign="top"><em>pDestData</em> </td><td></td></tr>
|
|
284 |
<tr><td valign="top"></td><td valign="top"><em>pExpectedSize</em> </td><td></td></tr>
|
|
285 |
<tr><td valign="top"></td><td valign="top"><em>pDataType</em> </td><td></td></tr>
|
|
286 |
<tr><td valign="top"></td><td valign="top"><em>checkAccess</em> </td><td></td></tr>
|
|
287 |
</table>
|
|
288 |
</dl>
|
|
289 |
<dl class="return" compact><dt><b>Returns:</b></dt><dd></dd></dl>
|
|
290 |
|
|
291 |
<p>
|
|
292 |
Definition at line <a class="el" href="objacces_8c-source.html#l00198">198</a> of file <a class="el" href="objacces_8c-source.html">objacces.c</a>.
|
|
293 |
<p>
|
|
294 |
References <a class="el" href="objacces_8c-source.html#l00105">_getODentry()</a>, and <a class="el" href="timer_8h-source.html#l00045">struct_s_timer_entry::d</a>.
|
|
295 |
<p>
|
|
296 |
Referenced by <a class="el" href="sdo_8c-source.html#l00209">objdictToSDOline()</a>, <a class="el" href="pdo_8c-source.html#l00221">proceedPDO()</a>, and <a class="el" href="sync_8c-source.html#l00141">proceedSYNC()</a>.
|
|
297 |
<p>
|
|
298 |
Here is the call graph for this function:<p><center><img src="objacces_8h_39c263a4bc5d2d824fefe22fdb4c2dac_cgraph.png" border="0" usemap="#objacces_8h_39c263a4bc5d2d824fefe22fdb4c2dac_cgraph_map" alt=""></center>
|
|
299 |
<map name="objacces_8h_39c263a4bc5d2d824fefe22fdb4c2dac_cgraph_map">
|
|
300 |
<area href="objacces_8c.html#49e9444c8c8d39906a40a153366ed09c" shape="rect" coords="156,6,263,30" alt="">
|
|
301 |
<area href="objacces_8c.html#75d39b2dadcdb48f7321c6f3766aad26" shape="rect" coords="313,6,481,30" alt="">
|
|
302 |
</map>
|
|
303 |
|
|
304 |
</div>
|
|
305 |
</div><p>
|
|
306 |
<a class="anchor" name="514e7b9c13835a86446b1cd38fa34049"></a><!-- doxytag: member="objacces.h::RegisterSetODentryCallBack" ref="514e7b9c13835a86446b1cd38fa34049" args="(CO_Data *d, UNS16 wIndex, UNS8 bSubindex, ODCallback_t Callback)" -->
|
|
307 |
<div class="memitem">
|
|
308 |
<div class="memproto">
|
|
309 |
<table class="memname">
|
|
310 |
<tr>
|
|
311 |
<td class="memname">UNS32 RegisterSetODentryCallBack </td>
|
|
312 |
<td>(</td>
|
|
313 |
<td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> * </td>
|
|
314 |
<td class="paramname"> <em>d</em>, </td>
|
|
315 |
</tr>
|
|
316 |
<tr>
|
|
317 |
<td class="paramkey"></td>
|
|
318 |
<td></td>
|
|
319 |
<td class="paramtype">UNS16 </td>
|
|
320 |
<td class="paramname"> <em>wIndex</em>, </td>
|
|
321 |
</tr>
|
|
322 |
<tr>
|
|
323 |
<td class="paramkey"></td>
|
|
324 |
<td></td>
|
|
325 |
<td class="paramtype">UNS8 </td>
|
|
326 |
<td class="paramname"> <em>bSubindex</em>, </td>
|
|
327 |
</tr>
|
|
328 |
<tr>
|
|
329 |
<td class="paramkey"></td>
|
|
330 |
<td></td>
|
|
331 |
<td class="paramtype"><a class="el" href="objdictdef_8h.html#91481b154cacc926ae5824fd121d6b43">ODCallback_t</a> </td>
|
|
332 |
<td class="paramname"> <em>Callback</em></td><td> </td>
|
|
333 |
</tr>
|
|
334 |
<tr>
|
|
335 |
<td></td>
|
|
336 |
<td>)</td>
|
|
337 |
<td></td><td></td><td width="100%"></td>
|
|
338 |
</tr>
|
|
339 |
</table>
|
|
340 |
</div>
|
|
341 |
<div class="memdoc">
|
|
342 |
|
|
343 |
<p>
|
|
344 |
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
345 |
<table border="0" cellspacing="2" cellpadding="0">
|
|
346 |
<tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr>
|
|
347 |
<tr><td valign="top"></td><td valign="top"><em>wIndex</em> </td><td></td></tr>
|
|
348 |
<tr><td valign="top"></td><td valign="top"><em>bSubindex</em> </td><td></td></tr>
|
|
349 |
<tr><td valign="top"></td><td valign="top"><em>Callback</em> </td><td></td></tr>
|
|
350 |
</table>
|
|
351 |
</dl>
|
|
352 |
<dl class="return" compact><dt><b>Returns:</b></dt><dd></dd></dl>
|
|
353 |
|
|
354 |
<p>
|
|
355 |
Definition at line <a class="el" href="objacces_8c-source.html#l00419">419</a> of file <a class="el" href="objacces_8c-source.html">objacces.c</a>.
|
|
356 |
<p>
|
|
357 |
References <a class="el" href="timer_8h-source.html#l00045">struct_s_timer_entry::d</a>, <a class="el" href="def_8h-source.html#l00031">OD_SUCCESSFUL</a>, <a class="el" href="objacces_8c-source.html#l00404">scanIndexOD()</a>, and <a class="el" href="hcs12_2applicfg_8h-source.html#l00141">UNS32</a>.
|
|
358 |
<p>
|
|
359 |
Referenced by <a class="el" href="lifegrd_8c-source.html#l00206">heartbeatInit()</a>, <a class="el" href="TestMasterSlave_8c-source.html#l00093">InitNodes()</a>, and <a class="el" href="sync_8c-source.html#l00080">startSYNC()</a>.
|
|
360 |
<p>
|
|
361 |
Here is the call graph for this function:<p><center><img src="objacces_8h_514e7b9c13835a86446b1cd38fa34049_cgraph.png" border="0" usemap="#objacces_8h_514e7b9c13835a86446b1cd38fa34049_cgraph_map" alt=""></center>
|
|
362 |
<map name="objacces_8h_514e7b9c13835a86446b1cd38fa34049_cgraph_map">
|
|
363 |
<area href="objacces_8c.html#11e9f24840d05a6a622955b51f91af53" shape="rect" coords="267,6,379,30" alt="">
|
|
364 |
</map>
|
|
365 |
|
|
366 |
</div>
|
|
367 |
</div><p>
|
|
368 |
<a class="anchor" name="11e9f24840d05a6a622955b51f91af53"></a><!-- doxytag: member="objacces.h::scanIndexOD" ref="11e9f24840d05a6a622955b51f91af53" args="(CO_Data *d, UNS16 wIndex, UNS32 *errorCode, ODCallback_t **Callback)" -->
|
|
369 |
<div class="memitem">
|
|
370 |
<div class="memproto">
|
|
371 |
<table class="memname">
|
|
372 |
<tr>
|
|
373 |
<td class="memname">const <a class="el" href="structtd__indextable.html">indextable</a>* scanIndexOD </td>
|
|
374 |
<td>(</td>
|
|
375 |
<td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> * </td>
|
|
376 |
<td class="paramname"> <em>d</em>, </td>
|
|
377 |
</tr>
|
|
378 |
<tr>
|
|
379 |
<td class="paramkey"></td>
|
|
380 |
<td></td>
|
|
381 |
<td class="paramtype">UNS16 </td>
|
|
382 |
<td class="paramname"> <em>wIndex</em>, </td>
|
|
383 |
</tr>
|
|
384 |
<tr>
|
|
385 |
<td class="paramkey"></td>
|
|
386 |
<td></td>
|
|
387 |
<td class="paramtype">UNS32 * </td>
|
|
388 |
<td class="paramname"> <em>errorCode</em>, </td>
|
|
389 |
</tr>
|
|
390 |
<tr>
|
|
391 |
<td class="paramkey"></td>
|
|
392 |
<td></td>
|
|
393 |
<td class="paramtype"><a class="el" href="objdictdef_8h.html#91481b154cacc926ae5824fd121d6b43">ODCallback_t</a> ** </td>
|
|
394 |
<td class="paramname"> <em>Callback</em></td><td> </td>
|
|
395 |
</tr>
|
|
396 |
<tr>
|
|
397 |
<td></td>
|
|
398 |
<td>)</td>
|
|
399 |
<td></td><td></td><td width="100%"></td>
|
|
400 |
</tr>
|
|
401 |
</table>
|
|
402 |
</div>
|
|
403 |
<div class="memdoc">
|
|
404 |
|
|
405 |
<p>
|
|
406 |
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
407 |
<table border="0" cellspacing="2" cellpadding="0">
|
|
408 |
<tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr>
|
|
409 |
<tr><td valign="top"></td><td valign="top"><em>wIndex</em> </td><td></td></tr>
|
|
410 |
<tr><td valign="top"></td><td valign="top"><em>errorCode</em> </td><td></td></tr>
|
|
411 |
<tr><td valign="top"></td><td valign="top"><em>Callback</em> </td><td></td></tr>
|
|
412 |
</table>
|
|
413 |
</dl>
|
|
414 |
<dl class="return" compact><dt><b>Returns:</b></dt><dd></dd></dl>
|
|
415 |
|
|
416 |
<p>
|
|
417 |
Definition at line <a class="el" href="objacces_8c-source.html#l00404">404</a> of file <a class="el" href="objacces_8c-source.html">objacces.c</a>.
|
|
418 |
<p>
|
|
419 |
References <a class="el" href="timer_8h-source.html#l00045">struct_s_timer_entry::d</a>, and <a class="el" href="data_8h-source.html#l00091">struct_CO_Data::scanIndexOD</a>.
|
|
420 |
<p>
|
|
421 |
Referenced by <a class="el" href="objacces_8c-source.html#l00419">RegisterSetODentryCallBack()</a>.
|
|
422 |
</div>
|
|
423 |
</div><p>
|
|
424 |
<a class="anchor" name="17e598cc1b2e60380e2e4e75afe9b3b0"></a><!-- doxytag: member="objacces.h::setODentry" ref="17e598cc1b2e60380e2e4e75afe9b3b0" args="(CO_Data *d, UNS16 wIndex, UNS8 bSubindex, void *pSourceData, UNS8 *pExpectedSize, UNS8 checkAccess)" -->
|
|
425 |
<div class="memitem">
|
|
426 |
<div class="memproto">
|
|
427 |
<table class="memname">
|
|
428 |
<tr>
|
|
429 |
<td class="memname">UNS32 setODentry </td>
|
|
430 |
<td>(</td>
|
|
431 |
<td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> * </td>
|
|
432 |
<td class="paramname"> <em>d</em>, </td>
|
|
433 |
</tr>
|
|
434 |
<tr>
|
|
435 |
<td class="paramkey"></td>
|
|
436 |
<td></td>
|
|
437 |
<td class="paramtype">UNS16 </td>
|
|
438 |
<td class="paramname"> <em>wIndex</em>, </td>
|
|
439 |
</tr>
|
|
440 |
<tr>
|
|
441 |
<td class="paramkey"></td>
|
|
442 |
<td></td>
|
|
443 |
<td class="paramtype">UNS8 </td>
|
|
444 |
<td class="paramname"> <em>bSubindex</em>, </td>
|
|
445 |
</tr>
|
|
446 |
<tr>
|
|
447 |
<td class="paramkey"></td>
|
|
448 |
<td></td>
|
|
449 |
<td class="paramtype">void * </td>
|
|
450 |
<td class="paramname"> <em>pSourceData</em>, </td>
|
|
451 |
</tr>
|
|
452 |
<tr>
|
|
453 |
<td class="paramkey"></td>
|
|
454 |
<td></td>
|
|
455 |
<td class="paramtype">UNS8 * </td>
|
|
456 |
<td class="paramname"> <em>pExpectedSize</em>, </td>
|
|
457 |
</tr>
|
|
458 |
<tr>
|
|
459 |
<td class="paramkey"></td>
|
|
460 |
<td></td>
|
|
461 |
<td class="paramtype">UNS8 </td>
|
|
462 |
<td class="paramname"> <em>checkAccess</em></td><td> </td>
|
|
463 |
</tr>
|
|
464 |
<tr>
|
|
465 |
<td></td>
|
|
466 |
<td>)</td>
|
|
467 |
<td></td><td></td><td width="100%"></td>
|
|
468 |
</tr>
|
|
469 |
</table>
|
|
470 |
</div>
|
|
471 |
<div class="memdoc">
|
|
472 |
|
|
473 |
<p>
|
|
474 |
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
475 |
<table border="0" cellspacing="2" cellpadding="0">
|
|
476 |
<tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr>
|
|
477 |
<tr><td valign="top"></td><td valign="top"><em>wIndex</em> </td><td></td></tr>
|
|
478 |
<tr><td valign="top"></td><td valign="top"><em>bSubindex</em> </td><td></td></tr>
|
|
479 |
<tr><td valign="top"></td><td valign="top"><em>pSourceData</em> </td><td></td></tr>
|
|
480 |
<tr><td valign="top"></td><td valign="top"><em>pExpectedSize</em> </td><td></td></tr>
|
|
481 |
<tr><td valign="top"></td><td valign="top"><em>checkAccess</em> </td><td></td></tr>
|
|
482 |
</table>
|
|
483 |
</dl>
|
|
484 |
<dl class="return" compact><dt><b>Returns:</b></dt><dd></dd></dl>
|
|
485 |
|
|
486 |
<p>
|
|
487 |
Definition at line <a class="el" href="objacces_8c-source.html#l00350">350</a> of file <a class="el" href="objacces_8c-source.html">objacces.c</a>.
|
|
488 |
<p>
|
|
489 |
References <a class="el" href="objacces_8c-source.html#l00260">_setODentry()</a>, and <a class="el" href="timer_8h-source.html#l00045">struct_s_timer_entry::d</a>.
|
|
490 |
<p>
|
|
491 |
Referenced by <a class="el" href="pdo_8c-source.html#l00221">proceedPDO()</a>, and <a class="el" href="sdo_8c-source.html#l00186">SDOlineToObjdict()</a>.
|
|
492 |
<p>
|
|
493 |
Here is the call graph for this function:<p><center><img src="objacces_8h_17e598cc1b2e60380e2e4e75afe9b3b0_cgraph.png" border="0" usemap="#objacces_8h_17e598cc1b2e60380e2e4e75afe9b3b0_cgraph_map" alt=""></center>
|
|
494 |
<map name="objacces_8h_17e598cc1b2e60380e2e4e75afe9b3b0_cgraph_map">
|
|
495 |
<area href="objacces_8c.html#72f69950be4a1352fc78648c71454820" shape="rect" coords="152,6,259,30" alt="">
|
|
496 |
<area href="objacces_8c.html#75d39b2dadcdb48f7321c6f3766aad26" shape="rect" coords="308,6,476,30" alt="">
|
|
497 |
</map>
|
|
498 |
|
|
499 |
</div>
|
|
500 |
</div><p>
|
|
501 |
<a class="anchor" name="7cc58d6e7711bd0d9fd75e8ff721ce36"></a><!-- doxytag: member="objacces.h::writeLocalDict" ref="7cc58d6e7711bd0d9fd75e8ff721ce36" args="(CO_Data *d, UNS16 wIndex, UNS8 bSubindex, void *pSourceData, UNS8 *pExpectedSize, UNS8 checkAccess)" -->
|
|
502 |
<div class="memitem">
|
|
503 |
<div class="memproto">
|
|
504 |
<table class="memname">
|
|
505 |
<tr>
|
|
506 |
<td class="memname">UNS32 writeLocalDict </td>
|
|
507 |
<td>(</td>
|
|
508 |
<td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> * </td>
|
|
509 |
<td class="paramname"> <em>d</em>, </td>
|
|
510 |
</tr>
|
|
511 |
<tr>
|
|
512 |
<td class="paramkey"></td>
|
|
513 |
<td></td>
|
|
514 |
<td class="paramtype">UNS16 </td>
|
|
515 |
<td class="paramname"> <em>wIndex</em>, </td>
|
|
516 |
</tr>
|
|
517 |
<tr>
|
|
518 |
<td class="paramkey"></td>
|
|
519 |
<td></td>
|
|
520 |
<td class="paramtype">UNS8 </td>
|
|
521 |
<td class="paramname"> <em>bSubindex</em>, </td>
|
|
522 |
</tr>
|
|
523 |
<tr>
|
|
524 |
<td class="paramkey"></td>
|
|
525 |
<td></td>
|
|
526 |
<td class="paramtype">void * </td>
|
|
527 |
<td class="paramname"> <em>pSourceData</em>, </td>
|
|
528 |
</tr>
|
|
529 |
<tr>
|
|
530 |
<td class="paramkey"></td>
|
|
531 |
<td></td>
|
|
532 |
<td class="paramtype">UNS8 * </td>
|
|
533 |
<td class="paramname"> <em>pExpectedSize</em>, </td>
|
|
534 |
</tr>
|
|
535 |
<tr>
|
|
536 |
<td class="paramkey"></td>
|
|
537 |
<td></td>
|
|
538 |
<td class="paramtype">UNS8 </td>
|
|
539 |
<td class="paramname"> <em>checkAccess</em></td><td> </td>
|
|
540 |
</tr>
|
|
541 |
<tr>
|
|
542 |
<td></td>
|
|
543 |
<td>)</td>
|
|
544 |
<td></td><td></td><td width="100%"></td>
|
|
545 |
</tr>
|
|
546 |
</table>
|
|
547 |
</div>
|
|
548 |
<div class="memdoc">
|
|
549 |
|
|
550 |
<p>
|
|
551 |
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
552 |
<table border="0" cellspacing="2" cellpadding="0">
|
|
553 |
<tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr>
|
|
554 |
<tr><td valign="top"></td><td valign="top"><em>wIndex</em> </td><td></td></tr>
|
|
555 |
<tr><td valign="top"></td><td valign="top"><em>bSubindex</em> </td><td></td></tr>
|
|
556 |
<tr><td valign="top"></td><td valign="top"><em>pSourceData</em> </td><td></td></tr>
|
|
557 |
<tr><td valign="top"></td><td valign="top"><em>pExpectedSize</em> </td><td></td></tr>
|
|
558 |
<tr><td valign="top"></td><td valign="top"><em>checkAccess</em> </td><td></td></tr>
|
|
559 |
</table>
|
|
560 |
</dl>
|
|
561 |
<dl class="return" compact><dt><b>Returns:</b></dt><dd></dd></dl>
|
|
562 |
|
|
563 |
<p>
|
|
564 |
Definition at line <a class="el" href="objacces_8c-source.html#l00378">378</a> of file <a class="el" href="objacces_8c-source.html">objacces.c</a>.
|
|
565 |
<p>
|
|
566 |
References <a class="el" href="objacces_8c-source.html#l00260">_setODentry()</a>, and <a class="el" href="timer_8h-source.html#l00045">struct_s_timer_entry::d</a>.
|
|
567 |
<p>
|
|
568 |
Referenced by <a class="el" href="main_8c-source.html#l00079">main()</a>, and <a class="el" href="TestMasterMicroMod_8c-source.html#l00055">TestMaster_initialisation()</a>.
|
|
569 |
<p>
|
|
570 |
Here is the call graph for this function:<p><center><img src="objacces_8h_7cc58d6e7711bd0d9fd75e8ff721ce36_cgraph.png" border="0" usemap="#objacces_8h_7cc58d6e7711bd0d9fd75e8ff721ce36_cgraph_map" alt=""></center>
|
|
571 |
<map name="objacces_8h_7cc58d6e7711bd0d9fd75e8ff721ce36_cgraph_map">
|
|
572 |
<area href="objacces_8c.html#72f69950be4a1352fc78648c71454820" shape="rect" coords="171,6,277,30" alt="">
|
|
573 |
<area href="objacces_8c.html#75d39b2dadcdb48f7321c6f3766aad26" shape="rect" coords="327,6,495,30" alt="">
|
|
574 |
</map>
|
|
575 |
|
|
576 |
</div>
|
|
577 |
</div><p>
|
|
578 |
<hr size="1"><address style="align: right;"><small>Generated on Fri Jun 8 08:52:01 2007 for CanFestival by
|
|
579 |
<a href="http://www.doxygen.org/index.html">
|
|
580 |
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address>
|
|
581 |
</body>
|
|
582 |
</html>
|