doc/doxygen/html/dcf_8c.html
author lbessard
Sat, 21 Jul 2007 10:39:25 +0200
changeset 242 4864f7f01e1d
parent 240 34654679f262
permissions -rw-r--r--
Changes in networkedit for integration with beremiz
<!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/dcf.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&nbsp;Page</span></a></li>
    <li><a href="annotated.html"><span>Data&nbsp;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&nbsp;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>dcf.c File Reference</h1>EXEMPLE OF SOMMARY. <a href="#_details">More...</a>
<p>
<code>#include &quot;<a class="el" href="objacces_8h-source.html">objacces.h</a>&quot;</code><br>
<code>#include &quot;<a class="el" href="sdo_8h-source.html">sdo.h</a>&quot;</code><br>
<code>#include &quot;<a class="el" href="dcf_8h-source.html">dcf.h</a>&quot;</code><br>
<code>#include &quot;<a class="el" href="sysdep_8h-source.html">sysdep.h</a>&quot;</code><br>

<p>
Include dependency graph for dcf.c:<p><center><img src="dcf_8c__incl.png" border="0" usemap="#src/dcf.c_map" alt=""></center>
<map name="src/dcf.c_map">
<area href="objacces_8h.html" shape="rect" coords="120,259,197,285" alt="">
<area href="sdo_8h.html" shape="rect" coords="384,5,432,32" alt="">
<area href="dcf_8h.html" shape="rect" coords="135,360,183,387" alt="">
<area href="sysdep_8h.html" shape="rect" coords="247,613,313,640" alt="">
<area href="win32_2applicfg_8h.html" shape="rect" coords="615,348,689,375" alt="">
<area href="data_8h.html" shape="rect" coords="253,259,307,285" alt="">
<area href="def_8h.html" shape="rect" coords="508,512,556,539" alt="">
<area href="can_8h.html" shape="rect" coords="508,411,556,437" alt="">
<area href="objdictdef_8h.html" shape="rect" coords="365,107,451,133" alt="">
<area href="pdo_8h.html" shape="rect" coords="383,461,433,488" alt="">
<area href="states_8h.html" shape="rect" coords="377,208,439,235" alt="">
<area href="lifegrd_8h.html" shape="rect" coords="375,309,441,336" alt="">
<area href="sync_8h.html" shape="rect" coords="380,157,436,184" alt="">
<area href="nmtMaster_8h.html" shape="rect" coords="364,259,452,285" alt="">
<area href="config_8h.html" shape="rect" coords="620,563,684,589" alt="">
<area href="timer_8h.html" shape="rect" coords="503,107,561,133" alt="">
<area href="win32_2timerscfg_8h.html" shape="rect" coords="612,120,692,147" alt="">
</map>

<p>
<a href="dcf_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&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="dcf_8c.html#aa754826c624685ec491735501631c4e">_writeNetworkDict</a> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d, UNS8 nodeId, UNS16 index, UNS8 subIndex, UNS8 count, UNS8 dataType, void *data, <a class="el" href="sdo_8h.html#a07f2d0e7b634e9474dad009a1a97a83">SDOCallback_t</a> Callback, UNS8 endianize)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS32&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="dcf_8c.html#acb81126cc677d663f367f560ae0face">decompo_dcf</a> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d, UNS8 nodeId)</td></tr>

<tr><td colspan="2"><br><h2>Variables</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="structtd__indextable.html">indextable</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="dcf_8c.html#8278bb07e79b2d6c7d9c372b023fa7ae">ptrTable</a></td></tr>

</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
EXEMPLE OF SOMMARY. 
<p>
<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>Mon Jun 4 17:06:12 2007 </dd></dl>

<p>
Definition in file <a class="el" href="dcf_8c-source.html">dcf.c</a>.<hr><h2>Function Documentation</h2>
<a class="anchor" name="aa754826c624685ec491735501631c4e"></a><!-- doxytag: member="dcf.c::_writeNetworkDict" ref="aa754826c624685ec491735501631c4e" args="(CO_Data *d, UNS8 nodeId, UNS16 index, UNS8 subIndex, UNS8 count, UNS8 dataType, void *data, SDOCallback_t Callback, UNS8 endianize)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">INLINE UNS8 _writeNetworkDict           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> *&nbsp;</td>
          <td class="paramname"> <em>d</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">UNS8&nbsp;</td>
          <td class="paramname"> <em>nodeId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">UNS16&nbsp;</td>
          <td class="paramname"> <em>index</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">UNS8&nbsp;</td>
          <td class="paramname"> <em>subIndex</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">UNS8&nbsp;</td>
          <td class="paramname"> <em>count</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">UNS8&nbsp;</td>
          <td class="paramname"> <em>dataType</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void *&nbsp;</td>
          <td class="paramname"> <em>data</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="sdo_8h.html#a07f2d0e7b634e9474dad009a1a97a83">SDOCallback_t</a>&nbsp;</td>
          <td class="paramname"> <em>Callback</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">UNS8&nbsp;</td>
          <td class="paramname"> <em>endianize</em></td><td>&nbsp;</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>&nbsp;</td><td></td></tr>
    <tr><td valign="top"></td><td valign="top"><em>nodeId</em>&nbsp;</td><td></td></tr>
    <tr><td valign="top"></td><td valign="top"><em>index</em>&nbsp;</td><td></td></tr>
    <tr><td valign="top"></td><td valign="top"><em>subIndex</em>&nbsp;</td><td></td></tr>
    <tr><td valign="top"></td><td valign="top"><em>count</em>&nbsp;</td><td></td></tr>
    <tr><td valign="top"></td><td valign="top"><em>dataType</em>&nbsp;</td><td></td></tr>
    <tr><td valign="top"></td><td valign="top"><em>data</em>&nbsp;</td><td></td></tr>
    <tr><td valign="top"></td><td valign="top"><em>Callback</em>&nbsp;</td><td></td></tr>
    <tr><td valign="top"></td><td valign="top"><em>endianize</em>&nbsp;</td><td></td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd></dd></dl>

<p>
Normal transfert 
<p>
Definition at line <a class="el" href="sdo_8c-source.html#l01247">1247</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>.
<p>
References <a class="el" href="sdo_8h-source.html#l00082">struct_s_SDO::body</a>, <a class="el" href="objdictdef_8h-source.html#l00096">td_indextable::bSubCount</a>, <a class="el" href="sdo_8h-source.html#l00067">struct_s_transfer::Callback</a>, <a class="el" href="hcs12_2applicfg_8h-source.html#l00055">CANOPEN_BIG_ENDIAN</a>, <a class="el" href="sdo_8h-source.html#l00049">struct_s_transfer::count</a>, <a class="el" href="timer_8h-source.html#l00045">struct_s_timer_entry::d</a>, <a class="el" href="sdo_8h-source.html#l00076">BODY::data</a>, <a class="el" href="sdo_8h-source.html#l00056">struct_s_transfer::data</a>, <a class="el" href="sdo_8h-source.html#l00057">struct_s_transfer::dataType</a>, <a class="el" href="data_8h-source.html#l00050">struct_CO_Data::firstIndex</a>, <a class="el" href="sdo_8c-source.html#l00388">getSDOfreeLine()</a>, <a class="el" href="sdo_8c-source.html#l00414">getSDOlineOnUse()</a>, <a class="el" href="sdo_8c-source.html#l00359">initSDOline()</a>, <a class="el" href="data_8h-source.html#l00051">struct_CO_Data::lastIndex</a>, <a class="el" href="hcs12_2applicfg_8h-source.html#l00177">MSG_ERR</a>, <a class="el" href="hcs12_2applicfg_8h-source.html#l00190">MSG_WAR</a>, <a class="el" href="sdo_8h-source.html#l00081">struct_s_SDO::nodeId</a>, <a class="el" href="data_8h-source.html#l00048">struct_CO_Data::objdict</a>, <a class="el" href="sdo_8h-source.html#l00050">struct_s_transfer::offset</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="sdo_8c-source.html#l00338">resetSDOline()</a>, <a class="el" href="def_8h-source.html#l00077">SDO_CLIENT</a>, <a class="el" href="objdictdef_8h-source.html#l00105">s_quick_index::SDO_CLT</a>, <a class="el" href="def_8h-source.html#l00072">SDO_DOWNLOAD_IN_PROGRESS</a>, <a class="el" href="sdo_8c-source.html#l00498">sendSDO()</a>, <a class="el" href="data_8h-source.html#l00057">struct_CO_Data::transfers</a>, <a class="el" href="hcs12_2applicfg_8h-source.html#l00140">UNS16</a>, <a class="el" href="hcs12_2applicfg_8h-source.html#l00141">UNS32</a>, and <a class="el" href="hcs12_2applicfg_8h-source.html#l00139">UNS8</a>.
<p>
Referenced by <a class="el" href="dcf_8c-source.html#l00075">decompo_dcf()</a>, <a class="el" href="sdo_8c-source.html#l01368">writeNetworkDict()</a>, and <a class="el" href="sdo_8c-source.html#l01388">writeNetworkDictCallBack()</a>.
<p>
Here is the call graph for this function:<p><center><img src="dcf_8c_aa754826c624685ec491735501631c4e_cgraph.png" border="0" usemap="#dcf_8c_aa754826c624685ec491735501631c4e_cgraph_map" alt=""></center>
<map name="dcf_8c_aa754826c624685ec491735501631c4e_cgraph_map">
<area href="sdo_8c.html#cb77818f302f413301728d27c091fa03" shape="rect" coords="185,5,295,32" alt="">
<area href="sdo_8c.html#93b0dc6875fffd911a7b0dc1ba96a8d1" shape="rect" coords="180,56,300,83" alt="">
<area href="sdo_8c.html#397e3c42e4165191c97fe342ae02e184" shape="rect" coords="349,132,435,159" alt="">
<area href="sdo_8c.html#0d8fa7ef68e2d40eb014d9b89abf5448" shape="rect" coords="193,157,287,184" alt="">
<area href="sdo_8c.html#b708fa701e4afbb7b63c6e658317e6dc" shape="rect" coords="204,208,276,235" alt="">
<area href="canOpenDriver_8c.html#fab789b9b2ee0ab6c6f27e67d6c03661" shape="rect" coords="359,208,425,235" alt="">
<area href="canOpenDriver_8c.html#cd855997446329e6b6338fe8644edf11" shape="rect" coords="483,208,595,235" alt="">
</map>

</div>
</div><p>
<a class="anchor" name="acb81126cc677d663f367f560ae0face"></a><!-- doxytag: member="dcf.c::decompo_dcf" ref="acb81126cc677d663f367f560ae0face" args="(CO_Data *d, UNS8 nodeId)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">UNS32 decompo_dcf           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> *&nbsp;</td>
          <td class="paramname"> <em>d</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">UNS8&nbsp;</td>
          <td class="paramname"> <em>nodeId</em></td><td>&nbsp;</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>&nbsp;</td><td></td></tr>
    <tr><td valign="top"></td><td valign="top"><em>nodeId</em>&nbsp;</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="dcf_8c-source.html#l00075">75</a> of file <a class="el" href="dcf_8c-source.html">dcf.c</a>.
<p>
References <a class="el" href="sdo_8c-source.html#l01247">_writeNetworkDict()</a>, <a class="el" href="timer_8h-source.html#l00045">struct_s_timer_entry::d</a>, <a class="el" href="data_8h-source.html#l00093">struct_CO_Data::dcf_count_targets</a>, <a class="el" href="data_8h-source.html#l00092">struct_CO_Data::dcf_cursor</a>, <a class="el" href="def_8h-source.html#l00031">OD_SUCCESSFUL</a>, <a class="el" href="objdictdef_8h-source.html#l00088">td_subindex::pObject</a>, <a class="el" href="data_8h-source.html#l00064">struct_CO_Data::preOperational</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#l00140">UNS16</a>, <a class="el" href="sysdep_8h-source.html#l00020">UNS16_LE</a>, <a class="el" href="hcs12_2applicfg_8h-source.html#l00141">UNS32</a>, <a class="el" href="sysdep_8h-source.html#l00022">UNS32_LE</a>, and <a class="el" href="hcs12_2applicfg_8h-source.html#l00139">UNS8</a>.
<p>
Referenced by <a class="el" href="states_8c-source.html#l00138">setState()</a>.
<p>
Here is the call graph for this function:<p><center><img src="dcf_8c_acb81126cc677d663f367f560ae0face_cgraph.png" border="0" usemap="#dcf_8c_acb81126cc677d663f367f560ae0face_cgraph_map" alt=""></center>
<map name="dcf_8c_acb81126cc677d663f367f560ae0face_cgraph_map">
<area href="dcf_8c.html#aa754826c624685ec491735501631c4e" shape="rect" coords="147,107,272,133" alt="">
<area href="sdo_8c.html#cb77818f302f413301728d27c091fa03" shape="rect" coords="327,5,436,32" alt="">
<area href="sdo_8c.html#93b0dc6875fffd911a7b0dc1ba96a8d1" shape="rect" coords="321,56,441,83" alt="">
<area href="sdo_8c.html#397e3c42e4165191c97fe342ae02e184" shape="rect" coords="491,132,576,159" alt="">
<area href="sdo_8c.html#0d8fa7ef68e2d40eb014d9b89abf5448" shape="rect" coords="335,157,428,184" alt="">
<area href="sdo_8c.html#b708fa701e4afbb7b63c6e658317e6dc" shape="rect" coords="345,208,417,235" alt="">
<area href="canOpenDriver_8c.html#fab789b9b2ee0ab6c6f27e67d6c03661" shape="rect" coords="500,208,567,235" alt="">
<area href="canOpenDriver_8c.html#cd855997446329e6b6338fe8644edf11" shape="rect" coords="624,208,736,235" alt="">
</map>

</div>
</div><p>
<hr><h2>Variable Documentation</h2>
<a class="anchor" name="8278bb07e79b2d6c7d9c372b023fa7ae"></a><!-- doxytag: member="dcf.c::ptrTable" ref="8278bb07e79b2d6c7d9c372b023fa7ae" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="structtd__indextable.html">indextable</a>* <a class="el" href="dcf_8c.html#8278bb07e79b2d6c7d9c372b023fa7ae">ptrTable</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="dcf_8c-source.html#l00045">45</a> of file <a class="el" href="dcf_8c-source.html">dcf.c</a>.
<p>
Referenced by <a class="el" href="objacces_8c-source.html#l00105">_getODentry()</a>, <a class="el" href="objacces_8c-source.html#l00260">_setODentry()</a>, <a class="el" href="dcf_8c-source.html#l00075">decompo_dcf()</a>, and <a class="el" href="states_8c-source.html#l00138">setState()</a>.
</div>
</div><p>
<hr size="1"><address style="align: right;"><small>Generated on Mon Jul 2 19:10:37 2007 for CanFestival by&nbsp;
<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>