Added debug message printing. Added socket option : CAN_RAW_LOOPBACK=1 and CAN_RAW_RECV_OWN_MSGS=0.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>CanFestival: src/objacces.c File Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.1 -->
<div class="tabs">
<ul>
<li><a href="main.html"><span>Main Page</span></a></li>
<li><a href="annotated.html"><span>Data Structures</span></a></li>
<li id="current"><a href="files.html"><span>Files</span></a></li>
<li><a href="dirs.html"><span>Directories</span></a></li>
</ul></div>
<div class="tabs">
<ul>
<li><a href="files.html"><span>File List</span></a></li>
<li><a href="globals.html"><span>Globals</span></a></li>
</ul></div>
<div class="nav">
<a class="el" href="dir_0aa10e4f705947227e11e7ccb081fbe4.html">src</a></div>
<h1>objacces.c File Reference</h1><code>#include "<a class="el" href="objacces_8h-source.html">objacces.h</a>"</code><br>
<p>
Include dependency graph for objacces.c:<p><center><img src="objacces_8c__incl.png" border="0" usemap="#src/objacces.c_map" alt=""></center>
<map name="src/objacces.c_map">
<area href="objacces_8h.html" shape="rect" coords="149,289,227,316" alt="">
<area href="win32_2applicfg_8h.html" shape="rect" coords="628,315,703,341" alt="">
<area href="data_8h.html" shape="rect" coords="275,289,328,316" alt="">
<area href="def_8h.html" shape="rect" coords="521,441,569,468" alt="">
<area href="can_8h.html" shape="rect" coords="521,289,569,316" alt="">
<area href="objdictdef_8h.html" shape="rect" coords="379,87,464,113" alt="">
<area href="sdo_8h.html" shape="rect" coords="397,492,445,519" alt="">
<area href="pdo_8h.html" shape="rect" coords="396,340,447,367" alt="">
<area href="states_8h.html" shape="rect" coords="391,391,452,417" alt="">
<area href="lifegrd_8h.html" shape="rect" coords="388,36,455,63" alt="">
<area href="sync_8h.html" shape="rect" coords="393,188,449,215" alt="">
<area href="nmtMaster_8h.html" shape="rect" coords="377,239,465,265" alt="">
<area href="config_8h.html" shape="rect" coords="633,441,697,468" alt="">
<area href="timer_8h.html" shape="rect" coords="516,492,575,519" alt="">
<area href="win32_2timerscfg_8h.html" shape="rect" coords="625,492,705,519" alt="">
</map>
<p>
<a href="objacces_8c-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8 </td><td class="memItemRight" valign="bottom"><a class="el" href="objacces_8c.html#8577ef029b11faa6cfd1102f6bb10f59">accessDictionaryError</a> (UNS16 index, UNS8 subIndex, UNS8 sizeDataDict, UNS8 sizeDataGiven, UNS32 code)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS32 </td><td class="memItemRight" valign="bottom"><a class="el" href="objacces_8c.html#6a3eb5cb9f79f3bee030bfbb6fdd7711">_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, UNS8 endianize)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS32 </td><td class="memItemRight" valign="bottom"><a class="el" href="objacces_8c.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>
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS32 </td><td class="memItemRight" valign="bottom"><a class="el" href="objacces_8c.html#9856de75caa93d54607d854353dd95ca">readLocalDict</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>
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS32 </td><td class="memItemRight" valign="bottom"><a class="el" href="objacces_8c.html#c6dc3f9ab23f6fa05c3a454cdc82c985">_setODentry</a> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d, UNS16 wIndex, UNS8 bSubindex, void *pSourceData, UNS8 *pExpectedSize, UNS8 checkAccess, UNS8 endianize)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS32 </td><td class="memItemRight" valign="bottom"><a class="el" href="objacces_8c.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>
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS32 </td><td class="memItemRight" valign="bottom"><a class="el" href="objacces_8c.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>
<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_8c.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>
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS32 </td><td class="memItemRight" valign="bottom"><a class="el" href="objacces_8c.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>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="objacces_8c.html#8c45d7c0745b490ef4ea58f09bae358f">_storeODSubIndex</a> (UNS16 wIndex, UNS8 bSubindex)</td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
<dl class="author" compact><dt><b>Author:</b></dt><dd>Edouard TISSERANT and Francis DUPIN </dd></dl>
<dl class="date" compact><dt><b>Date:</b></dt><dd>Tue Jun 5 08:55:23 2007 </dd></dl>
<p>
Definition in file <a class="el" href="objacces_8c-source.html">objacces.c</a>.<hr><h2>Function Documentation</h2>
<a class="anchor" name="6a3eb5cb9f79f3bee030bfbb6fdd7711"></a><!-- doxytag: member="objacces.c::_getODentry" ref="6a3eb5cb9f79f3bee030bfbb6fdd7711" args="(CO_Data *d, UNS16 wIndex, UNS8 bSubindex, void *pDestData, UNS8 *pExpectedSize, UNS8 *pDataType, UNS8 checkAccess, UNS8 endianize)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">UNS32 _getODentry </td>
<td>(</td>
<td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> * </td>
<td class="paramname"> <em>d</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">UNS16 </td>
<td class="paramname"> <em>wIndex</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">UNS8 </td>
<td class="paramname"> <em>bSubindex</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">void * </td>
<td class="paramname"> <em>pDestData</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">UNS8 * </td>
<td class="paramname"> <em>pExpectedSize</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">UNS8 * </td>
<td class="paramname"> <em>pDataType</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">UNS8 </td>
<td class="paramname"> <em>checkAccess</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">UNS8 </td>
<td class="paramname"> <em>endianize</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr>
<tr><td valign="top"></td><td valign="top"><em>wIndex</em> </td><td></td></tr>
<tr><td valign="top"></td><td valign="top"><em>bSubindex</em> </td><td></td></tr>
<tr><td valign="top"></td><td valign="top"><em>pDestData</em> </td><td></td></tr>
<tr><td valign="top"></td><td valign="top"><em>pExpectedSize</em> </td><td></td></tr>
<tr><td valign="top"></td><td valign="top"><em>pDataType</em> </td><td></td></tr>
<tr><td valign="top"></td><td valign="top"><em>checkAccess</em> </td><td></td></tr>
<tr><td valign="top"></td><td valign="top"><em>endianize</em> </td><td></td></tr>
</table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd></dd></dl>
<p>
Definition at line <a class="el" href="objacces_8c-source.html#l00105">105</a> of file <a class="el" href="objacces_8c-source.html">objacces.c</a>.
<p>
References <a class="el" href="objacces_8c-source.html#l00055">accessDictionaryError()</a>, <a class="el" href="objdictdef_8h-source.html#l00085">td_subindex::bAccessType</a>, <a class="el" href="objdictdef_8h-source.html#l00086">td_subindex::bDataType</a>, <a class="el" href="objdictdef_8h-source.html#l00096">td_indextable::bSubCount</a>, <a class="el" href="timer_8h-source.html#l00045">struct_s_timer_entry::d</a>, <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#l00037">OD_NO_SUCH_SUBINDEX</a>, <a class="el" href="def_8h-source.html#l00032">OD_READ_NOT_ALLOWED</a>, <a class="el" href="def_8h-source.html#l00031">OD_SUCCESSFUL</a>, <a class="el" href="def_8h-source.html#l00033">OD_WRITE_NOT_ALLOWED</a>, <a class="el" href="objdictdef_8h-source.html#l00088">td_subindex::pObject</a>, <a class="el" href="objdictdef_8h-source.html#l00095">td_indextable::pSubindex</a>, <a class="el" href="dcf_8c-source.html#l00045">ptrTable</a>, <a class="el" href="data_8h-source.html#l00088">struct_CO_Data::scanIndexOD</a>, <a class="el" href="objdictdef_8h-source.html#l00087">td_subindex::size</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>, <a class="el" href="objdictdef_8h-source.html#l00040">visible_string</a>, and <a class="el" href="objdictdef_8h-source.html#l00074">WO</a>.
<p>
Referenced by <a class="el" href="objacces_8c-source.html#l00198">getODentry()</a>, and <a class="el" href="objacces_8c-source.html#l00229">readLocalDict()</a>.
<p>
Here is the call graph for this function:<p><center><img src="objacces_8c_6a3eb5cb9f79f3bee030bfbb6fdd7711_cgraph.png" border="0" usemap="#objacces_8c_6a3eb5cb9f79f3bee030bfbb6fdd7711_cgraph_map" alt=""></center>
<map name="objacces_8c_6a3eb5cb9f79f3bee030bfbb6fdd7711_cgraph_map">
<area href="objacces_8c.html#8577ef029b11faa6cfd1102f6bb10f59" shape="rect" coords="145,5,284,32" alt="">
</map>
</div>
</div><p>
<a class="anchor" name="c6dc3f9ab23f6fa05c3a454cdc82c985"></a><!-- doxytag: member="objacces.c::_setODentry" ref="c6dc3f9ab23f6fa05c3a454cdc82c985" args="(CO_Data *d, UNS16 wIndex, UNS8 bSubindex, void *pSourceData, UNS8 *pExpectedSize, UNS8 checkAccess, UNS8 endianize)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">UNS32 _setODentry </td>
<td>(</td>
<td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> * </td>
<td class="paramname"> <em>d</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">UNS16 </td>
<td class="paramname"> <em>wIndex</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">UNS8 </td>
<td class="paramname"> <em>bSubindex</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">void * </td>
<td class="paramname"> <em>pSourceData</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">UNS8 * </td>
<td class="paramname"> <em>pExpectedSize</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">UNS8 </td>
<td class="paramname"> <em>checkAccess</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">UNS8 </td>
<td class="paramname"> <em>endianize</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr>
<tr><td valign="top"></td><td valign="top"><em>wIndex</em> </td><td></td></tr>
<tr><td valign="top"></td><td valign="top"><em>bSubindex</em> </td><td></td></tr>
<tr><td valign="top"></td><td valign="top"><em>pSourceData</em> </td><td></td></tr>
<tr><td valign="top"></td><td valign="top"><em>pExpectedSize</em> </td><td></td></tr>
<tr><td valign="top"></td><td valign="top"><em>checkAccess</em> </td><td></td></tr>
<tr><td valign="top"></td><td valign="top"><em>endianize</em> </td><td></td></tr>
</table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd></dd></dl>
<p>
Definition at line <a class="el" href="objacces_8c-source.html#l00260">260</a> of file <a class="el" href="objacces_8c-source.html">objacces.c</a>.
<p>
References <a class="el" href="objacces_8c-source.html#l00055">accessDictionaryError()</a>, <a class="el" href="objdictdef_8h-source.html#l00085">td_subindex::bAccessType</a>, <a class="el" href="objdictdef_8h-source.html#l00086">td_subindex::bDataType</a>, <a class="el" href="objdictdef_8h-source.html#l00096">td_indextable::bSubCount</a>, <a class="el" href="timer_8h-source.html#l00045">struct_s_timer_entry::d</a>, <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#l00037">OD_NO_SUCH_SUBINDEX</a>, <a class="el" href="def_8h-source.html#l00031">OD_SUCCESSFUL</a>, <a class="el" href="def_8h-source.html#l00033">OD_WRITE_NOT_ALLOWED</a>, <a class="el" href="objdictdef_8h-source.html#l00088">td_subindex::pObject</a>, <a class="el" href="objdictdef_8h-source.html#l00095">td_indextable::pSubindex</a>, <a class="el" href="dcf_8c-source.html#l00045">ptrTable</a>, <a class="el" href="objdictdef_8h-source.html#l00075">RO</a>, <a class="el" href="data_8h-source.html#l00088">struct_CO_Data::scanIndexOD</a>, <a class="el" href="objdictdef_8h-source.html#l00087">td_subindex::size</a>, <a class="el" href="data_8h-source.html#l00089">struct_CO_Data::storeODSubIndex</a>, <a class="el" href="objdictdef_8h-source.html#l00077">TO_BE_SAVE</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>, <a class="el" href="data_8h-source.html#l00054">struct_CO_Data::valueRangeTest</a>, and <a class="el" href="objdictdef_8h-source.html#l00040">visible_string</a>.
<p>
Referenced by <a class="el" href="objacces_8c-source.html#l00350">setODentry()</a>, and <a class="el" href="objacces_8c-source.html#l00378">writeLocalDict()</a>.
<p>
Here is the call graph for this function:<p><center><img src="objacces_8c_c6dc3f9ab23f6fa05c3a454cdc82c985_cgraph.png" border="0" usemap="#objacces_8c_c6dc3f9ab23f6fa05c3a454cdc82c985_cgraph_map" alt=""></center>
<map name="objacces_8c_c6dc3f9ab23f6fa05c3a454cdc82c985_cgraph_map">
<area href="objacces_8c.html#8577ef029b11faa6cfd1102f6bb10f59" shape="rect" coords="145,5,284,32" alt="">
</map>
</div>
</div><p>
<a class="anchor" name="8c45d7c0745b490ef4ea58f09bae358f"></a><!-- doxytag: member="objacces.c::_storeODSubIndex" ref="8c45d7c0745b490ef4ea58f09bae358f" args="(UNS16 wIndex, UNS8 bSubindex)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void _storeODSubIndex </td>
<td>(</td>
<td class="paramtype">UNS16 </td>
<td class="paramname"> <em>wIndex</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">UNS8 </td>
<td class="paramname"> <em>bSubindex</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>wIndex</em> </td><td></td></tr>
<tr><td valign="top"></td><td valign="top"><em>bSubindex</em> </td><td></td></tr>
</table>
</dl>
<p>
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>.
</div>
</div><p>
<a class="anchor" name="8577ef029b11faa6cfd1102f6bb10f59"></a><!-- doxytag: member="objacces.c::accessDictionaryError" ref="8577ef029b11faa6cfd1102f6bb10f59" args="(UNS16 index, UNS8 subIndex, UNS8 sizeDataDict, UNS8 sizeDataGiven, UNS32 code)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">UNS8 accessDictionaryError </td>
<td>(</td>
<td class="paramtype">UNS16 </td>
<td class="paramname"> <em>index</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">UNS8 </td>
<td class="paramname"> <em>subIndex</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">UNS8 </td>
<td class="paramname"> <em>sizeDataDict</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">UNS8 </td>
<td class="paramname"> <em>sizeDataGiven</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">UNS32 </td>
<td class="paramname"> <em>code</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>index</em> </td><td></td></tr>
<tr><td valign="top"></td><td valign="top"><em>subIndex</em> </td><td></td></tr>
<tr><td valign="top"></td><td valign="top"><em>sizeDataDict</em> </td><td></td></tr>
<tr><td valign="top"></td><td valign="top"><em>sizeDataGiven</em> </td><td></td></tr>
<tr><td valign="top"></td><td valign="top"><em>code</em> </td><td></td></tr>
</table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd></dd></dl>
<p>
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>.
<p>
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>.
<p>
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>.
</div>
</div><p>
<a class="anchor" name="cad0c118b1e06230c9cceb8e3985822b"></a><!-- doxytag: member="objacces.c::getODentry" ref="cad0c118b1e06230c9cceb8e3985822b" args="(CO_Data *d, UNS16 wIndex, UNS8 bSubindex, void *pDestData, UNS8 *pExpectedSize, UNS8 *pDataType, UNS8 checkAccess)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">UNS32 getODentry </td>
<td>(</td>
<td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> * </td>
<td class="paramname"> <em>d</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">UNS16 </td>
<td class="paramname"> <em>wIndex</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">UNS8 </td>
<td class="paramname"> <em>bSubindex</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">void * </td>
<td class="paramname"> <em>pDestData</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">UNS8 * </td>
<td class="paramname"> <em>pExpectedSize</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">UNS8 * </td>
<td class="paramname"> <em>pDataType</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">UNS8 </td>
<td class="paramname"> <em>checkAccess</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr>
<tr><td valign="top"></td><td valign="top"><em>wIndex</em> </td><td></td></tr>
<tr><td valign="top"></td><td valign="top"><em>bSubindex</em> </td><td></td></tr>
<tr><td valign="top"></td><td valign="top"><em>pDestData</em> </td><td></td></tr>
<tr><td valign="top"></td><td valign="top"><em>pExpectedSize</em> </td><td></td></tr>
<tr><td valign="top"></td><td valign="top"><em>pDataType</em> </td><td></td></tr>
<tr><td valign="top"></td><td valign="top"><em>checkAccess</em> </td><td></td></tr>
</table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd></dd></dl>
<p>
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>.
<p>
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>.
<p>
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>.
<p>
Here is the call graph for this function:<p><center><img src="objacces_8c_cad0c118b1e06230c9cceb8e3985822b_cgraph.png" border="0" usemap="#objacces_8c_cad0c118b1e06230c9cceb8e3985822b_cgraph_map" alt=""></center>
<map name="objacces_8c_cad0c118b1e06230c9cceb8e3985822b_cgraph_map">
<area href="objacces_8c.html#6a3eb5cb9f79f3bee030bfbb6fdd7711" shape="rect" coords="139,5,229,32" alt="">
<area href="objacces_8c.html#8577ef029b11faa6cfd1102f6bb10f59" shape="rect" coords="279,5,417,32" alt="">
</map>
</div>
</div><p>
<a class="anchor" name="9856de75caa93d54607d854353dd95ca"></a><!-- doxytag: member="objacces.c::readLocalDict" ref="9856de75caa93d54607d854353dd95ca" args="(CO_Data *d, UNS16 wIndex, UNS8 bSubindex, void *pDestData, UNS8 *pExpectedSize, UNS8 *pDataType, UNS8 checkAccess)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">UNS32 readLocalDict </td>
<td>(</td>
<td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> * </td>
<td class="paramname"> <em>d</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">UNS16 </td>
<td class="paramname"> <em>wIndex</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">UNS8 </td>
<td class="paramname"> <em>bSubindex</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">void * </td>
<td class="paramname"> <em>pDestData</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">UNS8 * </td>
<td class="paramname"> <em>pExpectedSize</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">UNS8 * </td>
<td class="paramname"> <em>pDataType</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">UNS8 </td>
<td class="paramname"> <em>checkAccess</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr>
<tr><td valign="top"></td><td valign="top"><em>wIndex</em> </td><td></td></tr>
<tr><td valign="top"></td><td valign="top"><em>bSubindex</em> </td><td></td></tr>
<tr><td valign="top"></td><td valign="top"><em>pDestData</em> </td><td></td></tr>
<tr><td valign="top"></td><td valign="top"><em>pExpectedSize</em> </td><td></td></tr>
<tr><td valign="top"></td><td valign="top"><em>pDataType</em> </td><td></td></tr>
<tr><td valign="top"></td><td valign="top"><em>checkAccess</em> </td><td></td></tr>
</table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd></dd></dl>
<p>
Definition at line <a class="el" href="objacces_8c-source.html#l00229">229</a> of file <a class="el" href="objacces_8c-source.html">objacces.c</a>.
<p>
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>.
<p>
Here is the call graph for this function:<p><center><img src="objacces_8c_9856de75caa93d54607d854353dd95ca_cgraph.png" border="0" usemap="#objacces_8c_9856de75caa93d54607d854353dd95ca_cgraph_map" alt=""></center>
<map name="objacces_8c_9856de75caa93d54607d854353dd95ca_cgraph_map">
<area href="objacces_8c.html#6a3eb5cb9f79f3bee030bfbb6fdd7711" shape="rect" coords="152,5,243,32" alt="">
<area href="objacces_8c.html#8577ef029b11faa6cfd1102f6bb10f59" shape="rect" coords="292,5,431,32" alt="">
</map>
</div>
</div><p>
<a class="anchor" name="9a512a966532e40f35d3a4201bf54ead"></a><!-- doxytag: member="objacces.c::RegisterSetODentryCallBack" ref="9a512a966532e40f35d3a4201bf54ead" args="(CO_Data *d, UNS16 wIndex, UNS8 bSubindex, ODCallback_t Callback)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">UNS32 RegisterSetODentryCallBack </td>
<td>(</td>
<td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> * </td>
<td class="paramname"> <em>d</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">UNS16 </td>
<td class="paramname"> <em>wIndex</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">UNS8 </td>
<td class="paramname"> <em>bSubindex</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="objdictdef_8h.html#01303c7a6ee17ba5678931e2756dd5e6">ODCallback_t</a> </td>
<td class="paramname"> <em>Callback</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr>
<tr><td valign="top"></td><td valign="top"><em>wIndex</em> </td><td></td></tr>
<tr><td valign="top"></td><td valign="top"><em>bSubindex</em> </td><td></td></tr>
<tr><td valign="top"></td><td valign="top"><em>Callback</em> </td><td></td></tr>
</table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd></dd></dl>
<p>
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>.
<p>
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>.
<p>
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>.
<p>
Here is the call graph for this function:<p><center><img src="objacces_8c_9a512a966532e40f35d3a4201bf54ead_cgraph.png" border="0" usemap="#objacces_8c_9a512a966532e40f35d3a4201bf54ead_cgraph_map" alt=""></center>
<map name="objacces_8c_9a512a966532e40f35d3a4201bf54ead_cgraph_map">
<area href="objacces_8c.html#b2839d53051e322c12605c1d7f3dc4e5" shape="rect" coords="233,5,327,32" alt="">
</map>
</div>
</div><p>
<a class="anchor" name="b2839d53051e322c12605c1d7f3dc4e5"></a><!-- doxytag: member="objacces.c::scanIndexOD" ref="b2839d53051e322c12605c1d7f3dc4e5" args="(CO_Data *d, UNS16 wIndex, UNS32 *errorCode, ODCallback_t **Callback)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const <a class="el" href="structtd__indextable.html">indextable</a>* scanIndexOD </td>
<td>(</td>
<td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> * </td>
<td class="paramname"> <em>d</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">UNS16 </td>
<td class="paramname"> <em>wIndex</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">UNS32 * </td>
<td class="paramname"> <em>errorCode</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="objdictdef_8h.html#01303c7a6ee17ba5678931e2756dd5e6">ODCallback_t</a> ** </td>
<td class="paramname"> <em>Callback</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr>
<tr><td valign="top"></td><td valign="top"><em>wIndex</em> </td><td></td></tr>
<tr><td valign="top"></td><td valign="top"><em>errorCode</em> </td><td></td></tr>
<tr><td valign="top"></td><td valign="top"><em>Callback</em> </td><td></td></tr>
</table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd></dd></dl>
<p>
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>.
<p>
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>.
<p>
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>.
</div>
</div><p>
<a class="anchor" name="dad5d2f7890168cade2fbb7e0e4c6200"></a><!-- doxytag: member="objacces.c::setODentry" ref="dad5d2f7890168cade2fbb7e0e4c6200" args="(CO_Data *d, UNS16 wIndex, UNS8 bSubindex, void *pSourceData, UNS8 *pExpectedSize, UNS8 checkAccess)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">UNS32 setODentry </td>
<td>(</td>
<td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> * </td>
<td class="paramname"> <em>d</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">UNS16 </td>
<td class="paramname"> <em>wIndex</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">UNS8 </td>
<td class="paramname"> <em>bSubindex</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">void * </td>
<td class="paramname"> <em>pSourceData</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">UNS8 * </td>
<td class="paramname"> <em>pExpectedSize</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">UNS8 </td>
<td class="paramname"> <em>checkAccess</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr>
<tr><td valign="top"></td><td valign="top"><em>wIndex</em> </td><td></td></tr>
<tr><td valign="top"></td><td valign="top"><em>bSubindex</em> </td><td></td></tr>
<tr><td valign="top"></td><td valign="top"><em>pSourceData</em> </td><td></td></tr>
<tr><td valign="top"></td><td valign="top"><em>pExpectedSize</em> </td><td></td></tr>
<tr><td valign="top"></td><td valign="top"><em>checkAccess</em> </td><td></td></tr>
</table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd></dd></dl>
<p>
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>.
<p>
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>.
<p>
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>.
<p>
Here is the call graph for this function:<p><center><img src="objacces_8c_dad5d2f7890168cade2fbb7e0e4c6200_cgraph.png" border="0" usemap="#objacces_8c_dad5d2f7890168cade2fbb7e0e4c6200_cgraph_map" alt=""></center>
<map name="objacces_8c_dad5d2f7890168cade2fbb7e0e4c6200_cgraph_map">
<area href="objacces_8c.html#c6dc3f9ab23f6fa05c3a454cdc82c985" shape="rect" coords="137,5,225,32" alt="">
<area href="objacces_8c.html#8577ef029b11faa6cfd1102f6bb10f59" shape="rect" coords="276,5,415,32" alt="">
</map>
</div>
</div><p>
<a class="anchor" name="205ea90bcc1c528d291fb60102f19451"></a><!-- doxytag: member="objacces.c::writeLocalDict" ref="205ea90bcc1c528d291fb60102f19451" args="(CO_Data *d, UNS16 wIndex, UNS8 bSubindex, void *pSourceData, UNS8 *pExpectedSize, UNS8 checkAccess)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">UNS32 writeLocalDict </td>
<td>(</td>
<td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> * </td>
<td class="paramname"> <em>d</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">UNS16 </td>
<td class="paramname"> <em>wIndex</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">UNS8 </td>
<td class="paramname"> <em>bSubindex</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">void * </td>
<td class="paramname"> <em>pSourceData</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">UNS8 * </td>
<td class="paramname"> <em>pExpectedSize</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">UNS8 </td>
<td class="paramname"> <em>checkAccess</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr>
<tr><td valign="top"></td><td valign="top"><em>wIndex</em> </td><td></td></tr>
<tr><td valign="top"></td><td valign="top"><em>bSubindex</em> </td><td></td></tr>
<tr><td valign="top"></td><td valign="top"><em>pSourceData</em> </td><td></td></tr>
<tr><td valign="top"></td><td valign="top"><em>pExpectedSize</em> </td><td></td></tr>
<tr><td valign="top"></td><td valign="top"><em>checkAccess</em> </td><td></td></tr>
</table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd></dd></dl>
<p>
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>.
<p>
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>.
<p>
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>.
<p>
Here is the call graph for this function:<p><center><img src="objacces_8c_205ea90bcc1c528d291fb60102f19451_cgraph.png" border="0" usemap="#objacces_8c_205ea90bcc1c528d291fb60102f19451_cgraph_map" alt=""></center>
<map name="objacces_8c_205ea90bcc1c528d291fb60102f19451_cgraph_map">
<area href="objacces_8c.html#c6dc3f9ab23f6fa05c3a454cdc82c985" shape="rect" coords="159,5,247,32" alt="">
<area href="objacces_8c.html#8577ef029b11faa6cfd1102f6bb10f59" shape="rect" coords="297,5,436,32" alt="">
</map>
</div>
</div><p>
<hr size="1"><address style="align: right;"><small>Generated on Mon Jul 2 19:10:38 2007 for CanFestival by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address>
</body>
</html>