doc/doxygen/html/data_8h-source.html
author lbessard
Thu, 18 Oct 2007 10:23:45 +0200
changeset 310 1975e546178b
parent 240 34654679f262
permissions -rw-r--r--
Bugs on EDS import fixed
215
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
     1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
     2
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
     3
<title>CanFestival: include/data.h Source File</title>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
     4
<link href="doxygen.css" rel="stylesheet" type="text/css">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
     5
<link href="tabs.css" rel="stylesheet" type="text/css">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
     6
</head><body>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
     7
<!-- Generated by Doxygen 1.5.1 -->
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
     8
<div class="tabs">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
     9
  <ul>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    10
    <li><a href="main.html"><span>Main&nbsp;Page</span></a></li>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    11
    <li><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    12
    <li id="current"><a href="files.html"><span>Files</span></a></li>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    13
    <li><a href="dirs.html"><span>Directories</span></a></li>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    14
  </ul></div>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    15
<div class="tabs">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    16
  <ul>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    17
    <li><a href="files.html"><span>File&nbsp;List</span></a></li>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    18
    <li><a href="globals.html"><span>Globals</span></a></li>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    19
  </ul></div>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    20
<div class="nav">
240
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
    21
<a class="el" href="dir_bb27f6e70a4a8ab6966321815f15a33d.html">include</a></div>
215
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    22
<h1>data.h</h1><a href="data_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*</span>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    23
<a name="l00002"></a>00002 <span class="comment">This file is part of CanFestival, a library implementing CanOpen Stack. </span>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    24
<a name="l00003"></a>00003 <span class="comment"></span>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    25
<a name="l00004"></a>00004 <span class="comment">Copyright (C): Edouard TISSERANT and Francis DUPIN</span>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    26
<a name="l00005"></a>00005 <span class="comment"></span>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    27
<a name="l00006"></a>00006 <span class="comment">See COPYING file for copyrights details.</span>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    28
<a name="l00007"></a>00007 <span class="comment"></span>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    29
<a name="l00008"></a>00008 <span class="comment">This library is free software; you can redistribute it and/or</span>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    30
<a name="l00009"></a>00009 <span class="comment">modify it under the terms of the GNU Lesser General Public</span>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    31
<a name="l00010"></a>00010 <span class="comment">License as published by the Free Software Foundation; either</span>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    32
<a name="l00011"></a>00011 <span class="comment">version 2.1 of the License, or (at your option) any later version.</span>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    33
<a name="l00012"></a>00012 <span class="comment"></span>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    34
<a name="l00013"></a>00013 <span class="comment">This library is distributed in the hope that it will be useful,</span>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    35
<a name="l00014"></a>00014 <span class="comment">but WITHOUT ANY WARRANTY; without even the implied warranty of</span>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    36
<a name="l00015"></a>00015 <span class="comment">MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU</span>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    37
<a name="l00016"></a>00016 <span class="comment">Lesser General Public License for more details.</span>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    38
<a name="l00017"></a>00017 <span class="comment"></span>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    39
<a name="l00018"></a>00018 <span class="comment">You should have received a copy of the GNU Lesser General Public</span>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    40
<a name="l00019"></a>00019 <span class="comment">License along with this library; if not, write to the Free Software</span>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    41
<a name="l00020"></a>00020 <span class="comment">Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA</span>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    42
<a name="l00021"></a>00021 <span class="comment">*/</span>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    43
<a name="l00022"></a>00022 
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    44
<a name="l00023"></a>00023 
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    45
<a name="l00024"></a>00024 <span class="preprocessor">#ifndef __data_h__</span>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    46
<a name="l00025"></a>00025 <span class="preprocessor"></span><span class="preprocessor">#define __data_h__</span>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    47
<a name="l00026"></a>00026 <span class="preprocessor"></span>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    48
<a name="l00027"></a>00027 <span class="comment">/* declaration of CO_Data type let us include all necessary headers</span>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    49
<a name="l00028"></a>00028 <span class="comment"> struct struct_CO_Data can then be defined later</span>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    50
<a name="l00029"></a>00029 <span class="comment"> */</span>
240
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
    51
<a name="l00030"></a><a class="code" href="data_8h.html#1d2e6803939ed43a24d64968e751d36b">00030</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structstruct__CO__Data.html">struct_CO_Data</a> <a class="code" href="data_8h.html#1d2e6803939ed43a24d64968e751d36b">CO_Data</a>;
215
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    52
<a name="l00031"></a>00031 
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    53
<a name="l00032"></a>00032 <span class="preprocessor">#include "<a class="code" href="win32_2applicfg_8h.html">applicfg.h</a>"</span>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    54
<a name="l00033"></a>00033 <span class="preprocessor">#include "<a class="code" href="def_8h.html">def.h</a>"</span>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    55
<a name="l00034"></a>00034 <span class="preprocessor">#include "<a class="code" href="can_8h.html">can.h</a>"</span>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    56
<a name="l00035"></a>00035 <span class="preprocessor">#include "<a class="code" href="objdictdef_8h.html">objdictdef.h</a>"</span>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    57
<a name="l00036"></a>00036 <span class="preprocessor">#include "<a class="code" href="objacces_8h.html">objacces.h</a>"</span>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    58
<a name="l00037"></a>00037 <span class="preprocessor">#include "<a class="code" href="sdo_8h.html">sdo.h</a>"</span>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    59
<a name="l00038"></a>00038 <span class="preprocessor">#include "<a class="code" href="pdo_8h.html">pdo.h</a>"</span>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    60
<a name="l00039"></a>00039 <span class="preprocessor">#include "<a class="code" href="states_8h.html">states.h</a>"</span>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    61
<a name="l00040"></a>00040 <span class="preprocessor">#include "<a class="code" href="lifegrd_8h.html">lifegrd.h</a>"</span>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    62
<a name="l00041"></a>00041 <span class="preprocessor">#include "<a class="code" href="sync_8h.html">sync.h</a>"</span>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    63
<a name="l00042"></a>00042 <span class="preprocessor">#include "<a class="code" href="nmtMaster_8h.html">nmtMaster.h</a>"</span>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    64
<a name="l00043"></a>00043 
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    65
<a name="l00044"></a>00044 <span class="comment">/* This structurs contains all necessary information for a CanOpen node */</span>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    66
<a name="l00045"></a><a class="code" href="structstruct__CO__Data.html">00045</a> <span class="keyword">struct </span><a class="code" href="structstruct__CO__Data.html">struct_CO_Data</a> {
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    67
<a name="l00046"></a>00046         <span class="comment">/* Object dictionary */</span>
240
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
    68
<a name="l00047"></a><a class="code" href="structstruct__CO__Data.html#fac5e8371034640ad38d6833262d94df">00047</a>         <a class="code" href="hcs12_2applicfg_8h.html#c2e754635928189b98cf3f5b7e6dbffb">UNS8</a> *<a class="code" href="structstruct__CO__Data.html#fac5e8371034640ad38d6833262d94df">bDeviceNodeId</a>;
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
    69
<a name="l00048"></a><a class="code" href="structstruct__CO__Data.html#c94e9f25340858372f5ccd32d4e548ba">00048</a>         <span class="keyword">const</span> <a class="code" href="structtd__indextable.html">indextable</a> *<a class="code" href="structstruct__CO__Data.html#c94e9f25340858372f5ccd32d4e548ba">objdict</a>;
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
    70
<a name="l00049"></a><a class="code" href="structstruct__CO__Data.html#2e5d772f4328eda06de1e04ebe6be2d2">00049</a>         <a class="code" href="structstruct__s__PDO__status.html">s_PDO_status</a> *<a class="code" href="structstruct__CO__Data.html#2e5d772f4328eda06de1e04ebe6be2d2">PDO_status</a>;
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
    71
<a name="l00050"></a><a class="code" href="structstruct__CO__Data.html#461670264666fdaa6dfbe3b54adb3caf">00050</a>         <a class="code" href="structs__quick__index.html">quick_index</a> *<a class="code" href="structstruct__CO__Data.html#461670264666fdaa6dfbe3b54adb3caf">firstIndex</a>;
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
    72
<a name="l00051"></a><a class="code" href="structstruct__CO__Data.html#b01f37370a5a9583486a84308f4e20b8">00051</a>         <a class="code" href="structs__quick__index.html">quick_index</a> *<a class="code" href="structstruct__CO__Data.html#b01f37370a5a9583486a84308f4e20b8">lastIndex</a>;
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
    73
<a name="l00052"></a><a class="code" href="structstruct__CO__Data.html#4c5de4f6e066d742521a311737cc08df">00052</a>         <a class="code" href="hcs12_2applicfg_8h.html#14fad477a4a001f547db2731eaaaa1dc">UNS16</a> *<a class="code" href="structstruct__CO__Data.html#4c5de4f6e066d742521a311737cc08df">ObjdictSize</a>;
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
    74
<a name="l00053"></a><a class="code" href="structstruct__CO__Data.html#eddc777e83810b94d0dd1e6538a19e1e">00053</a>         <span class="keyword">const</span> <a class="code" href="hcs12_2applicfg_8h.html#c2e754635928189b98cf3f5b7e6dbffb">UNS8</a> *<a class="code" href="structstruct__CO__Data.html#eddc777e83810b94d0dd1e6538a19e1e">iam_a_slave</a>;
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
    75
<a name="l00054"></a><a class="code" href="structstruct__CO__Data.html#aa2bf36a38fd3bac98904741ae25d8b8">00054</a>         <a class="code" href="objacces_8h.html#0c04a935735f5dbc8466f6e0a981723b">valueRangeTest_t</a> <a class="code" href="structstruct__CO__Data.html#aa2bf36a38fd3bac98904741ae25d8b8">valueRangeTest</a>;
215
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    76
<a name="l00055"></a>00055         
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    77
<a name="l00056"></a>00056         <span class="comment">/* SDO */</span>
240
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
    78
<a name="l00057"></a><a class="code" href="structstruct__CO__Data.html#57436603d120d11ae499105ec6451361">00057</a>         <a class="code" href="structstruct__s__transfer.html">s_transfer</a> <a class="code" href="structstruct__CO__Data.html#57436603d120d11ae499105ec6451361">transfers</a>[<a class="code" href="config_8h.html#4e9504f5e7dd7dd246a2dcdfe4aca66d">SDO_MAX_SIMULTANEOUS_TRANSFERTS</a>];
215
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    79
<a name="l00058"></a>00058         <span class="comment">/* s_sdo_parameter *sdo_parameters; */</span>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    80
<a name="l00059"></a>00059 
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    81
<a name="l00060"></a>00060         <span class="comment">/* State machine */</span>
240
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
    82
<a name="l00061"></a><a class="code" href="structstruct__CO__Data.html#78dee6c41f9e1240059a427185dd4eed">00061</a>         <a class="code" href="states_8h.html#424131de4b91e21fa281d2c8913d9282">e_nodeState</a> <a class="code" href="structstruct__CO__Data.html#78dee6c41f9e1240059a427185dd4eed">nodeState</a>;
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
    83
<a name="l00062"></a><a class="code" href="structstruct__CO__Data.html#ac7e1610f30cb4035d51532db75738e6">00062</a>         <a class="code" href="structs__state__communication.html">s_state_communication</a> <a class="code" href="structstruct__CO__Data.html#ac7e1610f30cb4035d51532db75738e6">CurrentCommunicationState</a>;
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
    84
<a name="l00063"></a><a class="code" href="structstruct__CO__Data.html#1d171d82b1e6ed1eb1e936f23e44b680">00063</a>         <a class="code" href="states_8h.html#efba19e5dc10d03a17287af29c71567f">initialisation_t</a> <a class="code" href="structstruct__CO__Data.html#1d171d82b1e6ed1eb1e936f23e44b680">initialisation</a>;
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
    85
<a name="l00064"></a><a class="code" href="structstruct__CO__Data.html#617bf112ab2cd668a8aa35f350a6456b">00064</a>         <a class="code" href="states_8h.html#779b4753c62da1e5441c3787a823938a">preOperational_t</a> <a class="code" href="structstruct__CO__Data.html#617bf112ab2cd668a8aa35f350a6456b">preOperational</a>;
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
    86
<a name="l00065"></a><a class="code" href="structstruct__CO__Data.html#78f4481967d34a40cf253a19170234b2">00065</a>         <a class="code" href="states_8h.html#c7a996649d7ce811f510e86586b863fd">operational_t</a> <a class="code" href="structstruct__CO__Data.html#78f4481967d34a40cf253a19170234b2">operational</a>;
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
    87
<a name="l00066"></a><a class="code" href="structstruct__CO__Data.html#2d3862c6f89d6f8d849bafdd7167276f">00066</a>         <a class="code" href="states_8h.html#b557e6fbf097b1c7fd5c22f867069aa1">stopped_t</a> <a class="code" href="structstruct__CO__Data.html#2d3862c6f89d6f8d849bafdd7167276f">stopped</a>;
215
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    88
<a name="l00067"></a>00067 
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    89
<a name="l00068"></a>00068         <span class="comment">/* NMT-heartbeat */</span>
240
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
    90
<a name="l00069"></a><a class="code" href="structstruct__CO__Data.html#8dca1c6a4df9474e82632b4ae21dc9c4">00069</a>         <a class="code" href="hcs12_2applicfg_8h.html#c2e754635928189b98cf3f5b7e6dbffb">UNS8</a> *<a class="code" href="structstruct__CO__Data.html#8dca1c6a4df9474e82632b4ae21dc9c4">ConsumerHeartbeatCount</a>;
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
    91
<a name="l00070"></a><a class="code" href="structstruct__CO__Data.html#bff77d2e95507970d757b6e64a0adb26">00070</a>         <a class="code" href="hcs12_2applicfg_8h.html#a6a1b7af83d4106c1d1621bdb28d9c48">UNS32</a> *<a class="code" href="structstruct__CO__Data.html#bff77d2e95507970d757b6e64a0adb26">ConsumerHeartbeatEntries</a>;
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
    92
<a name="l00071"></a><a class="code" href="structstruct__CO__Data.html#febc80dd5ed389c2720ea379a9e1d83b">00071</a>         <a class="code" href="timer_8h.html#92d252e2b6f4cf50c0e7450c20d5db48">TIMER_HANDLE</a> *<a class="code" href="structstruct__CO__Data.html#febc80dd5ed389c2720ea379a9e1d83b">ConsumerHeartBeatTimers</a>;
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
    93
<a name="l00072"></a><a class="code" href="structstruct__CO__Data.html#35e70fa46f83e16d91da234bcab877cc">00072</a>         <a class="code" href="hcs12_2applicfg_8h.html#14fad477a4a001f547db2731eaaaa1dc">UNS16</a> *<a class="code" href="structstruct__CO__Data.html#35e70fa46f83e16d91da234bcab877cc">ProducerHeartBeatTime</a>;
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
    94
<a name="l00073"></a><a class="code" href="structstruct__CO__Data.html#4f4d94992217998b4d0dd744f86a01d9">00073</a>         <a class="code" href="timer_8h.html#92d252e2b6f4cf50c0e7450c20d5db48">TIMER_HANDLE</a> <a class="code" href="structstruct__CO__Data.html#4f4d94992217998b4d0dd744f86a01d9">ProducerHeartBeatTimer</a>;
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
    95
<a name="l00074"></a><a class="code" href="structstruct__CO__Data.html#79effaec98b98fcda7d2e9ba987c3b34">00074</a>         <a class="code" href="lifegrd_8h.html#be9b176eba3a70d52f86faf32db79f30">heartbeatError_t</a> <a class="code" href="structstruct__CO__Data.html#79effaec98b98fcda7d2e9ba987c3b34">heartbeatError</a>;
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
    96
<a name="l00075"></a><a class="code" href="structstruct__CO__Data.html#9b11cedeb5f46378c752f68a997e0903">00075</a>         <a class="code" href="states_8h.html#424131de4b91e21fa281d2c8913d9282">e_nodeState</a> <a class="code" href="structstruct__CO__Data.html#9b11cedeb5f46378c752f68a997e0903">NMTable</a>[<a class="code" href="config_8h.html#2ee1e815b40aa4cbd0acdc341d9214bd">NMT_MAX_NODE_ID</a>]; 
215
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    97
<a name="l00076"></a>00076 
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
    98
<a name="l00077"></a>00077         <span class="comment">/* SYNC */</span>
240
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
    99
<a name="l00078"></a><a class="code" href="structstruct__CO__Data.html#4e7917821f265cb833634a613da2442a">00078</a>         <a class="code" href="timer_8h.html#92d252e2b6f4cf50c0e7450c20d5db48">TIMER_HANDLE</a> <a class="code" href="structstruct__CO__Data.html#4e7917821f265cb833634a613da2442a">syncTimer</a>;
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   100
<a name="l00079"></a><a class="code" href="structstruct__CO__Data.html#c72942f41becf1ee80b9e65b05a2ac1b">00079</a>         <a class="code" href="hcs12_2applicfg_8h.html#a6a1b7af83d4106c1d1621bdb28d9c48">UNS32</a> *<a class="code" href="structstruct__CO__Data.html#c72942f41becf1ee80b9e65b05a2ac1b">COB_ID_Sync</a>;
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   101
<a name="l00080"></a><a class="code" href="structstruct__CO__Data.html#bc2d265828e65a81b1e5429c9ba2a498">00080</a>         <a class="code" href="hcs12_2applicfg_8h.html#a6a1b7af83d4106c1d1621bdb28d9c48">UNS32</a> *<a class="code" href="structstruct__CO__Data.html#bc2d265828e65a81b1e5429c9ba2a498">Sync_Cycle_Period</a>;
215
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   102
<a name="l00081"></a>00081         <span class="comment">/*UNS32 *Sync_window_length;;*/</span>
240
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   103
<a name="l00082"></a><a class="code" href="structstruct__CO__Data.html#f51d3f1c7af9ab07bed3a8c28e3e2162">00082</a>         <a class="code" href="sync_8h.html#d1f283a688067376cc96b22f2d106a2e">post_sync_t</a> <a class="code" href="structstruct__CO__Data.html#f51d3f1c7af9ab07bed3a8c28e3e2162">post_sync</a>;
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   104
<a name="l00083"></a><a class="code" href="structstruct__CO__Data.html#ebb8649e117348c6cc94cd6f86684747">00083</a>         <a class="code" href="sync_8h.html#7b223c31d7930e0d899991b613251155">post_TPDO_t</a> <a class="code" href="structstruct__CO__Data.html#ebb8649e117348c6cc94cd6f86684747">post_TPDO</a>;
215
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   105
<a name="l00084"></a>00084         
240
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   106
<a name="l00085"></a>00085         <span class="comment">/* General */</span>
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   107
<a name="l00086"></a><a class="code" href="structstruct__CO__Data.html#6938b58479da6ae2ef2c22adb4d42125">00086</a>         <a class="code" href="hcs12_2applicfg_8h.html#c2e754635928189b98cf3f5b7e6dbffb">UNS8</a> <a class="code" href="structstruct__CO__Data.html#6938b58479da6ae2ef2c22adb4d42125">toggle</a>;
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   108
<a name="l00087"></a><a class="code" href="structstruct__CO__Data.html#05c8d7a0518b95971818a9c612f8b9c0">00087</a>         <a class="code" href="unix_2applicfg_8h.html#324227f7b01d51ee83a883174769ac8f">CAN_HANDLE</a> <a class="code" href="structstruct__CO__Data.html#05c8d7a0518b95971818a9c612f8b9c0">canHandle</a>;   
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   109
<a name="l00088"></a><a class="code" href="structstruct__CO__Data.html#dc25b41e66d58a87475fb1d9fa467ec2">00088</a>         <a class="code" href="objdictdef_8h.html#e57fa11a3fd463f55ce79a23e4ddc6e2">scanIndexOD_t</a> <a class="code" href="structstruct__CO__Data.html#dc25b41e66d58a87475fb1d9fa467ec2">scanIndexOD</a>;
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   110
<a name="l00089"></a><a class="code" href="structstruct__CO__Data.html#4683b8a458fce00699b14b3448f61bf8">00089</a>         <a class="code" href="objacces_8h.html#0fffa15168046a1e8231be4c80aa4ac4">storeODSubIndex_t</a> <a class="code" href="structstruct__CO__Data.html#4683b8a458fce00699b14b3448f61bf8">storeODSubIndex</a>; 
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   111
<a name="l00090"></a>00090         
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   112
<a name="l00091"></a>00091         <span class="comment">/* DCF concise */</span>
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   113
<a name="l00092"></a><a class="code" href="structstruct__CO__Data.html#5f949136e4e329e4e4741efce0c2baf5">00092</a>         <a class="code" href="hcs12_2applicfg_8h.html#c2e754635928189b98cf3f5b7e6dbffb">UNS8</a>* <a class="code" href="structstruct__CO__Data.html#5f949136e4e329e4e4741efce0c2baf5">dcf_cursor</a>;
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   114
<a name="l00093"></a><a class="code" href="structstruct__CO__Data.html#935c8435102cc8f77cfbcfb310df0870">00093</a>         <a class="code" href="hcs12_2applicfg_8h.html#a6a1b7af83d4106c1d1621bdb28d9c48">UNS32</a> <a class="code" href="structstruct__CO__Data.html#935c8435102cc8f77cfbcfb310df0870">dcf_count_targets</a>;
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   115
<a name="l00094"></a>00094         
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   116
<a name="l00095"></a>00095 };
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   117
<a name="l00096"></a>00096 
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   118
<a name="l00097"></a>00097 <span class="preprocessor">#define NMTable_Initializer Unknown_state,</span>
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   119
<a name="l00098"></a>00098 <span class="preprocessor"></span>
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   120
<a name="l00099"></a>00099 <span class="preprocessor">#define s_transfer_Initializer {\</span>
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   121
<a name="l00100"></a>00100 <span class="preprocessor">                0,          </span><span class="comment">/* nodeId */</span>\
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   122
<a name="l00101"></a>00101                 0,          <span class="comment">/* wohami */</span>\
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   123
<a name="l00102"></a>00102                 SDO_RESET,  <span class="comment">/* state */</span>\
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   124
<a name="l00103"></a>00103                 0,          <span class="comment">/* toggle */</span>\
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   125
<a name="l00104"></a>00104                 0,          <span class="comment">/* abortCode */</span>\
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   126
<a name="l00105"></a>00105                 0,          <span class="comment">/* index */</span>\
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   127
<a name="l00106"></a>00106                 0,          <span class="comment">/* subIndex */</span>\
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   128
<a name="l00107"></a>00107                 0,          <span class="comment">/* count */</span>\
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   129
<a name="l00108"></a>00108                 0,          <span class="comment">/* offset */</span>\
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   130
<a name="l00109"></a>00109                 {0},        <span class="comment">/* data (static use, so that all the table is initialize at 0)*/</span>\
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   131
<a name="l00110"></a>00110                 0,          <span class="comment">/* dataType */</span>\
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   132
<a name="l00111"></a>00111                 -1,         <span class="comment">/* timer */</span>\
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   133
<a name="l00112"></a>00112                 NULL        <span class="comment">/* Callback */</span>\
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   134
<a name="l00113"></a>00113           },
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   135
<a name="l00114"></a>00114 
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   136
<a name="l00115"></a>00115 <span class="comment">/* A macro to initialize the data in client app.*/</span>
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   137
<a name="l00116"></a>00116 <span class="comment">/* CO_Data structure */</span>
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   138
<a name="l00117"></a>00117 <span class="preprocessor">#define CANOPEN_NODE_DATA_INITIALIZER(NODE_PREFIX) {\</span>
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   139
<a name="l00118"></a>00118 <span class="preprocessor">        </span><span class="comment">/* Object dictionary*/</span>\
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   140
<a name="l00119"></a>00119         &amp; NODE_PREFIX ## _bDeviceNodeId,     <span class="comment">/* bDeviceNodeId */</span>\
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   141
<a name="l00120"></a>00120         NODE_PREFIX ## _objdict,             <span class="comment">/* objdict  */</span>\
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   142
<a name="l00121"></a>00121         NODE_PREFIX ## _PDO_status,          <span class="comment">/* PDO_status */</span>\
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   143
<a name="l00122"></a>00122         &amp; NODE_PREFIX ## _firstIndex,        <span class="comment">/* firstIndex */</span>\
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   144
<a name="l00123"></a>00123         &amp; NODE_PREFIX ## _lastIndex,         <span class="comment">/* lastIndex */</span>\
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   145
<a name="l00124"></a>00124         &amp; NODE_PREFIX ## _ObjdictSize,       <span class="comment">/* ObjdictSize */</span>\
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   146
<a name="l00125"></a>00125         &amp; NODE_PREFIX ## _iam_a_slave,       <span class="comment">/* iam_a_slave */</span>\
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   147
<a name="l00126"></a>00126         NODE_PREFIX ## _valueRangeTest,      <span class="comment">/* valueRangeTest */</span>\
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   148
<a name="l00127"></a>00127         \
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   149
<a name="l00128"></a>00128         <span class="comment">/* SDO, structure s_transfer */</span>\
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   150
<a name="l00129"></a>00129         {\
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   151
<a name="l00130"></a>00130           REPEAT_SDO_MAX_SIMULTANEOUS_TRANSFERTS_TIMES(s_transfer_Initializer)\
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   152
<a name="l00131"></a>00131         },\
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   153
<a name="l00132"></a>00132         \
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   154
<a name="l00133"></a>00133         <span class="comment">/* State machine*/</span>\
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   155
<a name="l00134"></a>00134         Unknown_state,      <span class="comment">/* nodeState */</span>\
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   156
<a name="l00135"></a>00135         <span class="comment">/* structure s_state_communication */</span>\
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   157
<a name="l00136"></a>00136         {\
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   158
<a name="l00137"></a>00137                 0,          <span class="comment">/* csBoot_Up */</span>\
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   159
<a name="l00138"></a>00138                 0,          <span class="comment">/* csSDO */</span>\
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   160
<a name="l00139"></a>00139                 0,          <span class="comment">/* csEmergency */</span>\
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   161
<a name="l00140"></a>00140                 0,          <span class="comment">/* csSYNC */</span>\
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   162
<a name="l00141"></a>00141                 0,          <span class="comment">/* csHeartbeat */</span>\
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   163
<a name="l00142"></a>00142                 0           <span class="comment">/* csPDO */</span>\
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   164
<a name="l00143"></a>00143         },\
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   165
<a name="l00144"></a>00144         _initialisation,     <span class="comment">/* initialisation */</span>\
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   166
<a name="l00145"></a>00145         _preOperational,     <span class="comment">/* preOperational */</span>\
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   167
<a name="l00146"></a>00146         _operational,        <span class="comment">/* operational */</span>\
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   168
<a name="l00147"></a>00147         _stopped,            <span class="comment">/* stopped */</span>\
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   169
<a name="l00148"></a>00148         \
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   170
<a name="l00149"></a>00149         <span class="comment">/* NMT-heartbeat */</span>\
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   171
<a name="l00150"></a>00150         &amp; NODE_PREFIX ## _highestSubIndex_obj1016, <span class="comment">/* ConsumerHeartbeatCount */</span>\
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   172
<a name="l00151"></a>00151         NODE_PREFIX ## _obj1016,                   <span class="comment">/* ConsumerHeartbeatEntries */</span>\
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   173
<a name="l00152"></a>00152         NODE_PREFIX ## _heartBeatTimers,           <span class="comment">/* ConsumerHeartBeatTimers  */</span>\
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   174
<a name="l00153"></a>00153         &amp; NODE_PREFIX ## _obj1017,                 <span class="comment">/* ProducerHeartBeatTime */</span>\
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   175
<a name="l00154"></a>00154         TIMER_NONE,                                <span class="comment">/* ProducerHeartBeatTimer */</span>\
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   176
<a name="l00155"></a>00155         _heartbeatError,           <span class="comment">/* heartbeatError */</span>\
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   177
<a name="l00156"></a>00156         \
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   178
<a name="l00157"></a>00157         {REPEAT_NMT_MAX_NODE_ID_TIMES(NMTable_Initializer)},\
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   179
<a name="l00158"></a>00158                                                    <span class="comment">/* is  well initialized at "Unknown_state". Is it ok ? (FD)*/</span>\
215
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   180
<a name="l00159"></a>00159         \
240
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   181
<a name="l00160"></a>00160         <span class="comment">/* SYNC */</span>\
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   182
<a name="l00161"></a>00161         TIMER_NONE,                                <span class="comment">/* syncTimer */</span>\
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   183
<a name="l00162"></a>00162         &amp; NODE_PREFIX ## _obj1005,                 <span class="comment">/* COB_ID_Sync */</span>\
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   184
<a name="l00163"></a>00163         &amp; NODE_PREFIX ## _obj1006,                 <span class="comment">/* Sync_Cycle_Period */</span>\
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   185
<a name="l00164"></a>00164         <span class="comment">/*&amp; NODE_PREFIX ## _obj1007, */</span>            <span class="comment">/* Sync_window_length */</span>\
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   186
<a name="l00165"></a>00165         _post_sync,                 <span class="comment">/* post_sync */</span>\
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   187
<a name="l00166"></a>00166         _post_TPDO,                 <span class="comment">/* post_TPDO */</span>\
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   188
<a name="l00167"></a>00167         \
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   189
<a name="l00168"></a>00168         <span class="comment">/* General */</span>\
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   190
<a name="l00169"></a>00169         0,                                         <span class="comment">/* toggle */</span>\
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   191
<a name="l00170"></a>00170         NULL,                   <span class="comment">/* canSend */</span>\
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   192
<a name="l00171"></a>00171         NODE_PREFIX ## _scanIndexOD,                <span class="comment">/* scanIndexOD */</span>\
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   193
<a name="l00172"></a>00172         _storeODSubIndex,                <span class="comment">/* storeODSubIndex */</span>\
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   194
<a name="l00173"></a>00173         NULL,           <span class="comment">/*dcf_cursor*/</span>\
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   195
<a name="l00174"></a>00174         1               <span class="comment">/*dcf_count_targets*/</span>\
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   196
<a name="l00175"></a>00175 }
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   197
<a name="l00176"></a>00176 
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   198
<a name="l00177"></a>00177 <span class="preprocessor">#endif </span><span class="comment">/* __data_h__ */</span>
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   199
<a name="l00178"></a>00178 
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   200
<a name="l00179"></a>00179 
34654679f262 Udpated doxygen
etisserant
parents: 215
diff changeset
   201
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Mon Jul 2 19:10:16 2007 for CanFestival by&nbsp;
215
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   202
<a href="http://www.doxygen.org/index.html">
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   203
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   204
</body>
f49e5a6b7804 Manual and Documentation finish
nico
parents:
diff changeset
   205
</html>