Many fixes in OD of DS401_Slave_GUI. Still very unstable. Work in progress
<!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: include/sdo.h Source File</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_bb27f6e70a4a8ab6966321815f15a33d.html">include</a></div>
<h1>sdo.h</h1><a href="sdo_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*</span>
<a name="l00002"></a>00002 <span class="comment">This file is part of CanFestival, a library implementing CanOpen Stack. </span>
<a name="l00003"></a>00003 <span class="comment"></span>
<a name="l00004"></a>00004 <span class="comment">Copyright (C): Edouard TISSERANT and Francis DUPIN</span>
<a name="l00005"></a>00005 <span class="comment"></span>
<a name="l00006"></a>00006 <span class="comment">See COPYING file for copyrights details.</span>
<a name="l00007"></a>00007 <span class="comment"></span>
<a name="l00008"></a>00008 <span class="comment">This library is free software; you can redistribute it and/or</span>
<a name="l00009"></a>00009 <span class="comment">modify it under the terms of the GNU Lesser General Public</span>
<a name="l00010"></a>00010 <span class="comment">License as published by the Free Software Foundation; either</span>
<a name="l00011"></a>00011 <span class="comment">version 2.1 of the License, or (at your option) any later version.</span>
<a name="l00012"></a>00012 <span class="comment"></span>
<a name="l00013"></a>00013 <span class="comment">This library is distributed in the hope that it will be useful,</span>
<a name="l00014"></a>00014 <span class="comment">but WITHOUT ANY WARRANTY; without even the implied warranty of</span>
<a name="l00015"></a>00015 <span class="comment">MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU</span>
<a name="l00016"></a>00016 <span class="comment">Lesser General Public License for more details.</span>
<a name="l00017"></a>00017 <span class="comment"></span>
<a name="l00018"></a>00018 <span class="comment">You should have received a copy of the GNU Lesser General Public</span>
<a name="l00019"></a>00019 <span class="comment">License along with this library; if not, write to the Free Software</span>
<a name="l00020"></a>00020 <span class="comment">Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA</span>
<a name="l00021"></a>00021 <span class="comment">*/</span>
<a name="l00022"></a>00022
<a name="l00023"></a>00023 <span class="preprocessor">#ifndef __sdo_h__</span>
<a name="l00024"></a>00024 <span class="preprocessor"></span><span class="preprocessor">#define __sdo_h__</span>
<a name="l00025"></a>00025 <span class="preprocessor"></span>
<a name="l00026"></a>00026 <span class="keyword">struct </span><a class="code" href="structstruct__s__transfer.html">struct_s_transfer</a>;
<a name="l00027"></a>00027
<a name="l00028"></a>00028 <span class="preprocessor">#include "<a class="code" href="timer_8h.html">timer.h</a>"</span>
<a name="l00029"></a>00029
<a name="l00030"></a><a class="code" href="sdo_8h.html#a07f2d0e7b634e9474dad009a1a97a83">00030</a> <span class="keyword">typedef</span> void (*<a class="code" href="sdo_8h.html#a07f2d0e7b634e9474dad009a1a97a83">SDOCallback_t</a>)(<a class="code" href="structstruct__CO__Data.html">CO_Data</a>* d, <a class="code" href="hcs12_2applicfg_8h.html#c2e754635928189b98cf3f5b7e6dbffb">UNS8</a> <a class="code" href="structstruct__s__transfer.html#96535d89aeba55918c7f64419220e028">nodeId</a>);
<a name="l00031"></a>00031
<a name="l00032"></a>00032 <span class="comment">/* The Transfer structure</span>
<a name="l00033"></a>00033 <span class="comment">Used to store the different segments of </span>
<a name="l00034"></a>00034 <span class="comment"> - a SDO received before writing in the dictionary </span>
<a name="l00035"></a>00035 <span class="comment"> - the reading of the dictionary to put on a SDO to transmit </span>
<a name="l00036"></a>00036 <span class="comment">*/</span>
<a name="l00037"></a>00037
<a name="l00038"></a><a class="code" href="structstruct__s__transfer.html">00038</a> <span class="keyword">struct </span><a class="code" href="structstruct__s__transfer.html">struct_s_transfer</a> {
<a name="l00039"></a><a class="code" href="structstruct__s__transfer.html#96535d89aeba55918c7f64419220e028">00039</a> <a class="code" href="hcs12_2applicfg_8h.html#c2e754635928189b98cf3f5b7e6dbffb">UNS8</a> <a class="code" href="structstruct__s__transfer.html#96535d89aeba55918c7f64419220e028">nodeId</a>; <span class="comment">/*own ID if server, or node ID of the server if client */</span>
<a name="l00040"></a>00040
<a name="l00041"></a><a class="code" href="structstruct__s__transfer.html#5923ec653b04cb4d6452c336cc46410e">00041</a> <a class="code" href="hcs12_2applicfg_8h.html#c2e754635928189b98cf3f5b7e6dbffb">UNS8</a> <a class="code" href="structstruct__s__transfer.html#5923ec653b04cb4d6452c336cc46410e">whoami</a>; <span class="comment">/* Takes the values SDO_CLIENT or SDO_SERVER */</span>
<a name="l00042"></a><a class="code" href="structstruct__s__transfer.html#a9014e6c3c00eb6614a2da59dab07212">00042</a> <a class="code" href="hcs12_2applicfg_8h.html#c2e754635928189b98cf3f5b7e6dbffb">UNS8</a> <a class="code" href="structstruct__s__transfer.html#a9014e6c3c00eb6614a2da59dab07212">state</a>; <span class="comment">/* state of the transmission : Takes the values SDO_... */</span>
<a name="l00043"></a><a class="code" href="structstruct__s__transfer.html#7301b7198e652ee202e9409905539b72">00043</a> <a class="code" href="hcs12_2applicfg_8h.html#c2e754635928189b98cf3f5b7e6dbffb">UNS8</a> <a class="code" href="structstruct__s__transfer.html#7301b7198e652ee202e9409905539b72">toggle</a>;
<a name="l00044"></a><a class="code" href="structstruct__s__transfer.html#4659f8931399316266c41910f5c3428c">00044</a> <a class="code" href="hcs12_2applicfg_8h.html#a6a1b7af83d4106c1d1621bdb28d9c48">UNS32</a> <a class="code" href="structstruct__s__transfer.html#4659f8931399316266c41910f5c3428c">abortCode</a>; <span class="comment">/* Sent or received */</span>
<a name="l00045"></a>00045 <span class="comment">/* index and subindex of the dictionary where to store */</span>
<a name="l00046"></a>00046 <span class="comment">/* (for a received SDO) or to read (for a transmit SDO) */</span>
<a name="l00047"></a><a class="code" href="structstruct__s__transfer.html#1624f4c3e056e4a99edf9bd3917d7cff">00047</a> <a class="code" href="hcs12_2applicfg_8h.html#14fad477a4a001f547db2731eaaaa1dc">UNS16</a> <a class="code" href="structstruct__s__transfer.html#1624f4c3e056e4a99edf9bd3917d7cff">index</a>;
<a name="l00048"></a><a class="code" href="structstruct__s__transfer.html#152b592ec92d3abd31a2450a2e5440d7">00048</a> <a class="code" href="hcs12_2applicfg_8h.html#c2e754635928189b98cf3f5b7e6dbffb">UNS8</a> <a class="code" href="structstruct__s__transfer.html#152b592ec92d3abd31a2450a2e5440d7">subIndex</a>;
<a name="l00049"></a><a class="code" href="structstruct__s__transfer.html#979ad1ccd2a6db06d25f25f627009e75">00049</a> <a class="code" href="hcs12_2applicfg_8h.html#a6a1b7af83d4106c1d1621bdb28d9c48">UNS32</a> <a class="code" href="structstruct__s__transfer.html#979ad1ccd2a6db06d25f25f627009e75">count</a>; <span class="comment">/* Number of data received or to be sent. */</span>
<a name="l00050"></a><a class="code" href="structstruct__s__transfer.html#1ccf99d458b7272818b434fe8fce0678">00050</a> <a class="code" href="hcs12_2applicfg_8h.html#a6a1b7af83d4106c1d1621bdb28d9c48">UNS32</a> <a class="code" href="structstruct__s__transfer.html#1ccf99d458b7272818b434fe8fce0678">offset</a>; <span class="comment">/* stack pointer of data[]</span>
<a name="l00051"></a>00051 <span class="comment"> * Used only to tranfer part of a line to or from a SDO.</span>
<a name="l00052"></a>00052 <span class="comment"> * offset is always pointing on the next free cell of data[].</span>
<a name="l00053"></a>00053 <span class="comment"> * WARNING s_transfer.data is subject to ENDIANISATION </span>
<a name="l00054"></a>00054 <span class="comment"> * (with respect to CANOPEN_BIG_ENDIAN)</span>
<a name="l00055"></a>00055 <span class="comment"> */</span>
<a name="l00056"></a><a class="code" href="structstruct__s__transfer.html#4da8e993e8e1e3f3680a0e66bc06955e">00056</a> <a class="code" href="hcs12_2applicfg_8h.html#c2e754635928189b98cf3f5b7e6dbffb">UNS8</a> <a class="code" href="structstruct__s__transfer.html#4da8e993e8e1e3f3680a0e66bc06955e">data</a> [<a class="code" href="config_8h.html#e349e5216536a3d8b18d32e6065d11be">SDO_MAX_LENGTH_TRANSFERT</a>];
<a name="l00057"></a><a class="code" href="structstruct__s__transfer.html#a333b26c356e616a3058647d75429f15">00057</a> <a class="code" href="hcs12_2applicfg_8h.html#c2e754635928189b98cf3f5b7e6dbffb">UNS8</a> <a class="code" href="structstruct__s__transfer.html#a333b26c356e616a3058647d75429f15">dataType</a>; <span class="comment">/* Defined in objdictdef.h Value is visible_string </span>
<a name="l00058"></a>00058 <span class="comment"> * if it is a string, any other value if it is not a string, </span>
<a name="l00059"></a>00059 <span class="comment"> * like 0. In fact, it is used only if client.</span>
<a name="l00060"></a>00060 <span class="comment"> */</span>
<a name="l00061"></a><a class="code" href="structstruct__s__transfer.html#e48328d294ca34e1ffe02cd2526fd469">00061</a> <a class="code" href="timer_8h.html#92d252e2b6f4cf50c0e7450c20d5db48">TIMER_HANDLE</a> <a class="code" href="structstruct__s__transfer.html#e48328d294ca34e1ffe02cd2526fd469">timer</a>; <span class="comment">/* Time counter to implement a timeout in milliseconds.</span>
<a name="l00062"></a>00062 <span class="comment"> * It is automatically incremented whenever </span>
<a name="l00063"></a>00063 <span class="comment"> * the line state is in SDO_DOWNLOAD_IN_PROGRESS or </span>
<a name="l00064"></a>00064 <span class="comment"> * SDO_UPLOAD_IN_PROGRESS, and reseted to 0 </span>
<a name="l00065"></a>00065 <span class="comment"> * when the response SDO have been received.</span>
<a name="l00066"></a>00066 <span class="comment"> */</span>
<a name="l00067"></a><a class="code" href="structstruct__s__transfer.html#2f6197ac553d351381f3a45f727064b8">00067</a> <a class="code" href="sdo_8h.html#a07f2d0e7b634e9474dad009a1a97a83">SDOCallback_t</a> <a class="code" href="structstruct__s__transfer.html#2f6197ac553d351381f3a45f727064b8">Callback</a>; <span class="comment">/* The user callback func to be called at SDO transaction end */</span>
<a name="l00068"></a>00068 };
<a name="l00069"></a><a class="code" href="sdo_8h.html#e69fc12301db4cb34d8297884111d947">00069</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structstruct__s__transfer.html">struct_s_transfer</a> <a class="code" href="sdo_8h.html#e69fc12301db4cb34d8297884111d947">s_transfer</a>;
<a name="l00070"></a>00070
<a name="l00071"></a>00071
<a name="l00072"></a>00072 <span class="preprocessor">#include "<a class="code" href="data_8h.html">data.h</a>"</span>
<a name="l00073"></a>00073
<a name="l00074"></a>00074 <span class="comment">/* The 8 bytes data of the SDO */</span>
<a name="l00075"></a><a class="code" href="structBODY.html">00075</a> <span class="keyword">struct </span><a class="code" href="structBODY.html">BODY</a>{
<a name="l00076"></a><a class="code" href="structBODY.html#a45853c25d95f9c68cd7e772ce6e8f6a">00076</a> <a class="code" href="hcs12_2applicfg_8h.html#c2e754635928189b98cf3f5b7e6dbffb">UNS8</a> <a class="code" href="structBODY.html#a45853c25d95f9c68cd7e772ce6e8f6a">data</a>[8];
<a name="l00077"></a>00077 };
<a name="l00078"></a>00078
<a name="l00079"></a>00079 <span class="comment">/* The SDO structure ...*/</span>
<a name="l00080"></a><a class="code" href="structstruct__s__SDO.html">00080</a> <span class="keyword">struct </span><a class="code" href="structstruct__s__SDO.html">struct_s_SDO</a> {
<a name="l00081"></a><a class="code" href="structstruct__s__SDO.html#aeb3e4e684cf0fbe59cc40bb20a4cd7a">00081</a> <a class="code" href="hcs12_2applicfg_8h.html#c2e754635928189b98cf3f5b7e6dbffb">UNS8</a> <a class="code" href="structstruct__s__SDO.html#aeb3e4e684cf0fbe59cc40bb20a4cd7a">nodeId</a>; <span class="comment">/*in any case, Node ID of the server (case sender or receiver).*/</span>
<a name="l00082"></a><a class="code" href="structstruct__s__SDO.html#592c0292ab8bae4d6693353a8654adff">00082</a> <span class="keyword">struct </span><a class="code" href="structBODY.html">BODY</a> <a class="code" href="structstruct__s__SDO.html#592c0292ab8bae4d6693353a8654adff">body</a>;
<a name="l00083"></a>00083 };
<a name="l00084"></a>00084
<a name="l00085"></a>00085
<a name="l00086"></a><a class="code" href="sdo_8h.html#aff99a3bf0c0a4148823a61daf1b46e0">00086</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structstruct__s__SDO.html">struct_s_SDO</a> <a class="code" href="sdo_8h.html#aff99a3bf0c0a4148823a61daf1b46e0">s_SDO</a>;
<a name="l00087"></a>00087
<a name="l00091"></a>00091 <span class="keywordtype">void</span> <a class="code" href="sdo_8c.html#96a6defad098e149a011ee0b832f44a0">SDOTimeoutAlarm</a>(<a class="code" href="structstruct__CO__Data.html">CO_Data</a>* d, <a class="code" href="hcs12_2applicfg_8h.html#a6a1b7af83d4106c1d1621bdb28d9c48">UNS32</a> <span class="keywordtype">id</span>);
<a name="l00092"></a>00092
<a name="l00095"></a>00095 <span class="keywordtype">void</span> <a class="code" href="sdo_8c.html#48d2bfe1b7581346bb720ad2542bac89">resetSDO</a> (<a class="code" href="structstruct__CO__Data.html">CO_Data</a>* d);
<a name="l00096"></a>00096
<a name="l00097"></a>00097
<a name="l00101"></a>00101 <a class="code" href="hcs12_2applicfg_8h.html#a6a1b7af83d4106c1d1621bdb28d9c48">UNS32</a> <a class="code" href="sdo_8c.html#6603431e4ce111d365118681a3b80653">SDOlineToObjdict</a> (<a class="code" href="structstruct__CO__Data.html">CO_Data</a>* d, <a class="code" href="hcs12_2applicfg_8h.html#c2e754635928189b98cf3f5b7e6dbffb">UNS8</a> line);
<a name="l00102"></a>00102
<a name="l00106"></a>00106 <a class="code" href="hcs12_2applicfg_8h.html#a6a1b7af83d4106c1d1621bdb28d9c48">UNS32</a> <a class="code" href="sdo_8c.html#57448321a7e327ac8264dfed071a1f90">objdictToSDOline</a> (<a class="code" href="structstruct__CO__Data.html">CO_Data</a>* d, <a class="code" href="hcs12_2applicfg_8h.html#c2e754635928189b98cf3f5b7e6dbffb">UNS8</a> line);
<a name="l00107"></a>00107
<a name="l00111"></a>00111 <a class="code" href="hcs12_2applicfg_8h.html#c2e754635928189b98cf3f5b7e6dbffb">UNS8</a> <a class="code" href="sdo_8c.html#ed2846a6b2403ab9f0b69712f0411d66">lineToSDO</a> (<a class="code" href="structstruct__CO__Data.html">CO_Data</a>* d, <a class="code" href="hcs12_2applicfg_8h.html#c2e754635928189b98cf3f5b7e6dbffb">UNS8</a> line, <a class="code" href="hcs12_2applicfg_8h.html#c2e754635928189b98cf3f5b7e6dbffb">UNS8</a> nbBytes, <a class="code" href="hcs12_2applicfg_8h.html#c2e754635928189b98cf3f5b7e6dbffb">UNS8</a> * data);
<a name="l00112"></a>00112
<a name="l00116"></a>00116 <a class="code" href="hcs12_2applicfg_8h.html#c2e754635928189b98cf3f5b7e6dbffb">UNS8</a> <a class="code" href="sdo_8c.html#bd7fd1f216960f4765749ff21b8c40fb">SDOtoLine</a> (<a class="code" href="structstruct__CO__Data.html">CO_Data</a>* d, <a class="code" href="hcs12_2applicfg_8h.html#c2e754635928189b98cf3f5b7e6dbffb">UNS8</a> line, <a class="code" href="hcs12_2applicfg_8h.html#c2e754635928189b98cf3f5b7e6dbffb">UNS8</a> nbBytes, <a class="code" href="hcs12_2applicfg_8h.html#c2e754635928189b98cf3f5b7e6dbffb">UNS8</a> * data);
<a name="l00117"></a>00117
<a name="l00126"></a>00126 <a class="code" href="hcs12_2applicfg_8h.html#c2e754635928189b98cf3f5b7e6dbffb">UNS8</a> <a class="code" href="sdo_8c.html#85872a68746c862b8771045ef45385a5">failedSDO</a> (<a class="code" href="structstruct__CO__Data.html">CO_Data</a>* d, <a class="code" href="hcs12_2applicfg_8h.html#c2e754635928189b98cf3f5b7e6dbffb">UNS8</a> <a class="code" href="structstruct__s__SDO.html#aeb3e4e684cf0fbe59cc40bb20a4cd7a">nodeId</a>, <a class="code" href="hcs12_2applicfg_8h.html#c2e754635928189b98cf3f5b7e6dbffb">UNS8</a> whoami, <a class="code" href="hcs12_2applicfg_8h.html#14fad477a4a001f547db2731eaaaa1dc">UNS16</a> index,
<a name="l00127"></a>00127 <a class="code" href="hcs12_2applicfg_8h.html#c2e754635928189b98cf3f5b7e6dbffb">UNS8</a> subIndex, <a class="code" href="hcs12_2applicfg_8h.html#a6a1b7af83d4106c1d1621bdb28d9c48">UNS32</a> abortCode);
<a name="l00128"></a>00128
<a name="l00132"></a>00132 <span class="keywordtype">void</span> <a class="code" href="sdo_8c.html#0d8fa7ef68e2d40eb014d9b89abf5448">resetSDOline</a> (<a class="code" href="structstruct__CO__Data.html">CO_Data</a>* d, <a class="code" href="hcs12_2applicfg_8h.html#c2e754635928189b98cf3f5b7e6dbffb">UNS8</a> line);
<a name="l00133"></a>00133
<a name="l00137"></a>00137 <a class="code" href="hcs12_2applicfg_8h.html#c2e754635928189b98cf3f5b7e6dbffb">UNS8</a> <a class="code" href="sdo_8c.html#397e3c42e4165191c97fe342ae02e184">initSDOline</a> (<a class="code" href="structstruct__CO__Data.html">CO_Data</a>* d, <a class="code" href="hcs12_2applicfg_8h.html#c2e754635928189b98cf3f5b7e6dbffb">UNS8</a> line, <a class="code" href="hcs12_2applicfg_8h.html#c2e754635928189b98cf3f5b7e6dbffb">UNS8</a> <a class="code" href="structstruct__s__SDO.html#aeb3e4e684cf0fbe59cc40bb20a4cd7a">nodeId</a>, <a class="code" href="hcs12_2applicfg_8h.html#14fad477a4a001f547db2731eaaaa1dc">UNS16</a> index, <a class="code" href="hcs12_2applicfg_8h.html#c2e754635928189b98cf3f5b7e6dbffb">UNS8</a> subIndex, <a class="code" href="hcs12_2applicfg_8h.html#c2e754635928189b98cf3f5b7e6dbffb">UNS8</a> state);
<a name="l00138"></a>00138
<a name="l00147"></a>00147 <a class="code" href="hcs12_2applicfg_8h.html#c2e754635928189b98cf3f5b7e6dbffb">UNS8</a> <a class="code" href="sdo_8c.html#cb77818f302f413301728d27c091fa03">getSDOfreeLine</a> (<a class="code" href="structstruct__CO__Data.html">CO_Data</a>* d, <a class="code" href="hcs12_2applicfg_8h.html#c2e754635928189b98cf3f5b7e6dbffb">UNS8</a> whoami, <a class="code" href="hcs12_2applicfg_8h.html#c2e754635928189b98cf3f5b7e6dbffb">UNS8</a> *line);
<a name="l00148"></a>00148
<a name="l00156"></a>00156 <a class="code" href="hcs12_2applicfg_8h.html#c2e754635928189b98cf3f5b7e6dbffb">UNS8</a> <a class="code" href="sdo_8c.html#93b0dc6875fffd911a7b0dc1ba96a8d1">getSDOlineOnUse</a> (<a class="code" href="structstruct__CO__Data.html">CO_Data</a>* d, <a class="code" href="hcs12_2applicfg_8h.html#c2e754635928189b98cf3f5b7e6dbffb">UNS8</a> <a class="code" href="structstruct__s__SDO.html#aeb3e4e684cf0fbe59cc40bb20a4cd7a">nodeId</a>, <a class="code" href="hcs12_2applicfg_8h.html#c2e754635928189b98cf3f5b7e6dbffb">UNS8</a> whoami, <a class="code" href="hcs12_2applicfg_8h.html#c2e754635928189b98cf3f5b7e6dbffb">UNS8</a> *line);
<a name="l00157"></a>00157
<a name="l00162"></a>00162 <a class="code" href="hcs12_2applicfg_8h.html#c2e754635928189b98cf3f5b7e6dbffb">UNS8</a> <a class="code" href="sdo_8c.html#df77b984822a5cec9782ebd6bc64e700">closeSDOtransfer</a> (<a class="code" href="structstruct__CO__Data.html">CO_Data</a>* d, <a class="code" href="hcs12_2applicfg_8h.html#c2e754635928189b98cf3f5b7e6dbffb">UNS8</a> <a class="code" href="structstruct__s__SDO.html#aeb3e4e684cf0fbe59cc40bb20a4cd7a">nodeId</a>, <a class="code" href="hcs12_2applicfg_8h.html#c2e754635928189b98cf3f5b7e6dbffb">UNS8</a> whoami);
<a name="l00163"></a>00163
<a name="l00168"></a>00168 <a class="code" href="hcs12_2applicfg_8h.html#c2e754635928189b98cf3f5b7e6dbffb">UNS8</a> <a class="code" href="sdo_8c.html#8e536d3bb6ddd6da6da2148a39f00c5a">getSDOlineRestBytes</a> (<a class="code" href="structstruct__CO__Data.html">CO_Data</a>* d, <a class="code" href="hcs12_2applicfg_8h.html#c2e754635928189b98cf3f5b7e6dbffb">UNS8</a> line, <a class="code" href="hcs12_2applicfg_8h.html#c2e754635928189b98cf3f5b7e6dbffb">UNS8</a> * nbBytes);
<a name="l00169"></a>00169
<a name="l00174"></a>00174 <a class="code" href="hcs12_2applicfg_8h.html#c2e754635928189b98cf3f5b7e6dbffb">UNS8</a> <a class="code" href="sdo_8c.html#6d81cdca911a4ea0234ab4b620a554f3">setSDOlineRestBytes</a> (<a class="code" href="structstruct__CO__Data.html">CO_Data</a>* d, <a class="code" href="hcs12_2applicfg_8h.html#c2e754635928189b98cf3f5b7e6dbffb">UNS8</a> line, <a class="code" href="hcs12_2applicfg_8h.html#c2e754635928189b98cf3f5b7e6dbffb">UNS8</a> nbBytes);
<a name="l00175"></a>00175
<a name="l00182"></a>00182 <a class="code" href="hcs12_2applicfg_8h.html#c2e754635928189b98cf3f5b7e6dbffb">UNS8</a> <a class="code" href="sdo_8c.html#b708fa701e4afbb7b63c6e658317e6dc">sendSDO</a> (<a class="code" href="structstruct__CO__Data.html">CO_Data</a>* d, <a class="code" href="hcs12_2applicfg_8h.html#c2e754635928189b98cf3f5b7e6dbffb">UNS8</a> whoami, <a class="code" href="sdo_8h.html#aff99a3bf0c0a4148823a61daf1b46e0">s_SDO</a> sdo);
<a name="l00183"></a>00183
<a name="l00191"></a>00191 <a class="code" href="hcs12_2applicfg_8h.html#c2e754635928189b98cf3f5b7e6dbffb">UNS8</a> <a class="code" href="sdo_8c.html#5ddd75f2935b87e9eeccd166d977fe5a">sendSDOabort</a> (<a class="code" href="structstruct__CO__Data.html">CO_Data</a>* d, <a class="code" href="hcs12_2applicfg_8h.html#c2e754635928189b98cf3f5b7e6dbffb">UNS8</a> whoami, <a class="code" href="hcs12_2applicfg_8h.html#14fad477a4a001f547db2731eaaaa1dc">UNS16</a> index, <a class="code" href="hcs12_2applicfg_8h.html#c2e754635928189b98cf3f5b7e6dbffb">UNS8</a> subIndex, <a class="code" href="hcs12_2applicfg_8h.html#a6a1b7af83d4106c1d1621bdb28d9c48">UNS32</a> abortCode);
<a name="l00192"></a>00192
<a name="l00200"></a>00200 <a class="code" href="hcs12_2applicfg_8h.html#c2e754635928189b98cf3f5b7e6dbffb">UNS8</a> <a class="code" href="sdo_8c.html#c93bfdbec900f0b60386f0a2a5256826">proceedSDO</a> (<a class="code" href="structstruct__CO__Data.html">CO_Data</a>* d, <a class="code" href="structMessage.html">Message</a> *m);
<a name="l00201"></a>00201
<a name="l00210"></a>00210 <a class="code" href="hcs12_2applicfg_8h.html#c2e754635928189b98cf3f5b7e6dbffb">UNS8</a> <a class="code" href="sdo_8c.html#e38e2a7d1801309e41d81203321608dc">writeNetworkDict</a> (<a class="code" href="structstruct__CO__Data.html">CO_Data</a>* d, <a class="code" href="hcs12_2applicfg_8h.html#c2e754635928189b98cf3f5b7e6dbffb">UNS8</a> <a class="code" href="structstruct__s__SDO.html#aeb3e4e684cf0fbe59cc40bb20a4cd7a">nodeId</a>, <a class="code" href="hcs12_2applicfg_8h.html#14fad477a4a001f547db2731eaaaa1dc">UNS16</a> index,
<a name="l00211"></a>00211 <a class="code" href="hcs12_2applicfg_8h.html#c2e754635928189b98cf3f5b7e6dbffb">UNS8</a> subIndex, <a class="code" href="hcs12_2applicfg_8h.html#c2e754635928189b98cf3f5b7e6dbffb">UNS8</a> count, <a class="code" href="hcs12_2applicfg_8h.html#c2e754635928189b98cf3f5b7e6dbffb">UNS8</a> dataType, <span class="keywordtype">void</span> *data);
<a name="l00216"></a>00216 <a class="code" href="hcs12_2applicfg_8h.html#c2e754635928189b98cf3f5b7e6dbffb">UNS8</a> <a class="code" href="sdo_8c.html#f0491ff0ed4a472e54de7f24c4e8457a">writeNetworkDictCallBack</a> (<a class="code" href="structstruct__CO__Data.html">CO_Data</a>* d, <a class="code" href="hcs12_2applicfg_8h.html#c2e754635928189b98cf3f5b7e6dbffb">UNS8</a> <a class="code" href="structstruct__s__SDO.html#aeb3e4e684cf0fbe59cc40bb20a4cd7a">nodeId</a>, <a class="code" href="hcs12_2applicfg_8h.html#14fad477a4a001f547db2731eaaaa1dc">UNS16</a> index,
<a name="l00217"></a>00217 <a class="code" href="hcs12_2applicfg_8h.html#c2e754635928189b98cf3f5b7e6dbffb">UNS8</a> subIndex, <a class="code" href="hcs12_2applicfg_8h.html#c2e754635928189b98cf3f5b7e6dbffb">UNS8</a> count, <a class="code" href="hcs12_2applicfg_8h.html#c2e754635928189b98cf3f5b7e6dbffb">UNS8</a> dataType, <span class="keywordtype">void</span> *data, <a class="code" href="sdo_8h.html#a07f2d0e7b634e9474dad009a1a97a83">SDOCallback_t</a> Callback);
<a name="l00225"></a>00225 <a class="code" href="hcs12_2applicfg_8h.html#c2e754635928189b98cf3f5b7e6dbffb">UNS8</a> <a class="code" href="sdo_8c.html#dbc2fd49f1f126684922973871e337aa">readNetworkDict</a> (<a class="code" href="structstruct__CO__Data.html">CO_Data</a>* d, <a class="code" href="hcs12_2applicfg_8h.html#c2e754635928189b98cf3f5b7e6dbffb">UNS8</a> <a class="code" href="structstruct__s__SDO.html#aeb3e4e684cf0fbe59cc40bb20a4cd7a">nodeId</a>, <a class="code" href="hcs12_2applicfg_8h.html#14fad477a4a001f547db2731eaaaa1dc">UNS16</a> index,
<a name="l00226"></a>00226 <a class="code" href="hcs12_2applicfg_8h.html#c2e754635928189b98cf3f5b7e6dbffb">UNS8</a> subIndex, <a class="code" href="hcs12_2applicfg_8h.html#c2e754635928189b98cf3f5b7e6dbffb">UNS8</a> dataType);
<a name="l00227"></a>00227
<a name="l00232"></a>00232 <a class="code" href="hcs12_2applicfg_8h.html#c2e754635928189b98cf3f5b7e6dbffb">UNS8</a> <a class="code" href="sdo_8c.html#e32ba4100bc5d0ea951110dce2820059">readNetworkDictCallback</a> (<a class="code" href="structstruct__CO__Data.html">CO_Data</a>* d, <a class="code" href="hcs12_2applicfg_8h.html#c2e754635928189b98cf3f5b7e6dbffb">UNS8</a> <a class="code" href="structstruct__s__SDO.html#aeb3e4e684cf0fbe59cc40bb20a4cd7a">nodeId</a>, <a class="code" href="hcs12_2applicfg_8h.html#14fad477a4a001f547db2731eaaaa1dc">UNS16</a> index, <a class="code" href="hcs12_2applicfg_8h.html#c2e754635928189b98cf3f5b7e6dbffb">UNS8</a> subIndex, <a class="code" href="hcs12_2applicfg_8h.html#c2e754635928189b98cf3f5b7e6dbffb">UNS8</a> dataType, <a class="code" href="sdo_8h.html#a07f2d0e7b634e9474dad009a1a97a83">SDOCallback_t</a> Callback);
<a name="l00233"></a>00233
<a name="l00249"></a>00249 <a class="code" href="hcs12_2applicfg_8h.html#c2e754635928189b98cf3f5b7e6dbffb">UNS8</a> <a class="code" href="sdo_8c.html#bec7a9f46a1ddda9fed0c0e7c61558fc">getReadResultNetworkDict</a> (<a class="code" href="structstruct__CO__Data.html">CO_Data</a>* d, <a class="code" href="hcs12_2applicfg_8h.html#c2e754635928189b98cf3f5b7e6dbffb">UNS8</a> <a class="code" href="structstruct__s__SDO.html#aeb3e4e684cf0fbe59cc40bb20a4cd7a">nodeId</a>, <span class="keywordtype">void</span>* data,
<a name="l00250"></a>00250 <a class="code" href="hcs12_2applicfg_8h.html#c2e754635928189b98cf3f5b7e6dbffb">UNS8</a> *size, <a class="code" href="hcs12_2applicfg_8h.html#a6a1b7af83d4106c1d1621bdb28d9c48">UNS32</a> * abortCode);
<a name="l00251"></a>00251
<a name="l00268"></a>00268 <a class="code" href="hcs12_2applicfg_8h.html#c2e754635928189b98cf3f5b7e6dbffb">UNS8</a> <a class="code" href="sdo_8c.html#b5b66393347520874a551ca2ec53f673">getWriteResultNetworkDict</a> (<a class="code" href="structstruct__CO__Data.html">CO_Data</a>* d, <a class="code" href="hcs12_2applicfg_8h.html#c2e754635928189b98cf3f5b7e6dbffb">UNS8</a> <a class="code" href="structstruct__s__SDO.html#aeb3e4e684cf0fbe59cc40bb20a4cd7a">nodeId</a>, <a class="code" href="hcs12_2applicfg_8h.html#a6a1b7af83d4106c1d1621bdb28d9c48">UNS32</a> * abortCode);
<a name="l00269"></a>00269
<a name="l00270"></a>00270
<a name="l00271"></a>00271
<a name="l00272"></a>00272
<a name="l00273"></a>00273 <span class="preprocessor">#endif</span>
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Mon Jul 2 19:10:16 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>