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">
|
240
|
21 |
<a class="el" href="dir_bb27f6e70a4a8ab6966321815f15a33d.html">include</a></div>
|
215
|
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">
|
240
|
30 |
<area href="win32_2applicfg_8h.html" shape="rect" coords="527,313,601,340" alt="">
|
|
31 |
<area href="data_8h.html" shape="rect" coords="173,288,227,315" alt="">
|
|
32 |
<area href="def_8h.html" shape="rect" coords="420,440,468,467" alt="">
|
|
33 |
<area href="can_8h.html" shape="rect" coords="420,288,468,315" alt="">
|
|
34 |
<area href="objdictdef_8h.html" shape="rect" coords="277,85,363,112" alt="">
|
|
35 |
<area href="sdo_8h.html" shape="rect" coords="296,491,344,517" alt="">
|
|
36 |
<area href="pdo_8h.html" shape="rect" coords="295,339,345,365" alt="">
|
|
37 |
<area href="states_8h.html" shape="rect" coords="289,389,351,416" alt="">
|
|
38 |
<area href="lifegrd_8h.html" shape="rect" coords="287,35,353,61" alt="">
|
|
39 |
<area href="sync_8h.html" shape="rect" coords="292,187,348,213" alt="">
|
|
40 |
<area href="nmtMaster_8h.html" shape="rect" coords="276,237,364,264" alt="">
|
|
41 |
<area href="config_8h.html" shape="rect" coords="532,440,596,467" alt="">
|
|
42 |
<area href="timer_8h.html" shape="rect" coords="415,491,473,517" alt="">
|
|
43 |
<area href="win32_2timerscfg_8h.html" shape="rect" coords="524,491,604,517" alt="">
|
215
|
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">
|
240
|
49 |
<area href="dcf_8c.html" shape="rect" coords="188,5,255,32" alt="">
|
|
50 |
<area href="objacces_8c.html" shape="rect" coords="173,56,269,83" alt="">
|
|
51 |
<area href="pdo_8c.html" shape="rect" coords="187,107,256,133" alt="">
|
|
52 |
<area href="sdo_8c.html" shape="rect" coords="188,157,255,184" alt="">
|
|
53 |
<area href="data_8h.html" shape="rect" coords="173,208,269,235" alt="">
|
215
|
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>
|
240
|
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#0c04a935735f5dbc8466f6e0a981723b">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#0fffa15168046a1e8231be4c80aa4ac4">storeODSubIndex_t</a> (UNS16 wIndex, UNS8 bSubindex)</td></tr>
|
215
|
63 |
|
|
64 |
<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
|
240
|
65 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="objacces_8h.html#8c45d7c0745b490ef4ea58f09bae358f">_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#8577ef029b11faa6cfd1102f6bb10f59">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#cad0c118b1e06230c9cceb8e3985822b">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#dad5d2f7890168cade2fbb7e0e4c6200">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#205ea90bcc1c528d291fb60102f19451">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#b2839d53051e322c12605c1d7f3dc4e5">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#01303c7a6ee17ba5678931e2756dd5e6">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#9a512a966532e40f35d3a4201bf54ead">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#01303c7a6ee17ba5678931e2756dd5e6">ODCallback_t</a> Callback)</td></tr>
|
215
|
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>
|
240
|
87 |
<a class="anchor" name="0fffa15168046a1e8231be4c80aa4ac4"></a><!-- doxytag: member="objacces.h::storeODSubIndex_t" ref="0fffa15168046a1e8231be4c80aa4ac4" 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#0fffa15168046a1e8231be4c80aa4ac4">storeODSubIndex_t</a>(UNS16 wIndex, UNS8 bSubindex) </td>
|
215
|
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>
|
240
|
104 |
<a class="anchor" name="0c04a935735f5dbc8466f6e0a981723b"></a><!-- doxytag: member="objacces.h::valueRangeTest_t" ref="0c04a935735f5dbc8466f6e0a981723b" 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#0c04a935735f5dbc8466f6e0a981723b">valueRangeTest_t</a>(UNS8 typeValue, void *Value) </td>
|
215
|
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>
|
240
|
122 |
<a class="anchor" name="8c45d7c0745b490ef4ea58f09bae358f"></a><!-- doxytag: member="objacces.h::_storeODSubIndex" ref="8c45d7c0745b490ef4ea58f09bae358f" args="(UNS16 wIndex, UNS8 bSubindex)" -->
|
215
|
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>
|
240
|
159 |
<a class="anchor" name="8577ef029b11faa6cfd1102f6bb10f59"></a><!-- doxytag: member="objacces.h::accessDictionaryError" ref="8577ef029b11faa6cfd1102f6bb10f59" args="(UNS16 index, UNS8 subIndex, UNS8 sizeDataDict, UNS8 sizeDataGiven, UNS32 code)" -->
|
215
|
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>
|
240
|
222 |
<a class="anchor" name="cad0c118b1e06230c9cceb8e3985822b"></a><!-- doxytag: member="objacces.h::getODentry" ref="cad0c118b1e06230c9cceb8e3985822b" args="(CO_Data *d, UNS16 wIndex, UNS8 bSubindex, void *pDestData, UNS8 *pExpectedSize, UNS8 *pDataType, UNS8 checkAccess)" -->
|
215
|
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>
|
240
|
296 |
Referenced by <a class="el" href="pdo_8c-source.html#l00048">buildPDO()</a>, and <a class="el" href="sdo_8c-source.html#l00209">objdictToSDOline()</a>.
|
|
297 |
<p>
|
|
298 |
Here is the call graph for this function:<p><center><img src="objacces_8h_cad0c118b1e06230c9cceb8e3985822b_cgraph.png" border="0" usemap="#objacces_8h_cad0c118b1e06230c9cceb8e3985822b_cgraph_map" alt=""></center>
|
|
299 |
<map name="objacces_8h_cad0c118b1e06230c9cceb8e3985822b_cgraph_map">
|
|
300 |
<area href="objacces_8c.html#6a3eb5cb9f79f3bee030bfbb6fdd7711" shape="rect" coords="139,5,229,32" alt="">
|
|
301 |
<area href="objacces_8c.html#8577ef029b11faa6cfd1102f6bb10f59" shape="rect" coords="279,5,417,32" alt="">
|
215
|
302 |
</map>
|
|
303 |
|
|
304 |
</div>
|
|
305 |
</div><p>
|
240
|
306 |
<a class="anchor" name="9a512a966532e40f35d3a4201bf54ead"></a><!-- doxytag: member="objacces.h::RegisterSetODentryCallBack" ref="9a512a966532e40f35d3a4201bf54ead" args="(CO_Data *d, UNS16 wIndex, UNS8 bSubindex, ODCallback_t Callback)" -->
|
215
|
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>
|
240
|
331 |
<td class="paramtype"><a class="el" href="objdictdef_8h.html#01303c7a6ee17ba5678931e2756dd5e6">ODCallback_t</a> </td>
|
215
|
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>
|
240
|
361 |
Here is the call graph for this function:<p><center><img src="objacces_8h_9a512a966532e40f35d3a4201bf54ead_cgraph.png" border="0" usemap="#objacces_8h_9a512a966532e40f35d3a4201bf54ead_cgraph_map" alt=""></center>
|
|
362 |
<map name="objacces_8h_9a512a966532e40f35d3a4201bf54ead_cgraph_map">
|
|
363 |
<area href="objacces_8c.html#b2839d53051e322c12605c1d7f3dc4e5" shape="rect" coords="233,5,327,32" alt="">
|
215
|
364 |
</map>
|
|
365 |
|
|
366 |
</div>
|
|
367 |
</div><p>
|
240
|
368 |
<a class="anchor" name="b2839d53051e322c12605c1d7f3dc4e5"></a><!-- doxytag: member="objacces.h::scanIndexOD" ref="b2839d53051e322c12605c1d7f3dc4e5" args="(CO_Data *d, UNS16 wIndex, UNS32 *errorCode, ODCallback_t **Callback)" -->
|
215
|
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>
|
240
|
393 |
<td class="paramtype"><a class="el" href="objdictdef_8h.html#01303c7a6ee17ba5678931e2756dd5e6">ODCallback_t</a> ** </td>
|
215
|
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>
|
240
|
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#l00088">struct_CO_Data::scanIndexOD</a>.
|
|
420 |
<p>
|
|
421 |
Referenced by <a class="el" href="pdo_8c-source.html#l00601">PDOInit()</a>, and <a class="el" href="objacces_8c-source.html#l00419">RegisterSetODentryCallBack()</a>.
|
|
422 |
</div>
|
|
423 |
</div><p>
|
|
424 |
<a class="anchor" name="dad5d2f7890168cade2fbb7e0e4c6200"></a><!-- doxytag: member="objacces.h::setODentry" ref="dad5d2f7890168cade2fbb7e0e4c6200" args="(CO_Data *d, UNS16 wIndex, UNS8 bSubindex, void *pSourceData, UNS8 *pExpectedSize, UNS8 checkAccess)" -->
|
215
|
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>
|
240
|
491 |
Referenced by <a class="el" href="pdo_8c-source.html#l00141">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_dad5d2f7890168cade2fbb7e0e4c6200_cgraph.png" border="0" usemap="#objacces_8h_dad5d2f7890168cade2fbb7e0e4c6200_cgraph_map" alt=""></center>
|
|
494 |
<map name="objacces_8h_dad5d2f7890168cade2fbb7e0e4c6200_cgraph_map">
|
|
495 |
<area href="objacces_8c.html#c6dc3f9ab23f6fa05c3a454cdc82c985" shape="rect" coords="137,5,225,32" alt="">
|
|
496 |
<area href="objacces_8c.html#8577ef029b11faa6cfd1102f6bb10f59" shape="rect" coords="276,5,415,32" alt="">
|
215
|
497 |
</map>
|
|
498 |
|
|
499 |
</div>
|
|
500 |
</div><p>
|
240
|
501 |
<a class="anchor" name="205ea90bcc1c528d291fb60102f19451"></a><!-- doxytag: member="objacces.h::writeLocalDict" ref="205ea90bcc1c528d291fb60102f19451" args="(CO_Data *d, UNS16 wIndex, UNS8 bSubindex, void *pSourceData, UNS8 *pExpectedSize, UNS8 checkAccess)" -->
|
215
|
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>
|
240
|
570 |
Here is the call graph for this function:<p><center><img src="objacces_8h_205ea90bcc1c528d291fb60102f19451_cgraph.png" border="0" usemap="#objacces_8h_205ea90bcc1c528d291fb60102f19451_cgraph_map" alt=""></center>
|
|
571 |
<map name="objacces_8h_205ea90bcc1c528d291fb60102f19451_cgraph_map">
|
|
572 |
<area href="objacces_8c.html#c6dc3f9ab23f6fa05c3a454cdc82c985" shape="rect" coords="159,5,247,32" alt="">
|
|
573 |
<area href="objacces_8c.html#8577ef029b11faa6cfd1102f6bb10f59" shape="rect" coords="297,5,436,32" alt="">
|
215
|
574 |
</map>
|
|
575 |
|
|
576 |
</div>
|
|
577 |
</div><p>
|
240
|
578 |
<hr size="1"><address style="align: right;"><small>Generated on Mon Jul 2 19:10:31 2007 for CanFestival by
|
215
|
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>
|