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/sdo.h Source File</title> |
|
4 <link href="doxygen.css" rel="stylesheet" type="text/css"> |
|
5 <link href="tabs.css" rel="stylesheet" type="text/css"> |
|
6 </head><body> |
|
7 <!-- Generated by Doxygen 1.5.1 --> |
|
8 <div class="tabs"> |
|
9 <ul> |
|
10 <li><a href="main.html"><span>Main Page</span></a></li> |
|
11 <li><a href="annotated.html"><span>Data Structures</span></a></li> |
|
12 <li id="current"><a href="files.html"><span>Files</span></a></li> |
|
13 <li><a href="dirs.html"><span>Directories</span></a></li> |
|
14 </ul></div> |
|
15 <div class="tabs"> |
|
16 <ul> |
|
17 <li><a href="files.html"><span>File List</span></a></li> |
|
18 <li><a href="globals.html"><span>Globals</span></a></li> |
|
19 </ul></div> |
|
20 <div class="nav"> |
|
21 <a class="el" href="dir_bb27f6e70a4a8ab6966321815f15a33d.html">include</a></div> |
|
22 <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> |
|
23 <a name="l00002"></a>00002 <span class="comment">This file is part of CanFestival, a library implementing CanOpen Stack. </span> |
|
24 <a name="l00003"></a>00003 <span class="comment"></span> |
|
25 <a name="l00004"></a>00004 <span class="comment">Copyright (C): Edouard TISSERANT and Francis DUPIN</span> |
|
26 <a name="l00005"></a>00005 <span class="comment"></span> |
|
27 <a name="l00006"></a>00006 <span class="comment">See COPYING file for copyrights details.</span> |
|
28 <a name="l00007"></a>00007 <span class="comment"></span> |
|
29 <a name="l00008"></a>00008 <span class="comment">This library is free software; you can redistribute it and/or</span> |
|
30 <a name="l00009"></a>00009 <span class="comment">modify it under the terms of the GNU Lesser General Public</span> |
|
31 <a name="l00010"></a>00010 <span class="comment">License as published by the Free Software Foundation; either</span> |
|
32 <a name="l00011"></a>00011 <span class="comment">version 2.1 of the License, or (at your option) any later version.</span> |
|
33 <a name="l00012"></a>00012 <span class="comment"></span> |
|
34 <a name="l00013"></a>00013 <span class="comment">This library is distributed in the hope that it will be useful,</span> |
|
35 <a name="l00014"></a>00014 <span class="comment">but WITHOUT ANY WARRANTY; without even the implied warranty of</span> |
|
36 <a name="l00015"></a>00015 <span class="comment">MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU</span> |
|
37 <a name="l00016"></a>00016 <span class="comment">Lesser General Public License for more details.</span> |
|
38 <a name="l00017"></a>00017 <span class="comment"></span> |
|
39 <a name="l00018"></a>00018 <span class="comment">You should have received a copy of the GNU Lesser General Public</span> |
|
40 <a name="l00019"></a>00019 <span class="comment">License along with this library; if not, write to the Free Software</span> |
|
41 <a name="l00020"></a>00020 <span class="comment">Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA</span> |
|
42 <a name="l00021"></a>00021 <span class="comment">*/</span> |
|
43 <a name="l00022"></a>00022 |
|
44 <a name="l00023"></a>00023 <span class="preprocessor">#ifndef __sdo_h__</span> |
|
45 <a name="l00024"></a>00024 <span class="preprocessor"></span><span class="preprocessor">#define __sdo_h__</span> |
|
46 <a name="l00025"></a>00025 <span class="preprocessor"></span> |
|
47 <a name="l00026"></a>00026 <span class="keyword">struct </span><a class="code" href="structstruct__s__transfer.html">struct_s_transfer</a>; |
|
48 <a name="l00027"></a>00027 |
|
49 <a name="l00028"></a>00028 <span class="preprocessor">#include "<a class="code" href="timer_8h.html">timer.h</a>"</span> |
|
50 <a name="l00029"></a>00029 |
|
51 <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>); |
|
52 <a name="l00031"></a>00031 |
|
53 <a name="l00032"></a>00032 <span class="comment">/* The Transfer structure</span> |
|
54 <a name="l00033"></a>00033 <span class="comment">Used to store the different segments of </span> |
|
55 <a name="l00034"></a>00034 <span class="comment"> - a SDO received before writing in the dictionary </span> |
|
56 <a name="l00035"></a>00035 <span class="comment"> - the reading of the dictionary to put on a SDO to transmit </span> |
|
57 <a name="l00036"></a>00036 <span class="comment">*/</span> |
|
58 <a name="l00037"></a>00037 |
|
59 <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> { |
|
60 <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> |
|
61 <a name="l00040"></a>00040 |
|
62 <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> |
|
63 <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> |
|
64 <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>; |
|
65 <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> |
|
66 <a name="l00045"></a>00045 <span class="comment">/* index and subindex of the dictionary where to store */</span> |
|
67 <a name="l00046"></a>00046 <span class="comment">/* (for a received SDO) or to read (for a transmit SDO) */</span> |
|
68 <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>; |
|
69 <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>; |
|
70 <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> |
|
71 <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> |
|
72 <a name="l00051"></a>00051 <span class="comment"> * Used only to tranfer part of a line to or from a SDO.</span> |
|
73 <a name="l00052"></a>00052 <span class="comment"> * offset is always pointing on the next free cell of data[].</span> |
|
74 <a name="l00053"></a>00053 <span class="comment"> * WARNING s_transfer.data is subject to ENDIANISATION </span> |
|
75 <a name="l00054"></a>00054 <span class="comment"> * (with respect to CANOPEN_BIG_ENDIAN)</span> |
|
76 <a name="l00055"></a>00055 <span class="comment"> */</span> |
|
77 <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>]; |
|
78 <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> |
|
79 <a name="l00058"></a>00058 <span class="comment"> * if it is a string, any other value if it is not a string, </span> |
|
80 <a name="l00059"></a>00059 <span class="comment"> * like 0. In fact, it is used only if client.</span> |
|
81 <a name="l00060"></a>00060 <span class="comment"> */</span> |
|
82 <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> |
|
83 <a name="l00062"></a>00062 <span class="comment"> * It is automatically incremented whenever </span> |
|
84 <a name="l00063"></a>00063 <span class="comment"> * the line state is in SDO_DOWNLOAD_IN_PROGRESS or </span> |
|
85 <a name="l00064"></a>00064 <span class="comment"> * SDO_UPLOAD_IN_PROGRESS, and reseted to 0 </span> |
|
86 <a name="l00065"></a>00065 <span class="comment"> * when the response SDO have been received.</span> |
|
87 <a name="l00066"></a>00066 <span class="comment"> */</span> |
|
88 <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> |
|
89 <a name="l00068"></a>00068 }; |
|
90 <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>; |
|
91 <a name="l00070"></a>00070 |
|
92 <a name="l00071"></a>00071 |
|
93 <a name="l00072"></a>00072 <span class="preprocessor">#include "<a class="code" href="data_8h.html">data.h</a>"</span> |
|
94 <a name="l00073"></a>00073 |
|
95 <a name="l00074"></a>00074 <span class="comment">/* The 8 bytes data of the SDO */</span> |
|
96 <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>{ |
|
97 <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]; |
|
98 <a name="l00077"></a>00077 }; |
|
99 <a name="l00078"></a>00078 |
|
100 <a name="l00079"></a>00079 <span class="comment">/* The SDO structure ...*/</span> |
|
101 <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> { |
|
102 <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> |
|
103 <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>; |
|
104 <a name="l00083"></a>00083 }; |
|
105 <a name="l00084"></a>00084 |
|
106 <a name="l00085"></a>00085 |
|
107 <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>; |
|
108 <a name="l00087"></a>00087 |
|
109 <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>); |
|
110 <a name="l00092"></a>00092 |
|
111 <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); |
|
112 <a name="l00096"></a>00096 |
|
113 <a name="l00097"></a>00097 |
|
114 <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); |
|
115 <a name="l00102"></a>00102 |
|
116 <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); |
|
117 <a name="l00107"></a>00107 |
|
118 <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); |
|
119 <a name="l00112"></a>00112 |
|
120 <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); |
|
121 <a name="l00117"></a>00117 |
|
122 <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, |
|
123 <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); |
|
124 <a name="l00128"></a>00128 |
|
125 <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); |
|
126 <a name="l00133"></a>00133 |
|
127 <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); |
|
128 <a name="l00138"></a>00138 |
|
129 <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); |
|
130 <a name="l00148"></a>00148 |
|
131 <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); |
|
132 <a name="l00157"></a>00157 |
|
133 <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); |
|
134 <a name="l00163"></a>00163 |
|
135 <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); |
|
136 <a name="l00169"></a>00169 |
|
137 <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); |
|
138 <a name="l00175"></a>00175 |
|
139 <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); |
|
140 <a name="l00183"></a>00183 |
|
141 <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); |
|
142 <a name="l00192"></a>00192 |
|
143 <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); |
|
144 <a name="l00201"></a>00201 |
|
145 <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, |
|
146 <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); |
|
147 <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, |
|
148 <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); |
|
149 <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, |
|
150 <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); |
|
151 <a name="l00227"></a>00227 |
|
152 <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); |
|
153 <a name="l00233"></a>00233 |
|
154 <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, |
|
155 <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); |
|
156 <a name="l00251"></a>00251 |
|
157 <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); |
|
158 <a name="l00269"></a>00269 |
|
159 <a name="l00270"></a>00270 |
|
160 <a name="l00271"></a>00271 |
|
161 <a name="l00272"></a>00272 |
|
162 <a name="l00273"></a>00273 <span class="preprocessor">#endif</span> |
|
163 </pre></div><hr size="1"><address style="align: right;"><small>Generated on Mon Jul 2 19:10:16 2007 for CanFestival by |
|
164 <a href="http://www.doxygen.org/index.html"> |
|
165 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> |
|
166 </body> |
|
167 </html> |
|