207
|
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: /home/epimerde/documents/tc11/CanFestival-3/objdictgen/examples/example_objdict.c 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="namespaces.html"><span>Namespaces</span></a></li>
|
|
12 |
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
|
13 |
<li id="current"><a href="files.html"><span>Files</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 |
<h1>/home/epimerde/documents/tc11/CanFestival-3/objdictgen/examples/example_objdict.c</h1><a href="example__objdict_8c.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*</span>
|
|
21 |
<a name="l00002"></a>00002 <span class="comment">This file is part of CanFestival, a library implementing CanOpen Stack. </span>
|
|
22 |
<a name="l00003"></a>00003 <span class="comment"></span>
|
|
23 |
<a name="l00004"></a>00004 <span class="comment">Copyright (C): Edouard TISSERANT and Francis DUPIN</span>
|
|
24 |
<a name="l00005"></a>00005 <span class="comment"></span>
|
|
25 |
<a name="l00006"></a>00006 <span class="comment">See COPYING file for copyrights details.</span>
|
|
26 |
<a name="l00007"></a>00007 <span class="comment"></span>
|
|
27 |
<a name="l00008"></a>00008 <span class="comment">This library is free software; you can redistribute it and/or</span>
|
|
28 |
<a name="l00009"></a>00009 <span class="comment">modify it under the terms of the GNU Lesser General Public</span>
|
|
29 |
<a name="l00010"></a>00010 <span class="comment">License as published by the Free Software Foundation; either</span>
|
|
30 |
<a name="l00011"></a>00011 <span class="comment">version 2.1 of the License, or (at your option) any later version.</span>
|
|
31 |
<a name="l00012"></a>00012 <span class="comment"></span>
|
|
32 |
<a name="l00013"></a>00013 <span class="comment">This library is distributed in the hope that it will be useful,</span>
|
|
33 |
<a name="l00014"></a>00014 <span class="comment">but WITHOUT ANY WARRANTY; without even the implied warranty of</span>
|
|
34 |
<a name="l00015"></a>00015 <span class="comment">MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU</span>
|
|
35 |
<a name="l00016"></a>00016 <span class="comment">Lesser General Public License for more details.</span>
|
|
36 |
<a name="l00017"></a>00017 <span class="comment"></span>
|
|
37 |
<a name="l00018"></a>00018 <span class="comment">You should have received a copy of the GNU Lesser General Public</span>
|
|
38 |
<a name="l00019"></a>00019 <span class="comment">License along with this library; if not, write to the Free Software</span>
|
|
39 |
<a name="l00020"></a>00020 <span class="comment">Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA</span>
|
|
40 |
<a name="l00021"></a>00021 <span class="comment">*/</span>
|
|
41 |
<a name="l00022"></a>00022
|
|
42 |
<a name="l00023"></a>00023
|
|
43 |
<a name="l00024"></a>00024 <span class="preprocessor">#include <stddef.h></span>
|
|
44 |
<a name="l00025"></a>00025
|
|
45 |
<a name="l00026"></a>00026 <span class="preprocessor">#include <canfestival/applicfg.h></span>
|
|
46 |
<a name="l00027"></a>00027 <span class="preprocessor">#include "canfestival/def.h"</span>
|
|
47 |
<a name="l00028"></a>00028 <span class="preprocessor">#include "canfestival/can.h"</span>
|
|
48 |
<a name="l00029"></a>00029 <span class="preprocessor">#include "canfestival/objdictdef.h"</span>
|
|
49 |
<a name="l00030"></a>00030 <span class="preprocessor">#include "canfestival/pdo.h"</span>
|
|
50 |
<a name="l00031"></a>00031 <span class="preprocessor">#include "canfestival/sdo.h"</span>
|
|
51 |
<a name="l00032"></a>00032 <span class="preprocessor">#include "canfestival/sync.h"</span>
|
|
52 |
<a name="l00033"></a>00033 <span class="preprocessor">#include "canfestival/lifegrd.h"</span>
|
|
53 |
<a name="l00034"></a>00034 <span class="preprocessor">#include "canfestival/nmtSlave.h"</span>
|
|
54 |
<a name="l00035"></a>00035
|
|
55 |
<a name="l00036"></a>00036 <span class="comment">/**************************************************************************/</span>
|
|
56 |
<a name="l00037"></a>00037 <span class="comment">/* Declaration of the mapped variables */</span>
|
|
57 |
<a name="l00038"></a>00038 <span class="comment">/**************************************************************************/</span>
|
|
58 |
<a name="l00039"></a><a class="code" href="example__objdict_8h.html#8fc8dbd59390ae83fe470b12da0b5ecd">00039</a> <a class="code" href="hcs12_2applicfg_8h.html#539234687760592d01a8b0d3357bc00e">UNS8</a> <a class="code" href="example__objdict_8c.html#8fc8dbd59390ae83fe470b12da0b5ecd">seconds</a> = 0; <span class="comment">// Mapped at index 0x2000, subindex 0x01</span>
|
|
59 |
<a name="l00040"></a><a class="code" href="example__objdict_8h.html#711bdb40e5a44c41cc1f06cfd1f504da">00040</a> <a class="code" href="hcs12_2applicfg_8h.html#539234687760592d01a8b0d3357bc00e">UNS8</a> <a class="code" href="example__objdict_8c.html#711bdb40e5a44c41cc1f06cfd1f504da">minutes</a> = 0; <span class="comment">// Mapped at index 0x2000, subindex 0x02</span>
|
|
60 |
<a name="l00041"></a><a class="code" href="example__objdict_8h.html#75aee5777719f851830029bc7e7ea8a9">00041</a> <a class="code" href="hcs12_2applicfg_8h.html#539234687760592d01a8b0d3357bc00e">UNS8</a> <a class="code" href="example__objdict_8c.html#75aee5777719f851830029bc7e7ea8a9">hours</a> = 0; <span class="comment">// Mapped at index 0x2000, subindex 0x03</span>
|
|
61 |
<a name="l00042"></a><a class="code" href="example__objdict_8h.html#bc5904eec2756dc2a8276bd49bea868c">00042</a> <a class="code" href="hcs12_2applicfg_8h.html#539234687760592d01a8b0d3357bc00e">UNS8</a> <a class="code" href="example__objdict_8c.html#bc5904eec2756dc2a8276bd49bea868c">day</a> = 0; <span class="comment">// Mapped at index 0x2000, subindex 0x04</span>
|
|
62 |
<a name="l00043"></a><a class="code" href="example__objdict_8h.html#7e12020e121aa8689ae0ed07a595508d">00043</a> <a class="code" href="hcs12_2applicfg_8h.html#889a782714194ae2f780002d25d6e0be">UNS32</a> <a class="code" href="example__objdict_8c.html#7e12020e121aa8689ae0ed07a595508d">canopenErrNB</a> = 0; <span class="comment">// Mapped at index 0x6000, subindex 0x00</span>
|
|
63 |
<a name="l00044"></a><a class="code" href="example__objdict_8h.html#ae855ee2ef12c40958afc632272eb32f">00044</a> <a class="code" href="hcs12_2applicfg_8h.html#889a782714194ae2f780002d25d6e0be">UNS32</a> <a class="code" href="example__objdict_8c.html#ae855ee2ef12c40958afc632272eb32f">canopenErrVAL</a> = 0; <span class="comment">// Mapped at index 0x6001, subindex 0x00</span>
|
|
64 |
<a name="l00045"></a><a class="code" href="example__objdict_8h.html#43ab56b02863aa8e4f072cedfade9345">00045</a> <a class="code" href="hcs12_2applicfg_8h.html#539234687760592d01a8b0d3357bc00e">UNS8</a> <a class="code" href="example__objdict_8c.html#43ab56b02863aa8e4f072cedfade9345">strTest</a>[10] = 0; <span class="comment">// Mapped at index 0x6002, subindex 0x00</span>
|
|
65 |
<a name="l00046"></a>00046
|
|
66 |
<a name="l00047"></a>00047 <span class="comment">/**************************************************************************/</span>
|
|
67 |
<a name="l00048"></a>00048 <span class="comment">/* Declaration of the value range types */</span>
|
|
68 |
<a name="l00049"></a>00049 <span class="comment">/**************************************************************************/</span>
|
|
69 |
<a name="l00050"></a>00050
|
|
70 |
<a name="l00051"></a>00051
|
|
71 |
<a name="l00052"></a>00052
|
|
72 |
<a name="l00053"></a><a class="code" href="example__objdict_8c.html#e574fe0d6808ebb128aee1cdb108d700">00053</a> <a class="code" href="hcs12_2applicfg_8h.html#889a782714194ae2f780002d25d6e0be">UNS32</a> <a class="code" href="example__objdict_8c.html#e574fe0d6808ebb128aee1cdb108d700">Linux_slave_valueRangeTest</a> (<a class="code" href="hcs12_2applicfg_8h.html#539234687760592d01a8b0d3357bc00e">UNS8</a> typeValue, <a class="code" href="hcs12_2applicfg_8h.html#889a782714194ae2f780002d25d6e0be">UNS32</a> unsValue, <a class="code" href="hcs12_2applicfg_8h.html#a317e78f368f51a31a7ea72ea7afbc89">REAL32</a> realValue)
|
|
73 |
<a name="l00054"></a>00054 {
|
|
74 |
<a name="l00055"></a>00055 <span class="keywordflow">switch</span> (typeValue) {
|
|
75 |
<a name="l00056"></a>00056 }
|
|
76 |
<a name="l00057"></a>00057 <span class="keywordflow">return</span> 0;
|
|
77 |
<a name="l00058"></a>00058 }
|
|
78 |
<a name="l00059"></a>00059
|
|
79 |
<a name="l00060"></a>00060
|
|
80 |
<a name="l00061"></a>00061 <span class="comment">/**************************************************************************/</span>
|
|
81 |
<a name="l00062"></a>00062 <span class="comment">/* The node id */</span>
|
|
82 |
<a name="l00063"></a>00063 <span class="comment">/**************************************************************************/</span>
|
|
83 |
<a name="l00064"></a>00064 <span class="comment">/* node_id default value. </span>
|
|
84 |
<a name="l00065"></a>00065 <span class="comment"> This default value is deprecated.</span>
|
|
85 |
<a name="l00066"></a>00066 <span class="comment"> You should always overwrite this by using the function setNodeId(UNS8 nodeId) in your C code.</span>
|
|
86 |
<a name="l00067"></a>00067 <span class="comment">*/</span>
|
|
87 |
<a name="l00068"></a><a class="code" href="example__objdict_8c.html#e19bfd2ea75b7ddfc0c9e520240ab733">00068</a> <span class="preprocessor">#define NODE_ID 0x01</span>
|
|
88 |
<a name="l00069"></a><a class="code" href="example__objdict_8c.html#2cb1ec4257c97c26c06e1b8d6f3cd537">00069</a> <span class="preprocessor"></span><a class="code" href="hcs12_2applicfg_8h.html#539234687760592d01a8b0d3357bc00e">UNS8</a> <a class="code" href="example__objdict_8c.html#2cb1ec4257c97c26c06e1b8d6f3cd537">Linux_slave_bDeviceNodeId</a> = <a class="code" href="example__objdict_8c.html#e19bfd2ea75b7ddfc0c9e520240ab733">NODE_ID</a>;
|
|
89 |
<a name="l00070"></a>00070
|
|
90 |
<a name="l00071"></a>00071
|
|
91 |
<a name="l00072"></a>00072 <span class="comment">//*****************************************************************************/</span>
|
|
92 |
<a name="l00073"></a>00073 <span class="comment">/* Array of message processing information */</span>
|
|
93 |
<a name="l00074"></a>00074 <span class="comment">/* Should not be modified */</span>
|
|
94 |
<a name="l00075"></a>00075
|
|
95 |
<a name="l00076"></a><a class="code" href="example__objdict_8c.html#2ef807a18b7239354d83841bac3bd490">00076</a> <span class="keyword">const</span> <a class="code" href="hcs12_2applicfg_8h.html#539234687760592d01a8b0d3357bc00e">UNS8</a> <a class="code" href="example__objdict_8c.html#2ef807a18b7239354d83841bac3bd490">Linux_slave_iam_a_slave</a> = 1
|
|
96 |
<a name="l00077"></a>00077
|
|
97 |
<a name="l00078"></a>00078 <span class="comment">// Macros definition</span>
|
|
98 |
<a name="l00079"></a>00079
|
|
99 |
<a name="l00080"></a>00080 <span class="comment">/* Beware : </span>
|
|
100 |
<a name="l00081"></a>00081 <span class="comment">index *must* be writen 4 numbers in hexa</span>
|
|
101 |
<a name="l00082"></a>00082 <span class="comment">sub_index *must* be writen 2 numbers in hexa</span>
|
|
102 |
<a name="l00083"></a>00083 <span class="comment">size_variable_in_UNS8 *must* be writen 2 numbers in hexa</span>
|
|
103 |
<a name="l00084"></a>00084 <span class="comment">*/</span>
|
|
104 |
<a name="l00085"></a>00085 <span class="preprocessor">#define PDO_MAP(index, sub_index, size_variable_in_bits)\</span>
|
|
105 |
<a name="l00086"></a>00086 <span class="preprocessor">0x ## index ## sub_index ## size_variable_in_bits</span>
|
|
106 |
<a name="l00087"></a>00087 <span class="preprocessor"></span>
|
|
107 |
<a name="l00092"></a>00092 <span class="preprocessor">#define DeclareIndexTableEntry(entryname, index) { (subindex*)entryname,sizeof(entryname)/sizeof(entryname[0]), index}</span>
|
|
108 |
<a name="l00093"></a>00093 <span class="preprocessor"></span>
|
|
109 |
<a name="l00094"></a>00094 <span class="comment">//$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$</span>
|
|
110 |
<a name="l00095"></a>00095 <span class="comment">//</span>
|
|
111 |
<a name="l00096"></a>00096 <span class="comment">// OBJECT DICTIONARY</span>
|
|
112 |
<a name="l00097"></a>00097 <span class="comment">// </span>
|
|
113 |
<a name="l00098"></a>00098 <span class="comment">//$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$</span>
|
|
114 |
<a name="l00099"></a>00099 <span class="comment">// Make your change, depending of your application</span>
|
|
115 |
<a name="l00100"></a>00100
|
|
116 |
<a name="l00101"></a>00101
|
|
117 |
<a name="l00102"></a>00102 <span class="comment">/* index 0x1000 : Device type. </span>
|
|
118 |
<a name="l00103"></a>00103 <span class="comment"> You have to change the value below, so</span>
|
|
119 |
<a name="l00104"></a>00104 <span class="comment"> it fits your canopen-slave-module */</span>
|
|
120 |
<a name="l00105"></a>00105
|
|
121 |
<a name="l00106"></a>00106 <span class="comment">/* Not used, so, should not be modified */</span>
|
|
122 |
<a name="l00107"></a>00107
|
|
123 |
<a name="l00108"></a>00108 <a class="code" href="hcs12_2applicfg_8h.html#889a782714194ae2f780002d25d6e0be">UNS32</a> Linux_slave_obj1000 = 0;
|
|
124 |
<a name="l00109"></a><a class="code" href="example__objdict_8c.html#05d6d5bceb8fec9cbf78895d7dd43b19">00109</a> <a class="code" href="structtd__subindex.html">subindex</a> <a class="code" href="example__objdict_8c.html#05d6d5bceb8fec9cbf78895d7dd43b19">Linux_slave_Index1000</a>[] =
|
|
125 |
<a name="l00110"></a>00110 {
|
|
126 |
<a name="l00111"></a>00111 { <a class="code" href="objdictdef_8h.html#628642b04c07236ae1e986c248a79ae5">RO</a>, <a class="code" href="objdictdef_8h.html#9695cf1104606879c5d3f0221635a069">uint32</a>, <span class="keyword">sizeof</span>(<a class="code" href="hcs12_2applicfg_8h.html#889a782714194ae2f780002d25d6e0be">UNS32</a>), (<span class="keywordtype">void</span>*)&Linux_slave_obj1000 }
|
|
127 |
<a name="l00112"></a>00112 };
|
|
128 |
<a name="l00113"></a>00113
|
|
129 |
<a name="l00114"></a>00114 <span class="comment">/* index 0x1001 : Error register. </span>
|
|
130 |
<a name="l00115"></a>00115 <span class="comment"> Change the entries to fit your application </span>
|
|
131 |
<a name="l00116"></a>00116 <span class="comment"> Not used, so, should not be modified */</span>
|
|
132 |
<a name="l00117"></a><a class="code" href="example__objdict_8c.html#e01f01df6cd5443c01c99491e77cc3de">00117</a> <span class="comment">/*const*/</span> <a class="code" href="hcs12_2applicfg_8h.html#539234687760592d01a8b0d3357bc00e">UNS8</a> <a class="code" href="example__objdict_8c.html#e01f01df6cd5443c01c99491e77cc3de">Linux_slave_obj1001</a> = 0x0;
|
|
133 |
<a name="l00118"></a><a class="code" href="example__objdict_8c.html#a12d9d7966e31f886c54398b9a7915e3">00118</a> <span class="comment">/*const*/</span> <a class="code" href="structtd__subindex.html">subindex</a> <a class="code" href="example__objdict_8c.html#a12d9d7966e31f886c54398b9a7915e3">Linux_slave_Index1001</a>[] =
|
|
134 |
<a name="l00119"></a>00119 {
|
|
135 |
<a name="l00120"></a>00120 { <a class="code" href="objdictdef_8h.html#628642b04c07236ae1e986c248a79ae5">RO</a>, <a class="code" href="objdictdef_8h.html#2d25bcd37166cc98f0d823cdb8c553ef">uint8</a>, <span class="keyword">sizeof</span>(<a class="code" href="hcs12_2applicfg_8h.html#539234687760592d01a8b0d3357bc00e">UNS8</a>), (<span class="keywordtype">void</span>*)&<a class="code" href="example__objdict_8c.html#e01f01df6cd5443c01c99491e77cc3de">Linux_slave_obj1001</a> }
|
|
136 |
<a name="l00121"></a>00121 };
|
|
137 |
<a name="l00122"></a>00122
|
|
138 |
<a name="l00123"></a>00123 <span class="comment">/* index 0x1005 : COB_ID SYNC */</span>
|
|
139 |
<a name="l00124"></a>00124 <span class="comment">/* Should not be modified */</span>
|
|
140 |
<a name="l00125"></a><a class="code" href="example__objdict_8c.html#e7d9fa73081e48783f3ca36c1abf785f">00125</a> <a class="code" href="hcs12_2applicfg_8h.html#889a782714194ae2f780002d25d6e0be">UNS32</a> <a class="code" href="example__objdict_8c.html#e7d9fa73081e48783f3ca36c1abf785f">Linux_slave_obj1005</a> = 0x00000080; <span class="comment">// bit 30 = 1 : device can generate a SYNC message</span>
|
|
141 |
<a name="l00126"></a>00126 <span class="comment">// Beware, it is over written when the node </span>
|
|
142 |
<a name="l00127"></a>00127 <span class="comment">// enters in reset mode</span>
|
|
143 |
<a name="l00128"></a>00128 <span class="comment">// See initResetMode() in init.c</span>
|
|
144 |
<a name="l00129"></a><a class="code" href="example__objdict_8c.html#523059c463ce15ba4189a6d69b81baf3">00129</a> <span class="comment">/*const*/</span> <a class="code" href="structtd__subindex.html">subindex</a> <a class="code" href="example__objdict_8c.html#523059c463ce15ba4189a6d69b81baf3">Linux_slave_Index1005</a>[] =
|
|
145 |
<a name="l00130"></a>00130 {
|
|
146 |
<a name="l00131"></a>00131 { <a class="code" href="objdictdef_8h.html#fc4ded33ac0ca43defcce639e965748a">RW</a>, <a class="code" href="objdictdef_8h.html#9695cf1104606879c5d3f0221635a069">uint32</a>, <span class="keyword">sizeof</span>(<a class="code" href="hcs12_2applicfg_8h.html#889a782714194ae2f780002d25d6e0be">UNS32</a>), (<span class="keywordtype">void</span>*)&<a class="code" href="example__objdict_8c.html#e7d9fa73081e48783f3ca36c1abf785f">Linux_slave_obj1005</a> }
|
|
147 |
<a name="l00132"></a>00132 };
|
|
148 |
<a name="l00133"></a>00133
|
|
149 |
<a name="l00134"></a>00134 <span class="comment">/* index 0x1006 : SYNC period */</span>
|
|
150 |
<a name="l00135"></a>00135 <span class="comment">// For producing the SYNC signal every n micro-seconds.</span>
|
|
151 |
<a name="l00136"></a>00136 <span class="comment">// Put 0 to not producing SYNC</span>
|
|
152 |
<a name="l00137"></a><a class="code" href="example__objdict_8c.html#48ace29118ee6323d00ee90b608ad780">00137</a> <span class="comment">/*const*/</span> <a class="code" href="hcs12_2applicfg_8h.html#889a782714194ae2f780002d25d6e0be">UNS32</a> <a class="code" href="example__objdict_8c.html#48ace29118ee6323d00ee90b608ad780">Linux_slave_obj1006</a> = 0x0;
|
|
153 |
<a name="l00138"></a>00138 <span class="comment">// Default 0 to not produce SYNC //</span>
|
|
154 |
<a name="l00139"></a>00139 <span class="comment">// Beware, it is over written when the </span>
|
|
155 |
<a name="l00140"></a>00140 <span class="comment">// node enters in reset mode.</span>
|
|
156 |
<a name="l00141"></a>00141 <span class="comment">// See initResetMode() in init.c</span>
|
|
157 |
<a name="l00142"></a><a class="code" href="example__objdict_8c.html#6ae4bc2f32e5a18abcceaa4124c7cdf9">00142</a> <span class="comment">/*const*/</span> <a class="code" href="structtd__subindex.html">subindex</a> <a class="code" href="example__objdict_8c.html#6ae4bc2f32e5a18abcceaa4124c7cdf9">Linux_slave_Index1006</a>[] =
|
|
158 |
<a name="l00143"></a>00143 {
|
|
159 |
<a name="l00144"></a>00144 { <a class="code" href="objdictdef_8h.html#fc4ded33ac0ca43defcce639e965748a">RW</a>, <a class="code" href="objdictdef_8h.html#9695cf1104606879c5d3f0221635a069">uint32</a>, <span class="keyword">sizeof</span>(<a class="code" href="hcs12_2applicfg_8h.html#889a782714194ae2f780002d25d6e0be">UNS32</a>), (<span class="keywordtype">void</span>*)&<a class="code" href="example__objdict_8c.html#48ace29118ee6323d00ee90b608ad780">Linux_slave_obj1006</a> }
|
|
160 |
<a name="l00145"></a>00145 };
|
|
161 |
<a name="l00146"></a>00146
|
|
162 |
<a name="l00147"></a>00147 <span class="comment">/* index 0x1007 : Synchronous Window Length</span>
|
|
163 |
<a name="l00148"></a>00148 <span class="comment"> Seems to be needed by DS401 to generate the SYNC signal ! */</span>
|
|
164 |
<a name="l00149"></a><a class="code" href="example__objdict_8c.html#07d47838704a5a9503ab8bed92b63306">00149</a> <span class="comment">/*const*/</span> <a class="code" href="hcs12_2applicfg_8h.html#889a782714194ae2f780002d25d6e0be">UNS32</a> <a class="code" href="example__objdict_8c.html#07d47838704a5a9503ab8bed92b63306">Linux_slave_obj1007</a> = 0x0; <span class="comment">/* Default 0 */</span>
|
|
165 |
<a name="l00150"></a><a class="code" href="example__objdict_8c.html#b9d4489193cc9862f5412a1092b3ce44">00150</a> <span class="comment">/*const*/</span> <a class="code" href="structtd__subindex.html">subindex</a> <a class="code" href="example__objdict_8c.html#b9d4489193cc9862f5412a1092b3ce44">Linux_slave_Index1007</a>[] =
|
|
166 |
<a name="l00151"></a>00151 {
|
|
167 |
<a name="l00152"></a>00152 { <a class="code" href="objdictdef_8h.html#fc4ded33ac0ca43defcce639e965748a">RW</a>, <a class="code" href="objdictdef_8h.html#9695cf1104606879c5d3f0221635a069">uint32</a>, <span class="keyword">sizeof</span>(<a class="code" href="hcs12_2applicfg_8h.html#889a782714194ae2f780002d25d6e0be">UNS32</a>), (<span class="keywordtype">void</span>*)&<a class="code" href="example__objdict_8c.html#07d47838704a5a9503ab8bed92b63306">Linux_slave_obj1007</a> }
|
|
168 |
<a name="l00153"></a>00153 };
|
|
169 |
<a name="l00154"></a>00154
|
|
170 |
<a name="l00155"></a>00155 <span class="comment">/* index 0x1008 : Manufacturer device name */</span>
|
|
171 |
<a name="l00156"></a><a class="code" href="example__objdict_8c.html#967da097f7049ba6455f674862fdf2e0">00156</a> <a class="code" href="hcs12_2applicfg_8h.html#539234687760592d01a8b0d3357bc00e">UNS8</a> <a class="code" href="example__objdict_8c.html#967da097f7049ba6455f674862fdf2e0">Linux_slave_obj1008</a>[] = <span class="stringliteral">"Appli_Slave_HC12"</span>; <span class="comment">/* Default 0 */</span>
|
|
172 |
<a name="l00157"></a><a class="code" href="example__objdict_8c.html#aef0742faaa702e9ffa53e7c33ea50bf">00157</a> <a class="code" href="structtd__subindex.html">subindex</a> <a class="code" href="example__objdict_8c.html#aef0742faaa702e9ffa53e7c33ea50bf">Linux_slave_Index1008</a>[] =
|
|
173 |
<a name="l00158"></a>00158 {
|
|
174 |
<a name="l00159"></a>00159 { <a class="code" href="objdictdef_8h.html#628642b04c07236ae1e986c248a79ae5">RO</a>, <a class="code" href="objdictdef_8h.html#9695cf1104606879c5d3f0221635a069">uint32</a>, <span class="keyword">sizeof</span>(<a class="code" href="example__objdict_8c.html#967da097f7049ba6455f674862fdf2e0">Linux_slave_obj1008</a>), (<span class="keywordtype">void</span>*)&<a class="code" href="example__objdict_8c.html#967da097f7049ba6455f674862fdf2e0">Linux_slave_obj1008</a> }
|
|
175 |
<a name="l00160"></a>00160 };
|
|
176 |
<a name="l00161"></a>00161
|
|
177 |
<a name="l00162"></a>00162 <span class="comment">/* index 0x1009 : Manufacturer hardware version */</span>
|
|
178 |
<a name="l00163"></a><a class="code" href="example__objdict_8c.html#c2fd7acee0d7ea8909c986c132f365af">00163</a> <a class="code" href="hcs12_2applicfg_8h.html#539234687760592d01a8b0d3357bc00e">UNS8</a> <a class="code" href="example__objdict_8c.html#c2fd7acee0d7ea8909c986c132f365af">Linux_slave_obj1009</a>[] = <span class="stringliteral">"__DATE__"</span>; <span class="comment">/* Default 0 */</span>
|
|
179 |
<a name="l00164"></a><a class="code" href="example__objdict_8c.html#9b4315fc4a587bca9c60db7ba1908747">00164</a> <a class="code" href="structtd__subindex.html">subindex</a> <a class="code" href="example__objdict_8c.html#9b4315fc4a587bca9c60db7ba1908747">Linux_slave_Index1009</a>[] =
|
|
180 |
<a name="l00165"></a>00165 {
|
|
181 |
<a name="l00166"></a>00166 { <a class="code" href="objdictdef_8h.html#628642b04c07236ae1e986c248a79ae5">RO</a>, <a class="code" href="objdictdef_8h.html#9695cf1104606879c5d3f0221635a069">uint32</a>, <span class="keyword">sizeof</span>(<a class="code" href="example__objdict_8c.html#c2fd7acee0d7ea8909c986c132f365af">Linux_slave_obj1009</a>), (<span class="keywordtype">void</span>*)&<a class="code" href="example__objdict_8c.html#c2fd7acee0d7ea8909c986c132f365af">Linux_slave_obj1009</a> }
|
|
182 |
<a name="l00167"></a>00167 };
|
|
183 |
<a name="l00168"></a>00168
|
|
184 |
<a name="l00169"></a>00169 <span class="comment">/* index 0x100A : Manufacturer software version */</span>
|
|
185 |
<a name="l00170"></a><a class="code" href="example__objdict_8c.html#0cfd1dc997e0ce10303400b4d184d5ca">00170</a> <a class="code" href="hcs12_2applicfg_8h.html#539234687760592d01a8b0d3357bc00e">UNS8</a> <a class="code" href="example__objdict_8c.html#0cfd1dc997e0ce10303400b4d184d5ca">Linux_slave_obj100A</a>[] = __TIME__; <span class="comment">/* Default 0 */</span>
|
|
186 |
<a name="l00171"></a><a class="code" href="example__objdict_8c.html#74bd750703d7ad9948ceed3550738e29">00171</a> <a class="code" href="structtd__subindex.html">subindex</a> <a class="code" href="example__objdict_8c.html#74bd750703d7ad9948ceed3550738e29">Linux_slave_Index100A</a>[] =
|
|
187 |
<a name="l00172"></a>00172 {
|
|
188 |
<a name="l00173"></a>00173 { <a class="code" href="objdictdef_8h.html#628642b04c07236ae1e986c248a79ae5">RO</a>, <a class="code" href="objdictdef_8h.html#9695cf1104606879c5d3f0221635a069">uint32</a>, Linux_slave_sizeof(obj100A), (<span class="keywordtype">void</span>*)&<a class="code" href="example__objdict_8c.html#0cfd1dc997e0ce10303400b4d184d5ca">Linux_slave_obj100A</a>}
|
|
189 |
<a name="l00174"></a>00174 };
|
|
190 |
<a name="l00175"></a>00175
|
|
191 |
<a name="l00176"></a>00176
|
|
192 |
<a name="l00177"></a><a class="code" href="example__objdict_8c.html#0fdc4651ac2468881ff82d20529761b4">00177</a> <a class="code" href="timer_8h.html#146f546340de2a44ab2f63681d40de95">TIMER_HANDLE</a> <a class="code" href="example__objdict_8c.html#0fdc4651ac2468881ff82d20529761b4">Linux_slave_heartBeatTimers</a>[1] = {TIMER_NONE,};
|
|
193 |
<a name="l00178"></a>00178 <span class="comment">/* index 0x1016 : HeartBeat consumers </span>
|
|
194 |
<a name="l00179"></a>00179 <span class="comment"> The nodes which can send a heartbeat */</span>
|
|
195 |
<a name="l00180"></a><a class="code" href="example__objdict_8c.html#bca1cf71678934c1c275cba63e2f58da">00180</a> <a class="code" href="hcs12_2applicfg_8h.html#889a782714194ae2f780002d25d6e0be">UNS32</a> <a class="code" href="example__objdict_8c.html#bca1cf71678934c1c275cba63e2f58da">Linux_slave_obj1016</a>[] = {<span class="comment">// Consumer time for each node </span>
|
|
196 |
<a name="l00181"></a>00181 0x00000000}; <span class="comment">// Format 0x00NNTTTT (N=Node T=time in ms)</span>
|
|
197 |
<a name="l00182"></a>00182
|
|
198 |
<a name="l00183"></a><a class="code" href="example__objdict_8c.html#789346e90805932f9a568212d2e17da8">00183</a> <a class="code" href="hcs12_2applicfg_8h.html#539234687760592d01a8b0d3357bc00e">UNS8</a> <a class="code" href="example__objdict_8c.html#789346e90805932f9a568212d2e17da8">Linux_slave_obj1016_cnt</a> = 1; <span class="comment">// 1 nodes could send me</span>
|
|
199 |
<a name="l00184"></a>00184 <span class="comment">// their heartbeat.</span>
|
|
200 |
<a name="l00185"></a><a class="code" href="example__objdict_8c.html#01ca355a05ad9bc65dc4d5db042a1004">00185</a> <a class="code" href="structtd__subindex.html">subindex</a> <a class="code" href="example__objdict_8c.html#01ca355a05ad9bc65dc4d5db042a1004">Linux_slave_Index1016</a>[] =
|
|
201 |
<a name="l00186"></a>00186 {
|
|
202 |
<a name="l00187"></a>00187 { <a class="code" href="objdictdef_8h.html#628642b04c07236ae1e986c248a79ae5">RO</a>, <a class="code" href="objdictdef_8h.html#2d25bcd37166cc98f0d823cdb8c553ef">uint8</a>, <span class="keyword">sizeof</span>(<a class="code" href="hcs12_2applicfg_8h.html#539234687760592d01a8b0d3357bc00e">UNS8</a>), (<span class="keywordtype">void</span>*)&Linux_slave_obj1016_cnt },
|
|
203 |
<a name="l00188"></a>00188 { <a class="code" href="objdictdef_8h.html#fc4ded33ac0ca43defcce639e965748a">RW</a>, uint32, <span class="keyword">sizeof</span>(<a class="code" href="hcs12_2applicfg_8h.html#889a782714194ae2f780002d25d6e0be">UNS32</a>), (<span class="keywordtype">void</span>*)&Linux_slave_obj1016[0] }
|
|
204 |
<a name="l00189"></a>00189 };
|
|
205 |
<a name="l00190"></a>00190
|
|
206 |
<a name="l00191"></a>00191 <span class="comment">/* index 0x1017 : Heartbeat producer </span>
|
|
207 |
<a name="l00192"></a>00192 <span class="comment"> Every HBProducerTime, the node sends its heartbeat */</span>
|
|
208 |
<a name="l00193"></a><a class="code" href="example__objdict_8c.html#497917374fad5aab24786e55eea4c5a8">00193</a> <a class="code" href="hcs12_2applicfg_8h.html#5528eeccf214bfe021532622d78c6a96">UNS16</a> <a class="code" href="example__objdict_8c.html#497917374fad5aab24786e55eea4c5a8">Linux_slave_obj1017</a> = 0; <span class="comment">//HBProducerTime in ms. If 0 : not activated </span>
|
|
209 |
<a name="l00194"></a>00194 <span class="comment">// Beware, it is over written when the </span>
|
|
210 |
<a name="l00195"></a>00195 <span class="comment">// node enters in reset mode.</span>
|
|
211 |
<a name="l00196"></a>00196 <span class="comment">// See initResetMode() in init.c</span>
|
|
212 |
<a name="l00197"></a><a class="code" href="example__objdict_8c.html#f8f53c73742e95cfe30c57a733e3a797">00197</a> <a class="code" href="structtd__subindex.html">subindex</a> <a class="code" href="example__objdict_8c.html#f8f53c73742e95cfe30c57a733e3a797">Linux_slave_Index1017</a>[] =
|
|
213 |
<a name="l00198"></a>00198 {
|
|
214 |
<a name="l00199"></a>00199 { <a class="code" href="objdictdef_8h.html#fc4ded33ac0ca43defcce639e965748a">RW</a>, <a class="code" href="objdictdef_8h.html#fc4adc9111e54b3163b6126ce951ecc3">uint16</a>, <span class="keyword">sizeof</span>(<a class="code" href="hcs12_2applicfg_8h.html#5528eeccf214bfe021532622d78c6a96">UNS16</a>), &Linux_slave_obj1017 }
|
|
215 |
<a name="l00200"></a>00200 };
|
|
216 |
<a name="l00201"></a>00201
|
|
217 |
<a name="l00202"></a>00202 <span class="comment">/* index 0x1018 : Identity object */</span>
|
|
218 |
<a name="l00205"></a>00205 <span class="comment">/* Values can be modified */</span>
|
|
219 |
<a name="l00206"></a>00206
|
|
220 |
<a name="l00207"></a><a class="code" href="example__objdict_8c.html#269717d89015bf9dd62198ed909e601f">00207</a> s_identity <a class="code" href="example__objdict_8c.html#269717d89015bf9dd62198ed909e601f">Linux_slave_obj1018</a> =
|
|
221 |
<a name="l00208"></a>00208 {
|
|
222 |
<a name="l00209"></a>00209 4, <span class="comment">// number of supported entries</span>
|
|
223 |
<a name="l00210"></a>00210 0, <span class="comment">// Vendor-ID (given by the can-cia)</span>
|
|
224 |
<a name="l00211"></a>00211 0, <span class="comment">// Product Code</span>
|
|
225 |
<a name="l00212"></a>00212 0, <span class="comment">// Revision number</span>
|
|
226 |
<a name="l00213"></a>00213 0 <span class="comment">// serial number</span>
|
|
227 |
<a name="l00214"></a>00214 };
|
|
228 |
<a name="l00215"></a>00215
|
|
229 |
<a name="l00216"></a><a class="code" href="example__objdict_8c.html#e5b0fad865bf7993c04c246b4145aa63">00216</a> <a class="code" href="structtd__subindex.html">subindex</a> <a class="code" href="example__objdict_8c.html#e5b0fad865bf7993c04c246b4145aa63">Linux_slave_Index1018</a>[] =
|
|
230 |
<a name="l00217"></a>00217 {
|
|
231 |
<a name="l00218"></a>00218 { <a class="code" href="objdictdef_8h.html#628642b04c07236ae1e986c248a79ae5">RO</a>, <a class="code" href="objdictdef_8h.html#2d25bcd37166cc98f0d823cdb8c553ef">uint8</a>, <span class="keyword">sizeof</span>(<a class="code" href="hcs12_2applicfg_8h.html#539234687760592d01a8b0d3357bc00e">UNS8</a>), (<span class="keywordtype">void</span>*)&Linux_slave_obj1018.count },
|
|
232 |
<a name="l00219"></a>00219 { <a class="code" href="objdictdef_8h.html#628642b04c07236ae1e986c248a79ae5">RO</a>, uint32, <span class="keyword">sizeof</span>(<a class="code" href="hcs12_2applicfg_8h.html#889a782714194ae2f780002d25d6e0be">UNS32</a>), (<span class="keywordtype">void</span>*)&Linux_slave_obj1018.vendor_id},
|
|
233 |
<a name="l00220"></a>00220 { <a class="code" href="objdictdef_8h.html#628642b04c07236ae1e986c248a79ae5">RO</a>, uint32, <span class="keyword">sizeof</span>(<a class="code" href="hcs12_2applicfg_8h.html#889a782714194ae2f780002d25d6e0be">UNS32</a>), (<span class="keywordtype">void</span>*)&Linux_slave_obj1018.product_code},
|
|
234 |
<a name="l00221"></a>00221 { <a class="code" href="objdictdef_8h.html#628642b04c07236ae1e986c248a79ae5">RO</a>, uint32, <span class="keyword">sizeof</span>(<a class="code" href="hcs12_2applicfg_8h.html#889a782714194ae2f780002d25d6e0be">UNS32</a>), (<span class="keywordtype">void</span>*)&Linux_slave_obj1018.revision_number},
|
|
235 |
<a name="l00222"></a>00222 { <a class="code" href="objdictdef_8h.html#628642b04c07236ae1e986c248a79ae5">RO</a>, uint32, <span class="keyword">sizeof</span>(<a class="code" href="hcs12_2applicfg_8h.html#889a782714194ae2f780002d25d6e0be">UNS32</a>), (<span class="keywordtype">void</span>*)&Linux_slave_obj1018.serial_number}
|
|
236 |
<a name="l00223"></a>00223 };
|
|
237 |
<a name="l00224"></a>00224
|
|
238 |
<a name="l00225"></a>00225 <span class="comment">/* index 0x1200 : The SDO Server parameters */</span>
|
|
239 |
<a name="l00226"></a>00226 <span class="comment">/* BEWARE You cannot define more than one SDO server */</span>
|
|
240 |
<a name="l00227"></a>00227 <span class="comment">/* The values should not be modified here, </span>
|
|
241 |
<a name="l00228"></a>00228 <span class="comment"> but can be changed at runtime */</span>
|
|
242 |
<a name="l00229"></a>00229 <span class="comment">// Beware that the default values that you could put here</span>
|
|
243 |
<a name="l00230"></a>00230 <span class="comment">// will be over written at the initialisation of the node. </span>
|
|
244 |
<a name="l00231"></a>00231 <span class="comment">// See setNodeId() in init.c</span>
|
|
245 |
<a name="l00232"></a><a class="code" href="example__objdict_8c.html#78cf31a97b423a142d8244a7699aa765">00232</a> s_sdo_parameter <a class="code" href="example__objdict_8c.html#78cf31a97b423a142d8244a7699aa765">Linux_slave_obj1200</a> =
|
|
246 |
<a name="l00233"></a>00233 { 3, <span class="comment">// Number of entries. Always 3 for the SDO </span>
|
|
247 |
<a name="l00234"></a>00234 0x601, <span class="comment">// The cob_id transmited in CAN msg to the server </span>
|
|
248 |
<a name="l00235"></a>00235 0x581, <span class="comment">// The cob_id received in CAN msg from the server </span>
|
|
249 |
<a name="l00236"></a>00236 0x01 <span class="comment">// The node id of the client. Should not be modified</span>
|
|
250 |
<a name="l00237"></a>00237 };
|
|
251 |
<a name="l00238"></a><a class="code" href="example__objdict_8c.html#055cca9dc73b469c4b34b7aeed44967e">00238</a> <a class="code" href="structtd__subindex.html">subindex</a> <a class="code" href="example__objdict_8c.html#055cca9dc73b469c4b34b7aeed44967e">Linux_slave_Index1200</a>[] =
|
|
252 |
<a name="l00239"></a>00239 {
|
|
253 |
<a name="l00240"></a>00240 { <a class="code" href="objdictdef_8h.html#628642b04c07236ae1e986c248a79ae5">RO</a>, <a class="code" href="objdictdef_8h.html#2d25bcd37166cc98f0d823cdb8c553ef">uint8</a>, <span class="keyword">sizeof</span>( <a class="code" href="hcs12_2applicfg_8h.html#539234687760592d01a8b0d3357bc00e">UNS8</a> ), (<span class="keywordtype">void</span>*)&Linux_slave_obj1200.count },
|
|
254 |
<a name="l00241"></a>00241 { <a class="code" href="objdictdef_8h.html#628642b04c07236ae1e986c248a79ae5">RO</a>, uint32, <span class="keyword">sizeof</span>( <a class="code" href="hcs12_2applicfg_8h.html#889a782714194ae2f780002d25d6e0be">UNS32</a>), (<span class="keywordtype">void</span>*)&Linux_slave_obj1200.cob_id_client },
|
|
255 |
<a name="l00242"></a>00242 { <a class="code" href="objdictdef_8h.html#628642b04c07236ae1e986c248a79ae5">RO</a>, uint32, <span class="keyword">sizeof</span>( <a class="code" href="hcs12_2applicfg_8h.html#889a782714194ae2f780002d25d6e0be">UNS32</a>), (<span class="keywordtype">void</span>*)&Linux_slave_obj1200.cob_id_server },
|
|
256 |
<a name="l00243"></a>00243 { <a class="code" href="objdictdef_8h.html#fc4ded33ac0ca43defcce639e965748a">RW</a>, <a class="code" href="objdictdef_8h.html#2d25bcd37166cc98f0d823cdb8c553ef">uint8</a>, <span class="keyword">sizeof</span>( <a class="code" href="hcs12_2applicfg_8h.html#539234687760592d01a8b0d3357bc00e">UNS8</a>), (<span class="keywordtype">void</span>*)&Linux_slave_obj1200.node_id }
|
|
257 |
<a name="l00244"></a>00244 };
|
|
258 |
<a name="l00245"></a>00245
|
|
259 |
<a name="l00246"></a>00246 <span class="comment">/* index 0x1280 : SDO client parameter */</span>
|
|
260 |
<a name="l00247"></a><a class="code" href="example__objdict_8c.html#7d471aeb1feb2b5df1566ae936d9a8c3">00247</a> s_sdo_parameter <a class="code" href="example__objdict_8c.html#7d471aeb1feb2b5df1566ae936d9a8c3">Linux_slave_obj1280</a> =
|
|
261 |
<a name="l00248"></a>00248 { 3, <span class="comment">// Nb of entries </span>
|
|
262 |
<a name="l00249"></a>00249 0x600, <span class="comment">// cobid transmited to the server. The good value should be 0x600 + server nodeId</span>
|
|
263 |
<a name="l00250"></a>00250 0x580, <span class="comment">// cobid received from the server. The good value should be 0x580 + server nodeId</span>
|
|
264 |
<a name="l00251"></a>00251 0x01 <span class="comment">// server NodeId</span>
|
|
265 |
<a name="l00252"></a>00252 };
|
|
266 |
<a name="l00253"></a><a class="code" href="example__objdict_8c.html#3d80d2a375cf3b48229dfb1a03d7aa19">00253</a> <a class="code" href="structtd__subindex.html">subindex</a> <a class="code" href="example__objdict_8c.html#3d80d2a375cf3b48229dfb1a03d7aa19">Linux_slave_Index1280</a>[] =
|
|
267 |
<a name="l00254"></a>00254 {
|
|
268 |
<a name="l00255"></a>00255 { <a class="code" href="objdictdef_8h.html#628642b04c07236ae1e986c248a79ae5">RO</a>, <a class="code" href="objdictdef_8h.html#2d25bcd37166cc98f0d823cdb8c553ef">uint8</a>, <span class="keyword">sizeof</span>( <a class="code" href="hcs12_2applicfg_8h.html#539234687760592d01a8b0d3357bc00e">UNS8</a> ), (<span class="keywordtype">void</span>*)&Linux_slave_obj1280.count },
|
|
269 |
<a name="l00256"></a>00256 { <a class="code" href="objdictdef_8h.html#fc4ded33ac0ca43defcce639e965748a">RW</a>, <a class="code" href="objdictdef_8h.html#2d25bcd37166cc98f0d823cdb8c553ef">uint8</a>, <span class="keyword">sizeof</span>( <a class="code" href="hcs12_2applicfg_8h.html#889a782714194ae2f780002d25d6e0be">UNS32</a> ), (<span class="keywordtype">void</span>*)&Linux_slave_obj1280.cob_id_client },
|
|
270 |
<a name="l00257"></a>00257 { <a class="code" href="objdictdef_8h.html#fc4ded33ac0ca43defcce639e965748a">RW</a>, <a class="code" href="objdictdef_8h.html#2d25bcd37166cc98f0d823cdb8c553ef">uint8</a>, <span class="keyword">sizeof</span>( <a class="code" href="hcs12_2applicfg_8h.html#889a782714194ae2f780002d25d6e0be">UNS32</a> ), (<span class="keywordtype">void</span>*)&Linux_slave_obj1280.cob_id_server },
|
|
271 |
<a name="l00258"></a>00258 { <a class="code" href="objdictdef_8h.html#fc4ded33ac0ca43defcce639e965748a">RW</a>, <a class="code" href="objdictdef_8h.html#2d25bcd37166cc98f0d823cdb8c553ef">uint8</a>, <span class="keyword">sizeof</span>( <a class="code" href="hcs12_2applicfg_8h.html#539234687760592d01a8b0d3357bc00e">UNS8</a> ), (<span class="keywordtype">void</span>*)&Linux_slave_obj1280.node_id }
|
|
272 |
<a name="l00259"></a>00259 };
|
|
273 |
<a name="l00260"></a>00260
|
|
274 |
<a name="l00261"></a>00261 <span class="comment">/* index 0x1400 : PDO receive communication parameter */</span>
|
|
275 |
<a name="l00262"></a><a class="code" href="example__objdict_8c.html#fbae711f68ddf36a62410e490022d532">00262</a> s_pdo_communication_parameter <a class="code" href="example__objdict_8c.html#fbae711f68ddf36a62410e490022d532">Linux_slave_obj1400</a> =
|
|
276 |
<a name="l00263"></a>00263 { 2, <span class="comment">// Largest subindex supported </span>
|
|
277 |
<a name="l00264"></a>00264 0x0, <span class="comment">// Default COBID (overwritten at init for index 0x1400 to 0x1403)</span>
|
|
278 |
<a name="l00265"></a>00265 253 <span class="comment">// Transmission type. See objdictdef.h </span>
|
|
279 |
<a name="l00266"></a>00266 };
|
|
280 |
<a name="l00267"></a><a class="code" href="example__objdict_8c.html#fe83534851ad73d6fcefabd6a6d18f73">00267</a> <a class="code" href="structtd__subindex.html">subindex</a> <a class="code" href="example__objdict_8c.html#fe83534851ad73d6fcefabd6a6d18f73">Linux_slave_Index1400</a>[] =
|
|
281 |
<a name="l00268"></a>00268 {
|
|
282 |
<a name="l00269"></a>00269 { <a class="code" href="objdictdef_8h.html#628642b04c07236ae1e986c248a79ae5">RO</a>, <a class="code" href="objdictdef_8h.html#2d25bcd37166cc98f0d823cdb8c553ef">uint8</a>, <span class="keyword">sizeof</span>( <a class="code" href="hcs12_2applicfg_8h.html#539234687760592d01a8b0d3357bc00e">UNS8</a> ), (<span class="keywordtype">void</span>*)&Linux_slave_obj1400.count },
|
|
283 |
<a name="l00270"></a>00270 { <a class="code" href="objdictdef_8h.html#fc4ded33ac0ca43defcce639e965748a">RW</a>, <a class="code" href="objdictdef_8h.html#2d25bcd37166cc98f0d823cdb8c553ef">uint8</a>, <span class="keyword">sizeof</span>( <a class="code" href="hcs12_2applicfg_8h.html#889a782714194ae2f780002d25d6e0be">UNS32</a> ), (<span class="keywordtype">void</span>*)&Linux_slave_obj1400.cob_id },
|
|
284 |
<a name="l00271"></a>00271 { <a class="code" href="objdictdef_8h.html#fc4ded33ac0ca43defcce639e965748a">RW</a>, <a class="code" href="objdictdef_8h.html#2d25bcd37166cc98f0d823cdb8c553ef">uint8</a>, <span class="keyword">sizeof</span>( <a class="code" href="hcs12_2applicfg_8h.html#539234687760592d01a8b0d3357bc00e">UNS8</a> ), (<span class="keywordtype">void</span>*)&Linux_slave_obj1400.type },
|
|
285 |
<a name="l00272"></a>00272 };
|
|
286 |
<a name="l00273"></a>00273
|
|
287 |
<a name="l00274"></a>00274 <span class="comment">/* index 0x1401 : PDO receive communication parameter */</span>
|
|
288 |
<a name="l00275"></a><a class="code" href="example__objdict_8c.html#963b22df8be4f9fc5685d28743feaa13">00275</a> s_pdo_communication_parameter <a class="code" href="example__objdict_8c.html#963b22df8be4f9fc5685d28743feaa13">Linux_slave_obj1401</a> =
|
|
289 |
<a name="l00276"></a>00276 { 2, <span class="comment">// Largest subindex supported </span>
|
|
290 |
<a name="l00277"></a>00277 0x0, <span class="comment">// Default COBID (overwritten at init for index 0x1400 to 0x1403)</span>
|
|
291 |
<a name="l00278"></a>00278 253 <span class="comment">// Transmission type. See objdictdef.h </span>
|
|
292 |
<a name="l00279"></a>00279 };
|
|
293 |
<a name="l00280"></a><a class="code" href="example__objdict_8c.html#9a91b6a1e5321a0a0814f7d1c8bb4e21">00280</a> <a class="code" href="structtd__subindex.html">subindex</a> <a class="code" href="example__objdict_8c.html#9a91b6a1e5321a0a0814f7d1c8bb4e21">Linux_slave_Index1401</a>[] =
|
|
294 |
<a name="l00281"></a>00281 {
|
|
295 |
<a name="l00282"></a>00282 { <a class="code" href="objdictdef_8h.html#628642b04c07236ae1e986c248a79ae5">RO</a>, <a class="code" href="objdictdef_8h.html#2d25bcd37166cc98f0d823cdb8c553ef">uint8</a>, <span class="keyword">sizeof</span>( <a class="code" href="hcs12_2applicfg_8h.html#539234687760592d01a8b0d3357bc00e">UNS8</a> ), (<span class="keywordtype">void</span>*)&Linux_slave_obj1401.count },
|
|
296 |
<a name="l00283"></a>00283 { <a class="code" href="objdictdef_8h.html#fc4ded33ac0ca43defcce639e965748a">RW</a>, <a class="code" href="objdictdef_8h.html#2d25bcd37166cc98f0d823cdb8c553ef">uint8</a>, <span class="keyword">sizeof</span>( <a class="code" href="hcs12_2applicfg_8h.html#889a782714194ae2f780002d25d6e0be">UNS32</a> ), (<span class="keywordtype">void</span>*)&Linux_slave_obj1401.cob_id },
|
|
297 |
<a name="l00284"></a>00284 { <a class="code" href="objdictdef_8h.html#fc4ded33ac0ca43defcce639e965748a">RW</a>, <a class="code" href="objdictdef_8h.html#2d25bcd37166cc98f0d823cdb8c553ef">uint8</a>, <span class="keyword">sizeof</span>( <a class="code" href="hcs12_2applicfg_8h.html#539234687760592d01a8b0d3357bc00e">UNS8</a> ), (<span class="keywordtype">void</span>*)&Linux_slave_obj1401.type },
|
|
298 |
<a name="l00285"></a>00285 };
|
|
299 |
<a name="l00286"></a>00286
|
|
300 |
<a name="l00287"></a>00287 <span class="comment">/* index 0x1402 : PDO receive communication parameter */</span>
|
|
301 |
<a name="l00288"></a><a class="code" href="example__objdict_8c.html#cf00e5905b77d0718010482147ca14ab">00288</a> s_pdo_communication_parameter <a class="code" href="example__objdict_8c.html#cf00e5905b77d0718010482147ca14ab">Linux_slave_obj1402</a> =
|
|
302 |
<a name="l00289"></a>00289 { 2, <span class="comment">// Largest subindex supported </span>
|
|
303 |
<a name="l00290"></a>00290 0x0, <span class="comment">// Default COBID (overwritten at init for index 0x1400 to 0x1403)</span>
|
|
304 |
<a name="l00291"></a>00291 253 <span class="comment">// Transmission type. See objdictdef.h </span>
|
|
305 |
<a name="l00292"></a>00292 };
|
|
306 |
<a name="l00293"></a><a class="code" href="example__objdict_8c.html#140558578871f3321895cc83b06dc7e5">00293</a> <a class="code" href="structtd__subindex.html">subindex</a> <a class="code" href="example__objdict_8c.html#140558578871f3321895cc83b06dc7e5">Linux_slave_Index1402</a>[] =
|
|
307 |
<a name="l00294"></a>00294 {
|
|
308 |
<a name="l00295"></a>00295 { <a class="code" href="objdictdef_8h.html#628642b04c07236ae1e986c248a79ae5">RO</a>, <a class="code" href="objdictdef_8h.html#2d25bcd37166cc98f0d823cdb8c553ef">uint8</a>, <span class="keyword">sizeof</span>( <a class="code" href="hcs12_2applicfg_8h.html#539234687760592d01a8b0d3357bc00e">UNS8</a> ), (<span class="keywordtype">void</span>*)&Linux_slave_obj1402.count },
|
|
309 |
<a name="l00296"></a>00296 { <a class="code" href="objdictdef_8h.html#fc4ded33ac0ca43defcce639e965748a">RW</a>, <a class="code" href="objdictdef_8h.html#2d25bcd37166cc98f0d823cdb8c553ef">uint8</a>, <span class="keyword">sizeof</span>( <a class="code" href="hcs12_2applicfg_8h.html#889a782714194ae2f780002d25d6e0be">UNS32</a> ), (<span class="keywordtype">void</span>*)&Linux_slave_obj1402.cob_id },
|
|
310 |
<a name="l00297"></a>00297 { <a class="code" href="objdictdef_8h.html#fc4ded33ac0ca43defcce639e965748a">RW</a>, <a class="code" href="objdictdef_8h.html#2d25bcd37166cc98f0d823cdb8c553ef">uint8</a>, <span class="keyword">sizeof</span>( <a class="code" href="hcs12_2applicfg_8h.html#539234687760592d01a8b0d3357bc00e">UNS8</a> ), (<span class="keywordtype">void</span>*)&Linux_slave_obj1402.type },
|
|
311 |
<a name="l00298"></a>00298 };
|
|
312 |
<a name="l00299"></a>00299
|
|
313 |
<a name="l00300"></a>00300 <span class="comment">/* index 0x1600 : PDO receive mapping parameter of PDO communication index 0x1400 */</span>
|
|
314 |
<a name="l00301"></a><a class="code" href="example__objdict_8c.html#f8b5cd0e9fb995c17d106996ba24ec26">00301</a> <a class="code" href="hcs12_2applicfg_8h.html#539234687760592d01a8b0d3357bc00e">UNS8</a> <a class="code" href="example__objdict_8c.html#f8b5cd0e9fb995c17d106996ba24ec26">Linux_slave_obj1600_cnt</a> = 0; <span class="comment">// Number of mapped variables</span>
|
|
315 |
<a name="l00302"></a><a class="code" href="example__objdict_8c.html#476a784e54ed2dd7ef0abfff1d05c296">00302</a> <a class="code" href="hcs12_2applicfg_8h.html#889a782714194ae2f780002d25d6e0be">UNS32</a> <a class="code" href="example__objdict_8c.html#476a784e54ed2dd7ef0abfff1d05c296">Linux_slave_obj1600_mappedVar</a>[] = {
|
|
316 |
<a name="l00303"></a>00303 0x00000000,
|
|
317 |
<a name="l00304"></a>00304 0x00000000,
|
|
318 |
<a name="l00305"></a>00305 0x00000000,
|
|
319 |
<a name="l00306"></a>00306 0x00000000,
|
|
320 |
<a name="l00307"></a>00307 0x00000000,
|
|
321 |
<a name="l00308"></a>00308 0x00000000,
|
|
322 |
<a name="l00309"></a>00309 0x00000000,
|
|
323 |
<a name="l00310"></a>00310 0x00000000
|
|
324 |
<a name="l00311"></a>00311 };
|
|
325 |
<a name="l00312"></a><a class="code" href="example__objdict_8c.html#32cb6562143353da5540e4b3b76751b8">00312</a> <a class="code" href="structtd__subindex.html">subindex</a> <a class="code" href="example__objdict_8c.html#32cb6562143353da5540e4b3b76751b8">Linux_slave_Index1600</a>[] =
|
|
326 |
<a name="l00313"></a>00313 {
|
|
327 |
<a name="l00314"></a>00314 { <a class="code" href="objdictdef_8h.html#fc4ded33ac0ca43defcce639e965748a">RW</a>, <a class="code" href="objdictdef_8h.html#2d25bcd37166cc98f0d823cdb8c553ef">uint8</a>, <span class="keyword">sizeof</span>( <a class="code" href="hcs12_2applicfg_8h.html#539234687760592d01a8b0d3357bc00e">UNS8</a> ), (<span class="keywordtype">void</span>*)&Linux_slave_obj1600_cnt },
|
|
328 |
<a name="l00315"></a>00315 { <a class="code" href="objdictdef_8h.html#fc4ded33ac0ca43defcce639e965748a">RW</a>, uint32, <span class="keyword">sizeof</span>( <a class="code" href="hcs12_2applicfg_8h.html#889a782714194ae2f780002d25d6e0be">UNS32</a> ), (<span class="keywordtype">void</span>*)&Linux_slave_obj1600_mappedVar[0]},
|
|
329 |
<a name="l00316"></a>00316 { <a class="code" href="objdictdef_8h.html#fc4ded33ac0ca43defcce639e965748a">RW</a>, uint32, <span class="keyword">sizeof</span>( <a class="code" href="hcs12_2applicfg_8h.html#889a782714194ae2f780002d25d6e0be">UNS32</a> ), (<span class="keywordtype">void</span>*)&Linux_slave_obj1600_mappedVar[1]},
|
|
330 |
<a name="l00317"></a>00317 { <a class="code" href="objdictdef_8h.html#fc4ded33ac0ca43defcce639e965748a">RW</a>, uint32, <span class="keyword">sizeof</span>( <a class="code" href="hcs12_2applicfg_8h.html#889a782714194ae2f780002d25d6e0be">UNS32</a> ), (<span class="keywordtype">void</span>*)&Linux_slave_obj1600_mappedVar[2]},
|
|
331 |
<a name="l00318"></a>00318 { <a class="code" href="objdictdef_8h.html#fc4ded33ac0ca43defcce639e965748a">RW</a>, uint32, <span class="keyword">sizeof</span>( <a class="code" href="hcs12_2applicfg_8h.html#889a782714194ae2f780002d25d6e0be">UNS32</a> ), (<span class="keywordtype">void</span>*)&Linux_slave_obj1600_mappedVar[3]},
|
|
332 |
<a name="l00319"></a>00319 { <a class="code" href="objdictdef_8h.html#fc4ded33ac0ca43defcce639e965748a">RW</a>, uint32, <span class="keyword">sizeof</span>( <a class="code" href="hcs12_2applicfg_8h.html#889a782714194ae2f780002d25d6e0be">UNS32</a> ), (<span class="keywordtype">void</span>*)&Linux_slave_obj1600_mappedVar[4]},
|
|
333 |
<a name="l00320"></a>00320 { <a class="code" href="objdictdef_8h.html#fc4ded33ac0ca43defcce639e965748a">RW</a>, uint32, <span class="keyword">sizeof</span>( <a class="code" href="hcs12_2applicfg_8h.html#889a782714194ae2f780002d25d6e0be">UNS32</a> ), (<span class="keywordtype">void</span>*)&Linux_slave_obj1600_mappedVar[5]},
|
|
334 |
<a name="l00321"></a>00321 { <a class="code" href="objdictdef_8h.html#fc4ded33ac0ca43defcce639e965748a">RW</a>, uint32, <span class="keyword">sizeof</span>( <a class="code" href="hcs12_2applicfg_8h.html#889a782714194ae2f780002d25d6e0be">UNS32</a> ), (<span class="keywordtype">void</span>*)&Linux_slave_obj1600_mappedVar[6]},
|
|
335 |
<a name="l00322"></a>00322 { <a class="code" href="objdictdef_8h.html#fc4ded33ac0ca43defcce639e965748a">RW</a>, uint32, <span class="keyword">sizeof</span>( <a class="code" href="hcs12_2applicfg_8h.html#889a782714194ae2f780002d25d6e0be">UNS32</a> ), (<span class="keywordtype">void</span>*)&Linux_slave_obj1600_mappedVar[7]}
|
|
336 |
<a name="l00323"></a>00323 };
|
|
337 |
<a name="l00324"></a>00324
|
|
338 |
<a name="l00325"></a>00325 <span class="comment">/* index 0x1601 : PDO receive mapping parameter of PDO communication index 0x1401 */</span>
|
|
339 |
<a name="l00326"></a><a class="code" href="example__objdict_8c.html#f1d5b5758bbf30e03d118648d474731e">00326</a> <a class="code" href="hcs12_2applicfg_8h.html#539234687760592d01a8b0d3357bc00e">UNS8</a> <a class="code" href="example__objdict_8c.html#f1d5b5758bbf30e03d118648d474731e">Linux_slave_obj1601_cnt</a> = 0; <span class="comment">// Number of mapped variables</span>
|
|
340 |
<a name="l00327"></a><a class="code" href="example__objdict_8c.html#3b49ca64aa033e8f1bca69b1280fd6bf">00327</a> <a class="code" href="hcs12_2applicfg_8h.html#889a782714194ae2f780002d25d6e0be">UNS32</a> <a class="code" href="example__objdict_8c.html#3b49ca64aa033e8f1bca69b1280fd6bf">Linux_slave_obj1601_mappedVar</a>[] = {
|
|
341 |
<a name="l00328"></a>00328 0x00000000,
|
|
342 |
<a name="l00329"></a>00329 0x00000000,
|
|
343 |
<a name="l00330"></a>00330 0x00000000,
|
|
344 |
<a name="l00331"></a>00331 0x00000000,
|
|
345 |
<a name="l00332"></a>00332 0x00000000,
|
|
346 |
<a name="l00333"></a>00333 0x00000000,
|
|
347 |
<a name="l00334"></a>00334 0x00000000,
|
|
348 |
<a name="l00335"></a>00335 0x00000000
|
|
349 |
<a name="l00336"></a>00336 };
|
|
350 |
<a name="l00337"></a><a class="code" href="example__objdict_8c.html#d855bea68e3f602e03ee1684b8fe7e18">00337</a> <a class="code" href="structtd__subindex.html">subindex</a> <a class="code" href="example__objdict_8c.html#d855bea68e3f602e03ee1684b8fe7e18">Linux_slave_Index1601</a>[] =
|
|
351 |
<a name="l00338"></a>00338 {
|
|
352 |
<a name="l00339"></a>00339 { <a class="code" href="objdictdef_8h.html#fc4ded33ac0ca43defcce639e965748a">RW</a>, <a class="code" href="objdictdef_8h.html#2d25bcd37166cc98f0d823cdb8c553ef">uint8</a>, <span class="keyword">sizeof</span>( <a class="code" href="hcs12_2applicfg_8h.html#539234687760592d01a8b0d3357bc00e">UNS8</a> ), (<span class="keywordtype">void</span>*)&Linux_slave_obj1601_cnt },
|
|
353 |
<a name="l00340"></a>00340 { <a class="code" href="objdictdef_8h.html#fc4ded33ac0ca43defcce639e965748a">RW</a>, uint32, <span class="keyword">sizeof</span>( <a class="code" href="hcs12_2applicfg_8h.html#889a782714194ae2f780002d25d6e0be">UNS32</a> ), (<span class="keywordtype">void</span>*)&Linux_slave_obj1601_mappedVar[0]},
|
|
354 |
<a name="l00341"></a>00341 { <a class="code" href="objdictdef_8h.html#fc4ded33ac0ca43defcce639e965748a">RW</a>, uint32, <span class="keyword">sizeof</span>( <a class="code" href="hcs12_2applicfg_8h.html#889a782714194ae2f780002d25d6e0be">UNS32</a> ), (<span class="keywordtype">void</span>*)&Linux_slave_obj1601_mappedVar[1]},
|
|
355 |
<a name="l00342"></a>00342 { <a class="code" href="objdictdef_8h.html#fc4ded33ac0ca43defcce639e965748a">RW</a>, uint32, <span class="keyword">sizeof</span>( <a class="code" href="hcs12_2applicfg_8h.html#889a782714194ae2f780002d25d6e0be">UNS32</a> ), (<span class="keywordtype">void</span>*)&Linux_slave_obj1601_mappedVar[2]},
|
|
356 |
<a name="l00343"></a>00343 { <a class="code" href="objdictdef_8h.html#fc4ded33ac0ca43defcce639e965748a">RW</a>, uint32, <span class="keyword">sizeof</span>( <a class="code" href="hcs12_2applicfg_8h.html#889a782714194ae2f780002d25d6e0be">UNS32</a> ), (<span class="keywordtype">void</span>*)&Linux_slave_obj1601_mappedVar[3]},
|
|
357 |
<a name="l00344"></a>00344 { <a class="code" href="objdictdef_8h.html#fc4ded33ac0ca43defcce639e965748a">RW</a>, uint32, <span class="keyword">sizeof</span>( <a class="code" href="hcs12_2applicfg_8h.html#889a782714194ae2f780002d25d6e0be">UNS32</a> ), (<span class="keywordtype">void</span>*)&Linux_slave_obj1601_mappedVar[4]},
|
|
358 |
<a name="l00345"></a>00345 { <a class="code" href="objdictdef_8h.html#fc4ded33ac0ca43defcce639e965748a">RW</a>, uint32, <span class="keyword">sizeof</span>( <a class="code" href="hcs12_2applicfg_8h.html#889a782714194ae2f780002d25d6e0be">UNS32</a> ), (<span class="keywordtype">void</span>*)&Linux_slave_obj1601_mappedVar[5]},
|
|
359 |
<a name="l00346"></a>00346 { <a class="code" href="objdictdef_8h.html#fc4ded33ac0ca43defcce639e965748a">RW</a>, uint32, <span class="keyword">sizeof</span>( <a class="code" href="hcs12_2applicfg_8h.html#889a782714194ae2f780002d25d6e0be">UNS32</a> ), (<span class="keywordtype">void</span>*)&Linux_slave_obj1601_mappedVar[6]},
|
|
360 |
<a name="l00347"></a>00347 { <a class="code" href="objdictdef_8h.html#fc4ded33ac0ca43defcce639e965748a">RW</a>, uint32, <span class="keyword">sizeof</span>( <a class="code" href="hcs12_2applicfg_8h.html#889a782714194ae2f780002d25d6e0be">UNS32</a> ), (<span class="keywordtype">void</span>*)&Linux_slave_obj1601_mappedVar[7]}
|
|
361 |
<a name="l00348"></a>00348 };
|
|
362 |
<a name="l00349"></a>00349
|
|
363 |
<a name="l00350"></a>00350 <span class="comment">/* index 0x1602 : PDO receive mapping parameter of PDO communication index 0x1402 */</span>
|
|
364 |
<a name="l00351"></a><a class="code" href="example__objdict_8c.html#97747c8e606821e9bef059a4c0af5fdf">00351</a> <a class="code" href="hcs12_2applicfg_8h.html#539234687760592d01a8b0d3357bc00e">UNS8</a> <a class="code" href="example__objdict_8c.html#97747c8e606821e9bef059a4c0af5fdf">Linux_slave_obj1602_cnt</a> = 0; <span class="comment">// Number of mapped variables</span>
|
|
365 |
<a name="l00352"></a><a class="code" href="example__objdict_8c.html#36cba9150af4b3ce45ed5305c2bd431a">00352</a> <a class="code" href="hcs12_2applicfg_8h.html#889a782714194ae2f780002d25d6e0be">UNS32</a> <a class="code" href="example__objdict_8c.html#36cba9150af4b3ce45ed5305c2bd431a">Linux_slave_obj1602_mappedVar</a>[] = {
|
|
366 |
<a name="l00353"></a>00353 0x00000000,
|
|
367 |
<a name="l00354"></a>00354 0x00000000,
|
|
368 |
<a name="l00355"></a>00355 0x00000000,
|
|
369 |
<a name="l00356"></a>00356 0x00000000,
|
|
370 |
<a name="l00357"></a>00357 0x00000000,
|
|
371 |
<a name="l00358"></a>00358 0x00000000,
|
|
372 |
<a name="l00359"></a>00359 0x00000000,
|
|
373 |
<a name="l00360"></a>00360 0x00000000
|
|
374 |
<a name="l00361"></a>00361 };
|
|
375 |
<a name="l00362"></a><a class="code" href="example__objdict_8c.html#0d3b42ef9cb10bdc21dc5b8dc4a9f19e">00362</a> <a class="code" href="structtd__subindex.html">subindex</a> <a class="code" href="example__objdict_8c.html#0d3b42ef9cb10bdc21dc5b8dc4a9f19e">Linux_slave_Index1602</a>[] =
|
|
376 |
<a name="l00363"></a>00363 {
|
|
377 |
<a name="l00364"></a>00364 { <a class="code" href="objdictdef_8h.html#fc4ded33ac0ca43defcce639e965748a">RW</a>, <a class="code" href="objdictdef_8h.html#2d25bcd37166cc98f0d823cdb8c553ef">uint8</a>, <span class="keyword">sizeof</span>( <a class="code" href="hcs12_2applicfg_8h.html#539234687760592d01a8b0d3357bc00e">UNS8</a> ), (<span class="keywordtype">void</span>*)&Linux_slave_obj1602_cnt },
|
|
378 |
<a name="l00365"></a>00365 { <a class="code" href="objdictdef_8h.html#fc4ded33ac0ca43defcce639e965748a">RW</a>, uint32, <span class="keyword">sizeof</span>( <a class="code" href="hcs12_2applicfg_8h.html#889a782714194ae2f780002d25d6e0be">UNS32</a> ), (<span class="keywordtype">void</span>*)&Linux_slave_obj1602_mappedVar[0]},
|
|
379 |
<a name="l00366"></a>00366 { <a class="code" href="objdictdef_8h.html#fc4ded33ac0ca43defcce639e965748a">RW</a>, uint32, <span class="keyword">sizeof</span>( <a class="code" href="hcs12_2applicfg_8h.html#889a782714194ae2f780002d25d6e0be">UNS32</a> ), (<span class="keywordtype">void</span>*)&Linux_slave_obj1602_mappedVar[1]},
|
|
380 |
<a name="l00367"></a>00367 { <a class="code" href="objdictdef_8h.html#fc4ded33ac0ca43defcce639e965748a">RW</a>, uint32, <span class="keyword">sizeof</span>( <a class="code" href="hcs12_2applicfg_8h.html#889a782714194ae2f780002d25d6e0be">UNS32</a> ), (<span class="keywordtype">void</span>*)&Linux_slave_obj1602_mappedVar[2]},
|
|
381 |
<a name="l00368"></a>00368 { <a class="code" href="objdictdef_8h.html#fc4ded33ac0ca43defcce639e965748a">RW</a>, uint32, <span class="keyword">sizeof</span>( <a class="code" href="hcs12_2applicfg_8h.html#889a782714194ae2f780002d25d6e0be">UNS32</a> ), (<span class="keywordtype">void</span>*)&Linux_slave_obj1602_mappedVar[3]},
|
|
382 |
<a name="l00369"></a>00369 { <a class="code" href="objdictdef_8h.html#fc4ded33ac0ca43defcce639e965748a">RW</a>, uint32, <span class="keyword">sizeof</span>( <a class="code" href="hcs12_2applicfg_8h.html#889a782714194ae2f780002d25d6e0be">UNS32</a> ), (<span class="keywordtype">void</span>*)&Linux_slave_obj1602_mappedVar[4]},
|
|
383 |
<a name="l00370"></a>00370 { <a class="code" href="objdictdef_8h.html#fc4ded33ac0ca43defcce639e965748a">RW</a>, uint32, <span class="keyword">sizeof</span>( <a class="code" href="hcs12_2applicfg_8h.html#889a782714194ae2f780002d25d6e0be">UNS32</a> ), (<span class="keywordtype">void</span>*)&Linux_slave_obj1602_mappedVar[5]},
|
|
384 |
<a name="l00371"></a>00371 { <a class="code" href="objdictdef_8h.html#fc4ded33ac0ca43defcce639e965748a">RW</a>, uint32, <span class="keyword">sizeof</span>( <a class="code" href="hcs12_2applicfg_8h.html#889a782714194ae2f780002d25d6e0be">UNS32</a> ), (<span class="keywordtype">void</span>*)&Linux_slave_obj1602_mappedVar[6]},
|
|
385 |
<a name="l00372"></a>00372 { <a class="code" href="objdictdef_8h.html#fc4ded33ac0ca43defcce639e965748a">RW</a>, uint32, <span class="keyword">sizeof</span>( <a class="code" href="hcs12_2applicfg_8h.html#889a782714194ae2f780002d25d6e0be">UNS32</a> ), (<span class="keywordtype">void</span>*)&Linux_slave_obj1602_mappedVar[7]}
|
|
386 |
<a name="l00373"></a>00373 };
|
|
387 |
<a name="l00374"></a>00374
|
|
388 |
<a name="l00375"></a>00375 <span class="comment">/* index 0x1800 : PDO transmit communication parameter */</span>
|
|
389 |
<a name="l00376"></a><a class="code" href="example__objdict_8c.html#30746759f144171f3dd6f07a0911891a">00376</a> s_pdo_communication_parameter <a class="code" href="example__objdict_8c.html#30746759f144171f3dd6f07a0911891a">Linux_slave_obj1800</a> =
|
|
390 |
<a name="l00377"></a>00377 { 2, <span class="comment">// Largest subindex supported </span>
|
|
391 |
<a name="l00378"></a>00378 0x0, <span class="comment">// Default COBID (overwritten at init for index 0x1400 to 0x1403)</span>
|
|
392 |
<a name="l00379"></a>00379 253 <span class="comment">// Transmission type. See objdictdef.h </span>
|
|
393 |
<a name="l00380"></a>00380 };
|
|
394 |
<a name="l00381"></a><a class="code" href="example__objdict_8c.html#724e18e7bdf5c1331bac5c749ee74df7">00381</a> <a class="code" href="structtd__subindex.html">subindex</a> <a class="code" href="example__objdict_8c.html#724e18e7bdf5c1331bac5c749ee74df7">Linux_slave_Index1800</a>[] =
|
|
395 |
<a name="l00382"></a>00382 {
|
|
396 |
<a name="l00383"></a>00383 { <a class="code" href="objdictdef_8h.html#628642b04c07236ae1e986c248a79ae5">RO</a>, <a class="code" href="objdictdef_8h.html#2d25bcd37166cc98f0d823cdb8c553ef">uint8</a>, <span class="keyword">sizeof</span>( <a class="code" href="hcs12_2applicfg_8h.html#539234687760592d01a8b0d3357bc00e">UNS8</a> ), (<span class="keywordtype">void</span>*)&Linux_slave_obj1800.count },
|
|
397 |
<a name="l00384"></a>00384 { <a class="code" href="objdictdef_8h.html#fc4ded33ac0ca43defcce639e965748a">RW</a>, <a class="code" href="objdictdef_8h.html#2d25bcd37166cc98f0d823cdb8c553ef">uint8</a>, <span class="keyword">sizeof</span>( <a class="code" href="hcs12_2applicfg_8h.html#889a782714194ae2f780002d25d6e0be">UNS32</a> ), (<span class="keywordtype">void</span>*)&Linux_slave_obj1800.cob_id },
|
|
398 |
<a name="l00385"></a>00385 { <a class="code" href="objdictdef_8h.html#fc4ded33ac0ca43defcce639e965748a">RW</a>, <a class="code" href="objdictdef_8h.html#2d25bcd37166cc98f0d823cdb8c553ef">uint8</a>, <span class="keyword">sizeof</span>( <a class="code" href="hcs12_2applicfg_8h.html#539234687760592d01a8b0d3357bc00e">UNS8</a> ), (<span class="keywordtype">void</span>*)&Linux_slave_obj1800.type },
|
|
399 |
<a name="l00386"></a>00386 };
|
|
400 |
<a name="l00387"></a>00387
|
|
401 |
<a name="l00388"></a>00388 <span class="comment">/* index 0x1801 : PDO transmit communication parameter */</span>
|
|
402 |
<a name="l00389"></a><a class="code" href="example__objdict_8c.html#3adb5f20bd529f9172663c0507b28995">00389</a> s_pdo_communication_parameter <a class="code" href="example__objdict_8c.html#3adb5f20bd529f9172663c0507b28995">Linux_slave_obj1801</a> =
|
|
403 |
<a name="l00390"></a>00390 { 2, <span class="comment">// Largest subindex supported </span>
|
|
404 |
<a name="l00391"></a>00391 0x0, <span class="comment">// Default COBID (overwritten at init for index 0x1400 to 0x1403)</span>
|
|
405 |
<a name="l00392"></a>00392 253 <span class="comment">// Transmission type. See objdictdef.h </span>
|
|
406 |
<a name="l00393"></a>00393 };
|
|
407 |
<a name="l00394"></a><a class="code" href="example__objdict_8c.html#a4312e51a953d0a0a59c97d76b3a69fe">00394</a> <a class="code" href="structtd__subindex.html">subindex</a> <a class="code" href="example__objdict_8c.html#a4312e51a953d0a0a59c97d76b3a69fe">Linux_slave_Index1801</a>[] =
|
|
408 |
<a name="l00395"></a>00395 {
|
|
409 |
<a name="l00396"></a>00396 { <a class="code" href="objdictdef_8h.html#628642b04c07236ae1e986c248a79ae5">RO</a>, <a class="code" href="objdictdef_8h.html#2d25bcd37166cc98f0d823cdb8c553ef">uint8</a>, <span class="keyword">sizeof</span>( <a class="code" href="hcs12_2applicfg_8h.html#539234687760592d01a8b0d3357bc00e">UNS8</a> ), (<span class="keywordtype">void</span>*)&Linux_slave_obj1801.count },
|
|
410 |
<a name="l00397"></a>00397 { <a class="code" href="objdictdef_8h.html#fc4ded33ac0ca43defcce639e965748a">RW</a>, <a class="code" href="objdictdef_8h.html#2d25bcd37166cc98f0d823cdb8c553ef">uint8</a>, <span class="keyword">sizeof</span>( <a class="code" href="hcs12_2applicfg_8h.html#889a782714194ae2f780002d25d6e0be">UNS32</a> ), (<span class="keywordtype">void</span>*)&Linux_slave_obj1801.cob_id },
|
|
411 |
<a name="l00398"></a>00398 { <a class="code" href="objdictdef_8h.html#fc4ded33ac0ca43defcce639e965748a">RW</a>, <a class="code" href="objdictdef_8h.html#2d25bcd37166cc98f0d823cdb8c553ef">uint8</a>, <span class="keyword">sizeof</span>( <a class="code" href="hcs12_2applicfg_8h.html#539234687760592d01a8b0d3357bc00e">UNS8</a> ), (<span class="keywordtype">void</span>*)&Linux_slave_obj1801.type },
|
|
412 |
<a name="l00399"></a>00399 };
|
|
413 |
<a name="l00400"></a>00400
|
|
414 |
<a name="l00401"></a>00401 <span class="comment">/* index 0x1802 : PDO transmit communication parameter */</span>
|
|
415 |
<a name="l00402"></a><a class="code" href="example__objdict_8c.html#2bde18dced8845378e5232354d06c1d2">00402</a> s_pdo_communication_parameter <a class="code" href="example__objdict_8c.html#2bde18dced8845378e5232354d06c1d2">Linux_slave_obj1802</a> =
|
|
416 |
<a name="l00403"></a>00403 { 2, <span class="comment">// Largest subindex supported </span>
|
|
417 |
<a name="l00404"></a>00404 0x0, <span class="comment">// Default COBID (overwritten at init for index 0x1400 to 0x1403)</span>
|
|
418 |
<a name="l00405"></a>00405 253 <span class="comment">// Transmission type. See objdictdef.h </span>
|
|
419 |
<a name="l00406"></a>00406 };
|
|
420 |
<a name="l00407"></a><a class="code" href="example__objdict_8c.html#77626b7e7e1cdc13c541817244c5aa16">00407</a> <a class="code" href="structtd__subindex.html">subindex</a> <a class="code" href="example__objdict_8c.html#77626b7e7e1cdc13c541817244c5aa16">Linux_slave_Index1802</a>[] =
|
|
421 |
<a name="l00408"></a>00408 {
|
|
422 |
<a name="l00409"></a>00409 { <a class="code" href="objdictdef_8h.html#628642b04c07236ae1e986c248a79ae5">RO</a>, <a class="code" href="objdictdef_8h.html#2d25bcd37166cc98f0d823cdb8c553ef">uint8</a>, <span class="keyword">sizeof</span>( <a class="code" href="hcs12_2applicfg_8h.html#539234687760592d01a8b0d3357bc00e">UNS8</a> ), (<span class="keywordtype">void</span>*)&Linux_slave_obj1802.count },
|
|
423 |
<a name="l00410"></a>00410 { <a class="code" href="objdictdef_8h.html#fc4ded33ac0ca43defcce639e965748a">RW</a>, <a class="code" href="objdictdef_8h.html#2d25bcd37166cc98f0d823cdb8c553ef">uint8</a>, <span class="keyword">sizeof</span>( <a class="code" href="hcs12_2applicfg_8h.html#889a782714194ae2f780002d25d6e0be">UNS32</a> ), (<span class="keywordtype">void</span>*)&Linux_slave_obj1802.cob_id },
|
|
424 |
<a name="l00411"></a>00411 { <a class="code" href="objdictdef_8h.html#fc4ded33ac0ca43defcce639e965748a">RW</a>, <a class="code" href="objdictdef_8h.html#2d25bcd37166cc98f0d823cdb8c553ef">uint8</a>, <span class="keyword">sizeof</span>( <a class="code" href="hcs12_2applicfg_8h.html#539234687760592d01a8b0d3357bc00e">UNS8</a> ), (<span class="keywordtype">void</span>*)&Linux_slave_obj1802.type },
|
|
425 |
<a name="l00412"></a>00412 };
|
|
426 |
<a name="l00413"></a>00413
|
|
427 |
<a name="l00414"></a>00414 <span class="comment">/* index 0x1A00 : PDO transmit mapping parameter of PDO communication index 0x1800 */</span>
|
|
428 |
<a name="l00415"></a><a class="code" href="example__objdict_8c.html#8814ef2dad6c725190e098748bfd8c40">00415</a> <a class="code" href="hcs12_2applicfg_8h.html#539234687760592d01a8b0d3357bc00e">UNS8</a> <a class="code" href="example__objdict_8c.html#8814ef2dad6c725190e098748bfd8c40">Linux_slave_obj1A00_cnt</a> = 0; <span class="comment">// Number of mapped variables</span>
|
|
429 |
<a name="l00416"></a><a class="code" href="example__objdict_8c.html#71ef9b765ed7fb92c76350a9dfa9fded">00416</a> <a class="code" href="hcs12_2applicfg_8h.html#889a782714194ae2f780002d25d6e0be">UNS32</a> <a class="code" href="example__objdict_8c.html#71ef9b765ed7fb92c76350a9dfa9fded">Linux_slave_obj1A00_mappedVar</a>[] = {
|
|
430 |
<a name="l00417"></a>00417 0x00000000,
|
|
431 |
<a name="l00418"></a>00418 0x00000000,
|
|
432 |
<a name="l00419"></a>00419 0x00000000,
|
|
433 |
<a name="l00420"></a>00420 0x00000000,
|
|
434 |
<a name="l00421"></a>00421 0x00000000,
|
|
435 |
<a name="l00422"></a>00422 0x00000000,
|
|
436 |
<a name="l00423"></a>00423 0x00000000,
|
|
437 |
<a name="l00424"></a>00424 0x00000000
|
|
438 |
<a name="l00425"></a>00425 };
|
|
439 |
<a name="l00426"></a><a class="code" href="example__objdict_8c.html#4d87e2c83fb4ee09e569b5003b6bc831">00426</a> <a class="code" href="structtd__subindex.html">subindex</a> <a class="code" href="example__objdict_8c.html#4d87e2c83fb4ee09e569b5003b6bc831">Linux_slave_Index1A00</a>[] =
|
|
440 |
<a name="l00427"></a>00427 {
|
|
441 |
<a name="l00428"></a>00428 { <a class="code" href="objdictdef_8h.html#fc4ded33ac0ca43defcce639e965748a">RW</a>, <a class="code" href="objdictdef_8h.html#2d25bcd37166cc98f0d823cdb8c553ef">uint8</a>, <span class="keyword">sizeof</span>( <a class="code" href="hcs12_2applicfg_8h.html#539234687760592d01a8b0d3357bc00e">UNS8</a> ), (<span class="keywordtype">void</span>*)&Linux_slave_obj1A00_cnt },
|
|
442 |
<a name="l00429"></a>00429 { <a class="code" href="objdictdef_8h.html#fc4ded33ac0ca43defcce639e965748a">RW</a>, uint32, <span class="keyword">sizeof</span>( <a class="code" href="hcs12_2applicfg_8h.html#889a782714194ae2f780002d25d6e0be">UNS32</a> ), (<span class="keywordtype">void</span>*)&Linux_slave_obj1A00_mappedVar[0]},
|
|
443 |
<a name="l00430"></a>00430 { <a class="code" href="objdictdef_8h.html#fc4ded33ac0ca43defcce639e965748a">RW</a>, uint32, <span class="keyword">sizeof</span>( <a class="code" href="hcs12_2applicfg_8h.html#889a782714194ae2f780002d25d6e0be">UNS32</a> ), (<span class="keywordtype">void</span>*)&Linux_slave_obj1A00_mappedVar[1]},
|
|
444 |
<a name="l00431"></a>00431 { <a class="code" href="objdictdef_8h.html#fc4ded33ac0ca43defcce639e965748a">RW</a>, uint32, <span class="keyword">sizeof</span>( <a class="code" href="hcs12_2applicfg_8h.html#889a782714194ae2f780002d25d6e0be">UNS32</a> ), (<span class="keywordtype">void</span>*)&Linux_slave_obj1A00_mappedVar[2]},
|
|
445 |
<a name="l00432"></a>00432 { <a class="code" href="objdictdef_8h.html#fc4ded33ac0ca43defcce639e965748a">RW</a>, uint32, <span class="keyword">sizeof</span>( <a class="code" href="hcs12_2applicfg_8h.html#889a782714194ae2f780002d25d6e0be">UNS32</a> ), (<span class="keywordtype">void</span>*)&Linux_slave_obj1A00_mappedVar[3]},
|
|
446 |
<a name="l00433"></a>00433 { <a class="code" href="objdictdef_8h.html#fc4ded33ac0ca43defcce639e965748a">RW</a>, uint32, <span class="keyword">sizeof</span>( <a class="code" href="hcs12_2applicfg_8h.html#889a782714194ae2f780002d25d6e0be">UNS32</a> ), (<span class="keywordtype">void</span>*)&Linux_slave_obj1A00_mappedVar[4]},
|
|
447 |
<a name="l00434"></a>00434 { <a class="code" href="objdictdef_8h.html#fc4ded33ac0ca43defcce639e965748a">RW</a>, uint32, <span class="keyword">sizeof</span>( <a class="code" href="hcs12_2applicfg_8h.html#889a782714194ae2f780002d25d6e0be">UNS32</a> ), (<span class="keywordtype">void</span>*)&Linux_slave_obj1A00_mappedVar[5]},
|
|
448 |
<a name="l00435"></a>00435 { <a class="code" href="objdictdef_8h.html#fc4ded33ac0ca43defcce639e965748a">RW</a>, uint32, <span class="keyword">sizeof</span>( <a class="code" href="hcs12_2applicfg_8h.html#889a782714194ae2f780002d25d6e0be">UNS32</a> ), (<span class="keywordtype">void</span>*)&Linux_slave_obj1A00_mappedVar[6]},
|
|
449 |
<a name="l00436"></a>00436 { <a class="code" href="objdictdef_8h.html#fc4ded33ac0ca43defcce639e965748a">RW</a>, uint32, <span class="keyword">sizeof</span>( <a class="code" href="hcs12_2applicfg_8h.html#889a782714194ae2f780002d25d6e0be">UNS32</a> ), (<span class="keywordtype">void</span>*)&Linux_slave_obj1A00_mappedVar[7]}
|
|
450 |
<a name="l00437"></a>00437 };
|
|
451 |
<a name="l00438"></a>00438
|
|
452 |
<a name="l00439"></a>00439 <span class="comment">/* index 0x1A01 : PDO transmit mapping parameter of PDO communication index 0x1801 */</span>
|
|
453 |
<a name="l00440"></a><a class="code" href="example__objdict_8c.html#b7c1ecdc981648c2767b88e90596f376">00440</a> <a class="code" href="hcs12_2applicfg_8h.html#539234687760592d01a8b0d3357bc00e">UNS8</a> <a class="code" href="example__objdict_8c.html#b7c1ecdc981648c2767b88e90596f376">Linux_slave_obj1A01_cnt</a> = 0; <span class="comment">// Number of mapped variables</span>
|
|
454 |
<a name="l00441"></a><a class="code" href="example__objdict_8c.html#aed3a032311b45e4c26141d8ca329984">00441</a> <a class="code" href="hcs12_2applicfg_8h.html#889a782714194ae2f780002d25d6e0be">UNS32</a> <a class="code" href="example__objdict_8c.html#aed3a032311b45e4c26141d8ca329984">Linux_slave_obj1A01_mappedVar</a>[] = {
|
|
455 |
<a name="l00442"></a>00442 0x00000000,
|
|
456 |
<a name="l00443"></a>00443 0x00000000,
|
|
457 |
<a name="l00444"></a>00444 0x00000000,
|
|
458 |
<a name="l00445"></a>00445 0x00000000,
|
|
459 |
<a name="l00446"></a>00446 0x00000000,
|
|
460 |
<a name="l00447"></a>00447 0x00000000,
|
|
461 |
<a name="l00448"></a>00448 0x00000000,
|
|
462 |
<a name="l00449"></a>00449 0x00000000
|
|
463 |
<a name="l00450"></a>00450 };
|
|
464 |
<a name="l00451"></a><a class="code" href="example__objdict_8c.html#fd8d72d425261d8335295e909e6257a5">00451</a> <a class="code" href="structtd__subindex.html">subindex</a> <a class="code" href="example__objdict_8c.html#fd8d72d425261d8335295e909e6257a5">Linux_slave_Index1A01</a>[] =
|
|
465 |
<a name="l00452"></a>00452 {
|
|
466 |
<a name="l00453"></a>00453 { <a class="code" href="objdictdef_8h.html#fc4ded33ac0ca43defcce639e965748a">RW</a>, <a class="code" href="objdictdef_8h.html#2d25bcd37166cc98f0d823cdb8c553ef">uint8</a>, <span class="keyword">sizeof</span>( <a class="code" href="hcs12_2applicfg_8h.html#539234687760592d01a8b0d3357bc00e">UNS8</a> ), (<span class="keywordtype">void</span>*)&Linux_slave_obj1A01_cnt },
|
|
467 |
<a name="l00454"></a>00454 { <a class="code" href="objdictdef_8h.html#fc4ded33ac0ca43defcce639e965748a">RW</a>, uint32, <span class="keyword">sizeof</span>( <a class="code" href="hcs12_2applicfg_8h.html#889a782714194ae2f780002d25d6e0be">UNS32</a> ), (<span class="keywordtype">void</span>*)&Linux_slave_obj1A01_mappedVar[0]},
|
|
468 |
<a name="l00455"></a>00455 { <a class="code" href="objdictdef_8h.html#fc4ded33ac0ca43defcce639e965748a">RW</a>, uint32, <span class="keyword">sizeof</span>( <a class="code" href="hcs12_2applicfg_8h.html#889a782714194ae2f780002d25d6e0be">UNS32</a> ), (<span class="keywordtype">void</span>*)&Linux_slave_obj1A01_mappedVar[1]},
|
|
469 |
<a name="l00456"></a>00456 { <a class="code" href="objdictdef_8h.html#fc4ded33ac0ca43defcce639e965748a">RW</a>, uint32, <span class="keyword">sizeof</span>( <a class="code" href="hcs12_2applicfg_8h.html#889a782714194ae2f780002d25d6e0be">UNS32</a> ), (<span class="keywordtype">void</span>*)&Linux_slave_obj1A01_mappedVar[2]},
|
|
470 |
<a name="l00457"></a>00457 { <a class="code" href="objdictdef_8h.html#fc4ded33ac0ca43defcce639e965748a">RW</a>, uint32, <span class="keyword">sizeof</span>( <a class="code" href="hcs12_2applicfg_8h.html#889a782714194ae2f780002d25d6e0be">UNS32</a> ), (<span class="keywordtype">void</span>*)&Linux_slave_obj1A01_mappedVar[3]},
|
|
471 |
<a name="l00458"></a>00458 { <a class="code" href="objdictdef_8h.html#fc4ded33ac0ca43defcce639e965748a">RW</a>, uint32, <span class="keyword">sizeof</span>( <a class="code" href="hcs12_2applicfg_8h.html#889a782714194ae2f780002d25d6e0be">UNS32</a> ), (<span class="keywordtype">void</span>*)&Linux_slave_obj1A01_mappedVar[4]},
|
|
472 |
<a name="l00459"></a>00459 { <a class="code" href="objdictdef_8h.html#fc4ded33ac0ca43defcce639e965748a">RW</a>, uint32, <span class="keyword">sizeof</span>( <a class="code" href="hcs12_2applicfg_8h.html#889a782714194ae2f780002d25d6e0be">UNS32</a> ), (<span class="keywordtype">void</span>*)&Linux_slave_obj1A01_mappedVar[5]},
|
|
473 |
<a name="l00460"></a>00460 { <a class="code" href="objdictdef_8h.html#fc4ded33ac0ca43defcce639e965748a">RW</a>, uint32, <span class="keyword">sizeof</span>( <a class="code" href="hcs12_2applicfg_8h.html#889a782714194ae2f780002d25d6e0be">UNS32</a> ), (<span class="keywordtype">void</span>*)&Linux_slave_obj1A01_mappedVar[6]},
|
|
474 |
<a name="l00461"></a>00461 { <a class="code" href="objdictdef_8h.html#fc4ded33ac0ca43defcce639e965748a">RW</a>, uint32, <span class="keyword">sizeof</span>( <a class="code" href="hcs12_2applicfg_8h.html#889a782714194ae2f780002d25d6e0be">UNS32</a> ), (<span class="keywordtype">void</span>*)&Linux_slave_obj1A01_mappedVar[7]}
|
|
475 |
<a name="l00462"></a>00462 };
|
|
476 |
<a name="l00463"></a>00463
|
|
477 |
<a name="l00464"></a>00464 <span class="comment">/* index 0x1A02 : PDO transmit mapping parameter of PDO communication index 0x1802 */</span>
|
|
478 |
<a name="l00465"></a><a class="code" href="example__objdict_8c.html#a160f3882715ea3cd62bb4830af0bb72">00465</a> <a class="code" href="hcs12_2applicfg_8h.html#539234687760592d01a8b0d3357bc00e">UNS8</a> <a class="code" href="example__objdict_8c.html#a160f3882715ea3cd62bb4830af0bb72">Linux_slave_obj1A02_cnt</a> = 0; <span class="comment">// Number of mapped variables</span>
|
|
479 |
<a name="l00466"></a><a class="code" href="example__objdict_8c.html#e471d28061f7986439fa2835b39e8523">00466</a> <a class="code" href="hcs12_2applicfg_8h.html#889a782714194ae2f780002d25d6e0be">UNS32</a> <a class="code" href="example__objdict_8c.html#e471d28061f7986439fa2835b39e8523">Linux_slave_obj1A02_mappedVar</a>[] = {
|
|
480 |
<a name="l00467"></a>00467 0x00000000,
|
|
481 |
<a name="l00468"></a>00468 0x00000000,
|
|
482 |
<a name="l00469"></a>00469 0x00000000,
|
|
483 |
<a name="l00470"></a>00470 0x00000000,
|
|
484 |
<a name="l00471"></a>00471 0x00000000,
|
|
485 |
<a name="l00472"></a>00472 0x00000000,
|
|
486 |
<a name="l00473"></a>00473 0x00000000,
|
|
487 |
<a name="l00474"></a>00474 0x00000000
|
|
488 |
<a name="l00475"></a>00475 };
|
|
489 |
<a name="l00476"></a><a class="code" href="example__objdict_8c.html#7a35c92f170fec8ede877f1f836ff3ec">00476</a> <a class="code" href="structtd__subindex.html">subindex</a> <a class="code" href="example__objdict_8c.html#7a35c92f170fec8ede877f1f836ff3ec">Linux_slave_Index1A02</a>[] =
|
|
490 |
<a name="l00477"></a>00477 {
|
|
491 |
<a name="l00478"></a>00478 { <a class="code" href="objdictdef_8h.html#fc4ded33ac0ca43defcce639e965748a">RW</a>, <a class="code" href="objdictdef_8h.html#2d25bcd37166cc98f0d823cdb8c553ef">uint8</a>, <span class="keyword">sizeof</span>( <a class="code" href="hcs12_2applicfg_8h.html#539234687760592d01a8b0d3357bc00e">UNS8</a> ), (<span class="keywordtype">void</span>*)&Linux_slave_obj1A02_cnt },
|
|
492 |
<a name="l00479"></a>00479 { <a class="code" href="objdictdef_8h.html#fc4ded33ac0ca43defcce639e965748a">RW</a>, uint32, <span class="keyword">sizeof</span>( <a class="code" href="hcs12_2applicfg_8h.html#889a782714194ae2f780002d25d6e0be">UNS32</a> ), (<span class="keywordtype">void</span>*)&Linux_slave_obj1A02_mappedVar[0]},
|
|
493 |
<a name="l00480"></a>00480 { <a class="code" href="objdictdef_8h.html#fc4ded33ac0ca43defcce639e965748a">RW</a>, uint32, <span class="keyword">sizeof</span>( <a class="code" href="hcs12_2applicfg_8h.html#889a782714194ae2f780002d25d6e0be">UNS32</a> ), (<span class="keywordtype">void</span>*)&Linux_slave_obj1A02_mappedVar[1]},
|
|
494 |
<a name="l00481"></a>00481 { <a class="code" href="objdictdef_8h.html#fc4ded33ac0ca43defcce639e965748a">RW</a>, uint32, <span class="keyword">sizeof</span>( <a class="code" href="hcs12_2applicfg_8h.html#889a782714194ae2f780002d25d6e0be">UNS32</a> ), (<span class="keywordtype">void</span>*)&Linux_slave_obj1A02_mappedVar[2]},
|
|
495 |
<a name="l00482"></a>00482 { <a class="code" href="objdictdef_8h.html#fc4ded33ac0ca43defcce639e965748a">RW</a>, uint32, <span class="keyword">sizeof</span>( <a class="code" href="hcs12_2applicfg_8h.html#889a782714194ae2f780002d25d6e0be">UNS32</a> ), (<span class="keywordtype">void</span>*)&Linux_slave_obj1A02_mappedVar[3]},
|
|
496 |
<a name="l00483"></a>00483 { <a class="code" href="objdictdef_8h.html#fc4ded33ac0ca43defcce639e965748a">RW</a>, uint32, <span class="keyword">sizeof</span>( <a class="code" href="hcs12_2applicfg_8h.html#889a782714194ae2f780002d25d6e0be">UNS32</a> ), (<span class="keywordtype">void</span>*)&Linux_slave_obj1A02_mappedVar[4]},
|
|
497 |
<a name="l00484"></a>00484 { <a class="code" href="objdictdef_8h.html#fc4ded33ac0ca43defcce639e965748a">RW</a>, uint32, <span class="keyword">sizeof</span>( <a class="code" href="hcs12_2applicfg_8h.html#889a782714194ae2f780002d25d6e0be">UNS32</a> ), (<span class="keywordtype">void</span>*)&Linux_slave_obj1A02_mappedVar[5]},
|
|
498 |
<a name="l00485"></a>00485 { <a class="code" href="objdictdef_8h.html#fc4ded33ac0ca43defcce639e965748a">RW</a>, uint32, <span class="keyword">sizeof</span>( <a class="code" href="hcs12_2applicfg_8h.html#889a782714194ae2f780002d25d6e0be">UNS32</a> ), (<span class="keywordtype">void</span>*)&Linux_slave_obj1A02_mappedVar[6]},
|
|
499 |
<a name="l00486"></a>00486 { <a class="code" href="objdictdef_8h.html#fc4ded33ac0ca43defcce639e965748a">RW</a>, uint32, <span class="keyword">sizeof</span>( <a class="code" href="hcs12_2applicfg_8h.html#889a782714194ae2f780002d25d6e0be">UNS32</a> ), (<span class="keywordtype">void</span>*)&Linux_slave_obj1A02_mappedVar[7]}
|
|
500 |
<a name="l00487"></a>00487 };
|
|
501 |
<a name="l00488"></a>00488
|
|
502 |
<a name="l00489"></a>00489
|
|
503 |
<a name="l00490"></a>00490 <span class="comment">/* index 0x2000 : Mapped variable */</span>
|
|
504 |
<a name="l00491"></a><a class="code" href="example__objdict_8c.html#6c8ea4ebf849e1d1e41d478a566948d2">00491</a> <a class="code" href="hcs12_2applicfg_8h.html#539234687760592d01a8b0d3357bc00e">UNS8</a> <a class="code" href="example__objdict_8c.html#6c8ea4ebf849e1d1e41d478a566948d2">Linux_slave_highestSubIndex_2000</a> = 4; <span class="comment">// number of subindex - 1</span>
|
|
505 |
<a name="l00492"></a><a class="code" href="example__objdict_8c.html#bc7121f6cf9d53c5210cffe10fe95087">00492</a> <a class="code" href="structtd__subindex.html">subindex</a> <a class="code" href="example__objdict_8c.html#bc7121f6cf9d53c5210cffe10fe95087">Linux_slave_Index2000</a>[] =
|
|
506 |
<a name="l00493"></a>00493 {
|
|
507 |
<a name="l00494"></a>00494 { <a class="code" href="objdictdef_8h.html#628642b04c07236ae1e986c248a79ae5">RO</a>, <a class="code" href="objdictdef_8h.html#2d25bcd37166cc98f0d823cdb8c553ef">uint8</a>, <span class="keyword">sizeof</span> (<a class="code" href="hcs12_2applicfg_8h.html#539234687760592d01a8b0d3357bc00e">UNS8</a>), (<span class="keywordtype">void</span>*)&Linux_slave_highestSubIndex_2000 },
|
|
508 |
<a name="l00495"></a>00495 { <a class="code" href="objdictdef_8h.html#fc4ded33ac0ca43defcce639e965748a">RW</a>, <a class="code" href="objdictdef_8h.html#2d25bcd37166cc98f0d823cdb8c553ef">uint8</a>, <span class="keyword">sizeof</span> (<a class="code" href="hcs12_2applicfg_8h.html#539234687760592d01a8b0d3357bc00e">UNS8</a>), (<span class="keywordtype">void</span>*)&<a class="code" href="example__objdict_8c.html#8fc8dbd59390ae83fe470b12da0b5ecd">seconds</a> },
|
|
509 |
<a name="l00496"></a>00496 { <a class="code" href="objdictdef_8h.html#fc4ded33ac0ca43defcce639e965748a">RW</a>, <a class="code" href="objdictdef_8h.html#2d25bcd37166cc98f0d823cdb8c553ef">uint8</a>, <span class="keyword">sizeof</span> (<a class="code" href="hcs12_2applicfg_8h.html#539234687760592d01a8b0d3357bc00e">UNS8</a>), (<span class="keywordtype">void</span>*)&<a class="code" href="example__objdict_8c.html#711bdb40e5a44c41cc1f06cfd1f504da">minutes</a> },
|
|
510 |
<a name="l00497"></a>00497 { <a class="code" href="objdictdef_8h.html#fc4ded33ac0ca43defcce639e965748a">RW</a>, <a class="code" href="objdictdef_8h.html#2d25bcd37166cc98f0d823cdb8c553ef">uint8</a>, <span class="keyword">sizeof</span> (<a class="code" href="hcs12_2applicfg_8h.html#539234687760592d01a8b0d3357bc00e">UNS8</a>), (<span class="keywordtype">void</span>*)&<a class="code" href="example__objdict_8c.html#75aee5777719f851830029bc7e7ea8a9">hours</a> },
|
|
511 |
<a name="l00498"></a>00498 { <a class="code" href="objdictdef_8h.html#fc4ded33ac0ca43defcce639e965748a">RW</a>, <a class="code" href="objdictdef_8h.html#2d25bcd37166cc98f0d823cdb8c553ef">uint8</a>, <span class="keyword">sizeof</span> (<a class="code" href="hcs12_2applicfg_8h.html#539234687760592d01a8b0d3357bc00e">UNS8</a>), (<span class="keywordtype">void</span>*)&<a class="code" href="example__objdict_8c.html#bc5904eec2756dc2a8276bd49bea868c">day</a> }
|
|
512 |
<a name="l00499"></a>00499 };
|
|
513 |
<a name="l00500"></a>00500
|
|
514 |
<a name="l00501"></a>00501 <span class="comment">/* index 0x6000 : Mapped variable */</span>
|
|
515 |
<a name="l00502"></a><a class="code" href="example__objdict_8c.html#61a00df4a8d4428867d8c17f23a0f790">00502</a> <a class="code" href="hcs12_2applicfg_8h.html#539234687760592d01a8b0d3357bc00e">UNS8</a> <a class="code" href="example__objdict_8c.html#61a00df4a8d4428867d8c17f23a0f790">Linux_slave_highestSubIndex_6000</a> = 0; <span class="comment">// number of subindex - 1</span>
|
|
516 |
<a name="l00503"></a><a class="code" href="example__objdict_8c.html#8932233e96f010b1e6c0138dd1378819">00503</a> <a class="code" href="structtd__subindex.html">subindex</a> <a class="code" href="example__objdict_8c.html#8932233e96f010b1e6c0138dd1378819">Linux_slave_Index6000</a>[] =
|
|
517 |
<a name="l00504"></a>00504 {
|
|
518 |
<a name="l00505"></a>00505 { <a class="code" href="objdictdef_8h.html#fc4ded33ac0ca43defcce639e965748a">RW</a>, uint32, <span class="keyword">sizeof</span> (<a class="code" href="hcs12_2applicfg_8h.html#889a782714194ae2f780002d25d6e0be">UNS32</a>), (<span class="keywordtype">void</span>*)&<a class="code" href="example__objdict_8c.html#7e12020e121aa8689ae0ed07a595508d">canopenErrNB</a> }
|
|
519 |
<a name="l00506"></a>00506 };
|
|
520 |
<a name="l00507"></a>00507
|
|
521 |
<a name="l00508"></a>00508 <span class="comment">/* index 0x6001 : Mapped variable */</span>
|
|
522 |
<a name="l00509"></a><a class="code" href="example__objdict_8c.html#c754a0b797d90440d943995ce3525c6c">00509</a> <a class="code" href="hcs12_2applicfg_8h.html#539234687760592d01a8b0d3357bc00e">UNS8</a> <a class="code" href="example__objdict_8c.html#c754a0b797d90440d943995ce3525c6c">Linux_slave_highestSubIndex_6001</a> = 0; <span class="comment">// number of subindex - 1</span>
|
|
523 |
<a name="l00510"></a><a class="code" href="example__objdict_8c.html#3e33556ed41cef5c460bf77d270d27b7">00510</a> <a class="code" href="structtd__subindex.html">subindex</a> <a class="code" href="example__objdict_8c.html#3e33556ed41cef5c460bf77d270d27b7">Linux_slave_Index6001</a>[] =
|
|
524 |
<a name="l00511"></a>00511 {
|
|
525 |
<a name="l00512"></a>00512 { <a class="code" href="objdictdef_8h.html#fc4ded33ac0ca43defcce639e965748a">RW</a>, uint32, <span class="keyword">sizeof</span> (<a class="code" href="hcs12_2applicfg_8h.html#889a782714194ae2f780002d25d6e0be">UNS32</a>), (<span class="keywordtype">void</span>*)&<a class="code" href="example__objdict_8c.html#ae855ee2ef12c40958afc632272eb32f">canopenErrVAL</a> }
|
|
526 |
<a name="l00513"></a>00513 };
|
|
527 |
<a name="l00514"></a>00514
|
|
528 |
<a name="l00515"></a>00515 <span class="comment">/* index 0x6002 : Mapped variable */</span>
|
|
529 |
<a name="l00516"></a><a class="code" href="example__objdict_8c.html#a49887e967f630d196f0a53cf4cd47ab">00516</a> <a class="code" href="hcs12_2applicfg_8h.html#539234687760592d01a8b0d3357bc00e">UNS8</a> <a class="code" href="example__objdict_8c.html#a49887e967f630d196f0a53cf4cd47ab">Linux_slave_highestSubIndex_6002</a> = 0; <span class="comment">// number of subindex - 1</span>
|
|
530 |
<a name="l00517"></a><a class="code" href="example__objdict_8c.html#ce0887fb5585541dae87fb90de8649fa">00517</a> <a class="code" href="structtd__subindex.html">subindex</a> <a class="code" href="example__objdict_8c.html#ce0887fb5585541dae87fb90de8649fa">Linux_slave_Index6002</a>[] =
|
|
531 |
<a name="l00518"></a>00518 {
|
|
532 |
<a name="l00519"></a>00519 { <a class="code" href="objdictdef_8h.html#fc4ded33ac0ca43defcce639e965748a">RW</a>, <a class="code" href="objdictdef_8h.html#6a4b5f93c378207aee7ea8f8397d1fc9">visible_string</a>, <span class="keyword">sizeof</span> (<a class="code" href="example__objdict_8c.html#43ab56b02863aa8e4f072cedfade9345">strTest</a>), (<span class="keywordtype">void</span>*)&<a class="code" href="example__objdict_8c.html#43ab56b02863aa8e4f072cedfade9345">strTest</a> }
|
|
533 |
<a name="l00520"></a>00520 };
|
|
534 |
<a name="l00521"></a>00521
|
|
535 |
<a name="l00522"></a><a class="code" href="example__objdict_8c.html#c38ee3d1c98599d46b4cfd5a34445b60">00522</a> <span class="keyword">const</span> <a class="code" href="structtd__indextable.html">indextable</a> <a class="code" href="example__objdict_8c.html#c38ee3d1c98599d46b4cfd5a34445b60">Linux_slave_objdict</a>[] =
|
|
536 |
<a name="l00523"></a>00523 {
|
|
537 |
<a name="l00524"></a>00524 <a class="code" href="example__objdict_8c.html#e7ce50bb8ae0f5604c33e9b6672c366a">DeclareIndexTableEntry</a>(<a class="code" href="example__objdict_8c.html#05d6d5bceb8fec9cbf78895d7dd43b19">Linux_slave_Index1000</a>, 0x1000),
|
|
538 |
<a name="l00525"></a>00525 <a class="code" href="example__objdict_8c.html#e7ce50bb8ae0f5604c33e9b6672c366a">DeclareIndexTableEntry</a>(<a class="code" href="example__objdict_8c.html#a12d9d7966e31f886c54398b9a7915e3">Linux_slave_Index1001</a>, 0x1001),
|
|
539 |
<a name="l00526"></a>00526 <a class="code" href="example__objdict_8c.html#e7ce50bb8ae0f5604c33e9b6672c366a">DeclareIndexTableEntry</a>(<a class="code" href="example__objdict_8c.html#523059c463ce15ba4189a6d69b81baf3">Linux_slave_Index1005</a>, 0x1005),
|
|
540 |
<a name="l00527"></a>00527 <a class="code" href="example__objdict_8c.html#e7ce50bb8ae0f5604c33e9b6672c366a">DeclareIndexTableEntry</a>(<a class="code" href="example__objdict_8c.html#6ae4bc2f32e5a18abcceaa4124c7cdf9">Linux_slave_Index1006</a>, 0x1006),
|
|
541 |
<a name="l00528"></a>00528 <a class="code" href="example__objdict_8c.html#e7ce50bb8ae0f5604c33e9b6672c366a">DeclareIndexTableEntry</a>(<a class="code" href="example__objdict_8c.html#b9d4489193cc9862f5412a1092b3ce44">Linux_slave_Index1007</a>, 0x1007),
|
|
542 |
<a name="l00529"></a>00529 <a class="code" href="example__objdict_8c.html#e7ce50bb8ae0f5604c33e9b6672c366a">DeclareIndexTableEntry</a>(<a class="code" href="example__objdict_8c.html#aef0742faaa702e9ffa53e7c33ea50bf">Linux_slave_Index1008</a>, 0x1008),
|
|
543 |
<a name="l00530"></a>00530 <a class="code" href="example__objdict_8c.html#e7ce50bb8ae0f5604c33e9b6672c366a">DeclareIndexTableEntry</a>(<a class="code" href="example__objdict_8c.html#9b4315fc4a587bca9c60db7ba1908747">Linux_slave_Index1009</a>, 0x1009),
|
|
544 |
<a name="l00531"></a>00531 <a class="code" href="example__objdict_8c.html#e7ce50bb8ae0f5604c33e9b6672c366a">DeclareIndexTableEntry</a>(<a class="code" href="example__objdict_8c.html#74bd750703d7ad9948ceed3550738e29">Linux_slave_Index100A</a>, 0x100A),
|
|
545 |
<a name="l00532"></a>00532 <a class="code" href="example__objdict_8c.html#e7ce50bb8ae0f5604c33e9b6672c366a">DeclareIndexTableEntry</a>(<a class="code" href="example__objdict_8c.html#01ca355a05ad9bc65dc4d5db042a1004">Linux_slave_Index1016</a>, 0x1016),
|
|
546 |
<a name="l00533"></a>00533 <a class="code" href="example__objdict_8c.html#e7ce50bb8ae0f5604c33e9b6672c366a">DeclareIndexTableEntry</a>(<a class="code" href="example__objdict_8c.html#f8f53c73742e95cfe30c57a733e3a797">Linux_slave_Index1017</a>, 0x1017),
|
|
547 |
<a name="l00534"></a>00534 <a class="code" href="example__objdict_8c.html#e7ce50bb8ae0f5604c33e9b6672c366a">DeclareIndexTableEntry</a>(<a class="code" href="example__objdict_8c.html#e5b0fad865bf7993c04c246b4145aa63">Linux_slave_Index1018</a>, 0x1018),
|
|
548 |
<a name="l00535"></a>00535 <a class="code" href="example__objdict_8c.html#e7ce50bb8ae0f5604c33e9b6672c366a">DeclareIndexTableEntry</a>(<a class="code" href="example__objdict_8c.html#055cca9dc73b469c4b34b7aeed44967e">Linux_slave_Index1200</a>, 0x1200),
|
|
549 |
<a name="l00536"></a>00536 <a class="code" href="example__objdict_8c.html#e7ce50bb8ae0f5604c33e9b6672c366a">DeclareIndexTableEntry</a>(<a class="code" href="example__objdict_8c.html#3d80d2a375cf3b48229dfb1a03d7aa19">Linux_slave_Index1280</a>, 0x1280),
|
|
550 |
<a name="l00537"></a>00537 <a class="code" href="example__objdict_8c.html#e7ce50bb8ae0f5604c33e9b6672c366a">DeclareIndexTableEntry</a>(<a class="code" href="example__objdict_8c.html#fe83534851ad73d6fcefabd6a6d18f73">Linux_slave_Index1400</a>, 0x1400),
|
|
551 |
<a name="l00538"></a>00538 <a class="code" href="example__objdict_8c.html#e7ce50bb8ae0f5604c33e9b6672c366a">DeclareIndexTableEntry</a>(<a class="code" href="example__objdict_8c.html#9a91b6a1e5321a0a0814f7d1c8bb4e21">Linux_slave_Index1401</a>, 0x1401),
|
|
552 |
<a name="l00539"></a>00539 <a class="code" href="example__objdict_8c.html#e7ce50bb8ae0f5604c33e9b6672c366a">DeclareIndexTableEntry</a>(<a class="code" href="example__objdict_8c.html#140558578871f3321895cc83b06dc7e5">Linux_slave_Index1402</a>, 0x1402),
|
|
553 |
<a name="l00540"></a>00540 <a class="code" href="example__objdict_8c.html#e7ce50bb8ae0f5604c33e9b6672c366a">DeclareIndexTableEntry</a>(<a class="code" href="example__objdict_8c.html#32cb6562143353da5540e4b3b76751b8">Linux_slave_Index1600</a>, 0x1600),
|
|
554 |
<a name="l00541"></a>00541 <a class="code" href="example__objdict_8c.html#e7ce50bb8ae0f5604c33e9b6672c366a">DeclareIndexTableEntry</a>(<a class="code" href="example__objdict_8c.html#d855bea68e3f602e03ee1684b8fe7e18">Linux_slave_Index1601</a>, 0x1601),
|
|
555 |
<a name="l00542"></a>00542 <a class="code" href="example__objdict_8c.html#e7ce50bb8ae0f5604c33e9b6672c366a">DeclareIndexTableEntry</a>(<a class="code" href="example__objdict_8c.html#0d3b42ef9cb10bdc21dc5b8dc4a9f19e">Linux_slave_Index1602</a>, 0x1602),
|
|
556 |
<a name="l00543"></a>00543 <a class="code" href="example__objdict_8c.html#e7ce50bb8ae0f5604c33e9b6672c366a">DeclareIndexTableEntry</a>(<a class="code" href="example__objdict_8c.html#724e18e7bdf5c1331bac5c749ee74df7">Linux_slave_Index1800</a>, 0x1800),
|
|
557 |
<a name="l00544"></a>00544 <a class="code" href="example__objdict_8c.html#e7ce50bb8ae0f5604c33e9b6672c366a">DeclareIndexTableEntry</a>(<a class="code" href="example__objdict_8c.html#a4312e51a953d0a0a59c97d76b3a69fe">Linux_slave_Index1801</a>, 0x1801),
|
|
558 |
<a name="l00545"></a>00545 <a class="code" href="example__objdict_8c.html#e7ce50bb8ae0f5604c33e9b6672c366a">DeclareIndexTableEntry</a>(<a class="code" href="example__objdict_8c.html#77626b7e7e1cdc13c541817244c5aa16">Linux_slave_Index1802</a>, 0x1802),
|
|
559 |
<a name="l00546"></a>00546 <a class="code" href="example__objdict_8c.html#e7ce50bb8ae0f5604c33e9b6672c366a">DeclareIndexTableEntry</a>(<a class="code" href="example__objdict_8c.html#4d87e2c83fb4ee09e569b5003b6bc831">Linux_slave_Index1A00</a>, 0x1A00),
|
|
560 |
<a name="l00547"></a>00547 <a class="code" href="example__objdict_8c.html#e7ce50bb8ae0f5604c33e9b6672c366a">DeclareIndexTableEntry</a>(<a class="code" href="example__objdict_8c.html#fd8d72d425261d8335295e909e6257a5">Linux_slave_Index1A01</a>, 0x1A01),
|
|
561 |
<a name="l00548"></a>00548 <a class="code" href="example__objdict_8c.html#e7ce50bb8ae0f5604c33e9b6672c366a">DeclareIndexTableEntry</a>(<a class="code" href="example__objdict_8c.html#7a35c92f170fec8ede877f1f836ff3ec">Linux_slave_Index1A02</a>, 0x1A02),
|
|
562 |
<a name="l00549"></a>00549 <a class="code" href="example__objdict_8c.html#e7ce50bb8ae0f5604c33e9b6672c366a">DeclareIndexTableEntry</a>(<a class="code" href="example__objdict_8c.html#bc7121f6cf9d53c5210cffe10fe95087">Linux_slave_Index2000</a>, 0x2000),
|
|
563 |
<a name="l00550"></a>00550 <a class="code" href="example__objdict_8c.html#e7ce50bb8ae0f5604c33e9b6672c366a">DeclareIndexTableEntry</a>(<a class="code" href="example__objdict_8c.html#8932233e96f010b1e6c0138dd1378819">Linux_slave_Index6000</a>, 0x6000),
|
|
564 |
<a name="l00551"></a>00551 <a class="code" href="example__objdict_8c.html#e7ce50bb8ae0f5604c33e9b6672c366a">DeclareIndexTableEntry</a>(<a class="code" href="example__objdict_8c.html#3e33556ed41cef5c460bf77d270d27b7">Linux_slave_Index6001</a>, 0x6001),
|
|
565 |
<a name="l00552"></a>00552 <a class="code" href="example__objdict_8c.html#e7ce50bb8ae0f5604c33e9b6672c366a">DeclareIndexTableEntry</a>(<a class="code" href="example__objdict_8c.html#ce0887fb5585541dae87fb90de8649fa">Linux_slave_Index6002</a>, 0x6002),
|
|
566 |
<a name="l00553"></a>00553 };
|
|
567 |
<a name="l00554"></a>00554
|
|
568 |
<a name="l00555"></a>00555 <span class="comment">// To count at which received SYNC a PDO must be sent.</span>
|
|
569 |
<a name="l00556"></a>00556 <span class="comment">// Even if no pdoTransmit are defined, at least one entry is computed</span>
|
|
570 |
<a name="l00557"></a>00557 <span class="comment">// for compilations issues.</span>
|
|
571 |
<a name="l00558"></a><a class="code" href="example__objdict_8c.html#d0ca981b53aa6865fe6b05e483bdf9d9">00558</a> <a class="code" href="hcs12_2applicfg_8h.html#539234687760592d01a8b0d3357bc00e">UNS8</a> <a class="code" href="example__objdict_8c.html#d0ca981b53aa6865fe6b05e483bdf9d9">Linux_slave_count_sync</a>[1] = {0, };
|
|
572 |
<a name="l00559"></a>00559
|
|
573 |
<a name="l00560"></a><a class="code" href="example__objdict_8c.html#441a8eb9ff0d5a569ce96c5f28e3ae16">00560</a> <a class="code" href="structs__quick__index.html">quick_index</a> <a class="code" href="example__objdict_8c.html#441a8eb9ff0d5a569ce96c5f28e3ae16">Linux_slave_firstIndex</a> = {
|
|
574 |
<a name="l00561"></a>00561 SDO_SVR : 11,
|
|
575 |
<a name="l00562"></a>00562 SDO_CLT : 12,
|
|
576 |
<a name="l00563"></a>00563 PDO_RCV : 13,
|
|
577 |
<a name="l00564"></a>00564 PDO_RCV_MAP : 16,
|
|
578 |
<a name="l00565"></a>00565 PDO_TRS : 19,
|
|
579 |
<a name="l00566"></a>00566 PDO_TRS_MAP : 22
|
|
580 |
<a name="l00567"></a>00567 }
|
|
581 |
<a name="l00568"></a>00568
|
|
582 |
<a name="l00569"></a>00569 <a class="code" href="structs__quick__index.html">quick_index</a> Linux_slave_lastIndex{
|
|
583 |
<a name="l00570"></a>00570 SDO_SVR : 11,
|
|
584 |
<a name="l00571"></a>00571 SDO_CLT : 12,
|
|
585 |
<a name="l00572"></a>00572 PDO_RCV : 15,
|
|
586 |
<a name="l00573"></a>00573 PDO_RCV_MAP : 18,
|
|
587 |
<a name="l00574"></a>00574 PDO_TRS : 21,
|
|
588 |
<a name="l00575"></a>00575 PDO_TRS_MAP : 24
|
|
589 |
<a name="l00576"></a>00576 }
|
|
590 |
<a name="l00577"></a>00577
|
|
591 |
<a name="l00578"></a>00578 <a class="code" href="hcs12_2applicfg_8h.html#5528eeccf214bfe021532622d78c6a96">UNS16</a> Linux_slave_ObjdictSize = <span class="keyword">sizeof</span>(<a class="code" href="example__objdict_8c.html#c38ee3d1c98599d46b4cfd5a34445b60">Linux_slave_objdict</a>)/<span class="keyword">sizeof</span>(<a class="code" href="example__objdict_8c.html#c38ee3d1c98599d46b4cfd5a34445b60">Linux_slave_objdict</a>[0]);
|
|
592 |
<a name="l00579"></a>00579
|
|
593 |
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Mon Jun 4 16:29:06 2007 for CanFestival by
|
|
594 |
<a href="http://www.doxygen.org/index.html">
|
|
595 |
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address>
|
|
596 |
</body>
|
|
597 |
</html>
|