doc/doxygen/html/def_8h-source.html
changeset 240 34654679f262
parent 215 f49e5a6b7804
equal deleted inserted replaced
239:f45fd4cd3832 240:34654679f262
    16   <ul>
    16   <ul>
    17     <li><a href="files.html"><span>File&nbsp;List</span></a></li>
    17     <li><a href="files.html"><span>File&nbsp;List</span></a></li>
    18     <li><a href="globals.html"><span>Globals</span></a></li>
    18     <li><a href="globals.html"><span>Globals</span></a></li>
    19   </ul></div>
    19   </ul></div>
    20 <div class="nav">
    20 <div class="nav">
    21 <a class="el" href="dir_2209bfb26110ae52d50da4cefad5e72f.html">include</a></div>
    21 <a class="el" href="dir_bb27f6e70a4a8ab6966321815f15a33d.html">include</a></div>
    22 <h1>def.h</h1><a href="def_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>
    22 <h1>def.h</h1><a href="def_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*</span>
    23 <a name="l00002"></a>00002 <span class="comment">This file is part of CanFestival, a library implementing CanOpen Stack. </span>
    23 <a name="l00002"></a>00002 <span class="comment">This file is part of CanFestival, a library implementing CanOpen Stack. </span>
    24 <a name="l00003"></a>00003 <span class="comment"></span>
    24 <a name="l00003"></a>00003 <span class="comment"></span>
    25 <a name="l00004"></a>00004 <span class="comment">Copyright (C): Edouard TISSERANT and Francis DUPIN</span>
    25 <a name="l00004"></a>00004 <span class="comment">Copyright (C): Edouard TISSERANT and Francis DUPIN</span>
    26 <a name="l00005"></a>00005 <span class="comment"></span>
    26 <a name="l00005"></a>00005 <span class="comment"></span>
    45 <a name="l00024"></a>00024 <span class="preprocessor">#ifndef __def_h__</span>
    45 <a name="l00024"></a>00024 <span class="preprocessor">#ifndef __def_h__</span>
    46 <a name="l00025"></a>00025 <span class="preprocessor"></span><span class="preprocessor">#define __def_h__</span>
    46 <a name="l00025"></a>00025 <span class="preprocessor"></span><span class="preprocessor">#define __def_h__</span>
    47 <a name="l00026"></a>00026 <span class="preprocessor"></span>
    47 <a name="l00026"></a>00026 <span class="preprocessor"></span>
    48 <a name="l00027"></a>00027 <span class="preprocessor">#include "<a class="code" href="config_8h.html">config.h</a>"</span>
    48 <a name="l00027"></a>00027 <span class="preprocessor">#include "<a class="code" href="config_8h.html">config.h</a>"</span>
    49 <a name="l00028"></a>00028 
    49 <a name="l00028"></a>00028 
    50 <a name="l00031"></a><a class="code" href="def_8h.html#cb82b94eb8e368e8c347b2273b6e514e">00031</a> <span class="preprocessor">#define OD_SUCCESSFUL                0x00000000</span>
    50 <a name="l00031"></a><a class="code" href="def_8h.html#a07aae3570321186b5b2233f4f8a9bbe">00031</a> <span class="preprocessor">#define OD_SUCCESSFUL                0x00000000</span>
    51 <a name="l00032"></a><a class="code" href="def_8h.html#b83689b7bd34aa05b35545f3fdebbf2b">00032</a> <span class="preprocessor"></span><span class="preprocessor">#define OD_READ_NOT_ALLOWED          0x06010001</span>
    51 <a name="l00032"></a><a class="code" href="def_8h.html#3c3bde3d6c7388638fe0cb5edc6847d6">00032</a> <span class="preprocessor"></span><span class="preprocessor">#define OD_READ_NOT_ALLOWED          0x06010001</span>
    52 <a name="l00033"></a><a class="code" href="def_8h.html#53e6ac773b19b6d22d423eed2aeaa2af">00033</a> <span class="preprocessor"></span><span class="preprocessor">#define OD_WRITE_NOT_ALLOWED         0x06010002</span>
    52 <a name="l00033"></a><a class="code" href="def_8h.html#62e19b748b4b30514b7aaf2786eee79f">00033</a> <span class="preprocessor"></span><span class="preprocessor">#define OD_WRITE_NOT_ALLOWED         0x06010002</span>
    53 <a name="l00034"></a><a class="code" href="def_8h.html#c52e3a6802662a7fe61a4efdc5b12e52">00034</a> <span class="preprocessor"></span><span class="preprocessor">#define OD_NO_SUCH_OBJECT            0x06020000</span>
    53 <a name="l00034"></a><a class="code" href="def_8h.html#3f8ca223a1d0262a800f7a14fdd9794c">00034</a> <span class="preprocessor"></span><span class="preprocessor">#define OD_NO_SUCH_OBJECT            0x06020000</span>
    54 <a name="l00035"></a><a class="code" href="def_8h.html#4c29f0a96ace19f670f469540c554fd5">00035</a> <span class="preprocessor"></span><span class="preprocessor">#define OD_NOT_MAPPABLE              0x06040041</span>
    54 <a name="l00035"></a><a class="code" href="def_8h.html#9cf588696fe0f6fc61f7f3e994e56c02">00035</a> <span class="preprocessor"></span><span class="preprocessor">#define OD_NOT_MAPPABLE              0x06040041</span>
    55 <a name="l00036"></a><a class="code" href="def_8h.html#61ccafe5e75997254b97211672886fa8">00036</a> <span class="preprocessor"></span><span class="preprocessor">#define OD_LENGTH_DATA_INVALID       0x06070010</span>
    55 <a name="l00036"></a><a class="code" href="def_8h.html#c5da3229aec49310020be0e970995fad">00036</a> <span class="preprocessor"></span><span class="preprocessor">#define OD_LENGTH_DATA_INVALID       0x06070010</span>
    56 <a name="l00037"></a><a class="code" href="def_8h.html#d5e7c0b1fe309d9d2f71a0eceb905d32">00037</a> <span class="preprocessor"></span><span class="preprocessor">#define OD_NO_SUCH_SUBINDEX          0x06090011</span>
    56 <a name="l00037"></a><a class="code" href="def_8h.html#3312005ffb5ebf43de78300d4121ed07">00037</a> <span class="preprocessor"></span><span class="preprocessor">#define OD_NO_SUCH_SUBINDEX          0x06090011</span>
    57 <a name="l00038"></a><a class="code" href="def_8h.html#f483b080738d035e89f41e199f79c44e">00038</a> <span class="preprocessor"></span><span class="preprocessor">#define OD_VALUE_TOO_LOW             0x06090031 </span><span class="comment">/* Value range test result */</span>
    57 <a name="l00038"></a><a class="code" href="def_8h.html#acb70ca2577025b9b9b73d32ad97f53a">00038</a> <span class="preprocessor"></span><span class="preprocessor">#define OD_VALUE_TOO_LOW             0x06090031 </span><span class="comment">/* Value range test result */</span>
    58 <a name="l00039"></a><a class="code" href="def_8h.html#8fd6804c3f6d1de461233025389396cb">00039</a> <span class="preprocessor">#define OD_VALUE_TOO_HIGH            0x06090032 </span><span class="comment">/* Value range test result */</span>
    58 <a name="l00039"></a><a class="code" href="def_8h.html#1ec96021b47a1d121e6050040ef9c9c3">00039</a> <span class="preprocessor">#define OD_VALUE_TOO_HIGH            0x06090032 </span><span class="comment">/* Value range test result */</span>
    59 <a name="l00040"></a>00040 <span class="comment">/* Others SDO abort codes </span>
    59 <a name="l00040"></a>00040 <span class="comment">/* Others SDO abort codes </span>
    60 <a name="l00041"></a>00041 <span class="comment"> */</span>
    60 <a name="l00041"></a>00041 <span class="comment"> */</span>
    61 <a name="l00042"></a><a class="code" href="def_8h.html#d80b624c5c5760190d82246e7b04d239">00042</a> <span class="preprocessor">#define SDOABT_TOGGLE_NOT_ALTERNED   0x05030000</span>
    61 <a name="l00042"></a><a class="code" href="def_8h.html#c28607f078e1f1a6ea89da146d855b8c">00042</a> <span class="preprocessor">#define SDOABT_TOGGLE_NOT_ALTERNED   0x05030000</span>
    62 <a name="l00043"></a><a class="code" href="def_8h.html#49351f44f9d88d66d47c221c7a0989c3">00043</a> <span class="preprocessor"></span><span class="preprocessor">#define SDOABT_TIMED_OUT             0x05040000</span>
    62 <a name="l00043"></a><a class="code" href="def_8h.html#fdcd11474e84209a9a7c2b879df7dd7f">00043</a> <span class="preprocessor"></span><span class="preprocessor">#define SDOABT_TIMED_OUT             0x05040000</span>
    63 <a name="l00044"></a><a class="code" href="def_8h.html#0b71ae8593fb9b65a2028509ed6b2128">00044</a> <span class="preprocessor"></span><span class="preprocessor">#define SDOABT_OUT_OF_MEMORY         0x05040005 </span><span class="comment">/* Size data exceed SDO_MAX_LENGTH_TRANSFERT */</span>
    63 <a name="l00044"></a><a class="code" href="def_8h.html#694c6738d3319b3755e996e8da691361">00044</a> <span class="preprocessor"></span><span class="preprocessor">#define SDOABT_OUT_OF_MEMORY         0x05040005 </span><span class="comment">/* Size data exceed SDO_MAX_LENGTH_TRANSFERT */</span>
    64 <a name="l00045"></a><a class="code" href="def_8h.html#467b188db8d383136b771267dcc22e68">00045</a> <span class="preprocessor">#define SDOABT_GENERAL_ERROR         0x08000000 </span><span class="comment">/* Error size of SDO message */</span>
    64 <a name="l00045"></a><a class="code" href="def_8h.html#a5c3f8ae5d90c25b51020352c4e1cd57">00045</a> <span class="preprocessor">#define SDOABT_GENERAL_ERROR         0x08000000 </span><span class="comment">/* Error size of SDO message */</span>
    65 <a name="l00046"></a><a class="code" href="def_8h.html#192178577e5164ef0985d49522338c80">00046</a> <span class="preprocessor">#define SDOABT_LOCAL_CTRL_ERROR      0x08000021 </span>
    65 <a name="l00046"></a><a class="code" href="def_8h.html#7e5c09a17f1c7bee260b799abc64f595">00046</a> <span class="preprocessor">#define SDOABT_LOCAL_CTRL_ERROR      0x08000021 </span>
    66 <a name="l00047"></a>00047 <span class="preprocessor"></span>
    66 <a name="l00047"></a>00047 <span class="preprocessor"></span>
    67 <a name="l00048"></a>00048 <span class="comment">/******************** CONSTANTS ****************/</span>
    67 <a name="l00048"></a>00048 <span class="comment">/******************** CONSTANTS ****************/</span>
    68 <a name="l00049"></a>00049 
    68 <a name="l00049"></a>00049 
    69 <a name="l00053"></a>00053 <span class="comment">/* Should not be modified */</span>
    69 <a name="l00053"></a>00053 <span class="comment">/* Should not be modified */</span>
    70 <a name="l00054"></a><a class="code" href="def_8h.html#6baece8be8f9ab55223d41b535511b6f">00054</a> <span class="preprocessor">#define REQUEST 1</span>
    70 <a name="l00054"></a><a class="code" href="def_8h.html#1ae2410a21866d38fa1aa931a88b2cb1">00054</a> <span class="preprocessor">#define REQUEST 1</span>
    71 <a name="l00055"></a><a class="code" href="def_8h.html#0c43b00ce49efc3586ad17dd80d73940">00055</a> <span class="preprocessor"></span><span class="preprocessor">#define NOT_A_REQUEST 0</span>
    71 <a name="l00055"></a><a class="code" href="def_8h.html#b6a4c86a352c3ac564dae3767c7524f3">00055</a> <span class="preprocessor"></span><span class="preprocessor">#define NOT_A_REQUEST 0</span>
    72 <a name="l00056"></a>00056 <span class="preprocessor"></span>
    72 <a name="l00056"></a>00056 <span class="preprocessor"></span>
    73 <a name="l00057"></a>00057 <span class="comment">/* Misc constants */</span>
    73 <a name="l00057"></a>00057 <span class="comment">/* Misc constants */</span>
    74 <a name="l00058"></a>00058 <span class="comment">/* -------------- */</span>
    74 <a name="l00058"></a>00058 <span class="comment">/* -------------- */</span>
    75 <a name="l00059"></a>00059 <span class="comment">/* Should not be modified */</span>
    75 <a name="l00059"></a>00059 <span class="comment">/* Should not be modified */</span>
    76 <a name="l00060"></a><a class="code" href="def_8h.html#1803853d40a775230d2bd01a8a15ea91">00060</a> <span class="preprocessor">#define Rx 0</span>
    76 <a name="l00060"></a><a class="code" href="def_8h.html#6b38999cc96e1d4ebc107d7bbc9afd33">00060</a> <span class="preprocessor">#define Rx 0</span>
    77 <a name="l00061"></a><a class="code" href="def_8h.html#bbb96fbbe5d24b8f12a1fae621ced4d3">00061</a> <span class="preprocessor"></span><span class="preprocessor">#define Tx 1</span>
    77 <a name="l00061"></a><a class="code" href="def_8h.html#e2277907c3ec8f42dab1b2b14a474c2a">00061</a> <span class="preprocessor"></span><span class="preprocessor">#define Tx 1</span>
    78 <a name="l00062"></a><a class="code" href="def_8h.html#a8cecfc5c5c054d2875c03e77b7be15d">00062</a> <span class="preprocessor"></span><span class="preprocessor">#define TRUE  1</span>
    78 <a name="l00062"></a><a class="code" href="def_8h.html#528a67cfb212764fdec08c7c065a04f8">00062</a> <span class="preprocessor"></span><span class="preprocessor">#define TRUE  1</span>
    79 <a name="l00063"></a><a class="code" href="def_8h.html#a93f0eb578d23995850d61f7d61c55c1">00063</a> <span class="preprocessor"></span><span class="preprocessor">#define FALSE 0</span>
    79 <a name="l00063"></a><a class="code" href="def_8h.html#b5b5527380b5b259294fa10ae7e3a59b">00063</a> <span class="preprocessor"></span><span class="preprocessor">#define FALSE 0</span>
    80 <a name="l00064"></a>00064 <span class="preprocessor"></span>
    80 <a name="l00064"></a>00064 <span class="preprocessor"></span>
    81 <a name="l00065"></a>00065 <span class="comment">/* TODO: remove this limitation. do bit granularity mapping */</span>
    81 <a name="l00065"></a>00065     
    82 <a name="l00066"></a><a class="code" href="def_8h.html#53c0d55da6d9ed06d7f55c595611eccc">00066</a> <span class="preprocessor">#define PDO_MAX_LEN 8    </span>
    82 <a name="l00068"></a><a class="code" href="def_8h.html#aece677f733955fd74245baa5ff4d225">00068</a> <span class="preprocessor">#define SDO_RESET                0x0      </span><span class="comment">/* Transmission not started. Init state. */</span>
    83 <a name="l00067"></a>00067 <span class="preprocessor"></span>                               
    83 <a name="l00069"></a><a class="code" href="def_8h.html#12966f6991bcd2a375fafc8c7c877c04">00069</a> <span class="preprocessor">#define SDO_FINISHED             0x1      </span><span class="comment">/* data are available */</span>                          
    84 <a name="l00070"></a><a class="code" href="def_8h.html#b97393c9473837a2886583a1d5f69cf9">00070</a> <span class="preprocessor">#define SDO_RESET                0x0      </span><span class="comment">/* Transmission not started. Init state. */</span>
    84 <a name="l00070"></a><a class="code" href="def_8h.html#185bf68fd654c50451e246b8f58a5a38">00070</a> <span class="preprocessor">#define SDO_ABORTED_RCV          0x80     </span><span class="comment">/* Received an abort message. Data not available */</span>
    85 <a name="l00071"></a><a class="code" href="def_8h.html#7d9dad1485ed532424092d21b1e22ad2">00071</a> <span class="preprocessor">#define SDO_FINISHED             0x1      </span><span class="comment">/* data are available */</span>                          
    85 <a name="l00071"></a><a class="code" href="def_8h.html#207c051b8c5c41a149125561e9a92082">00071</a> <span class="preprocessor">#define SDO_ABORTED_INTERNAL     0x85     </span><span class="comment">/* Aborted but not because of an abort message. */</span>
    86 <a name="l00072"></a><a class="code" href="def_8h.html#fbea04ded6a0ca1dfd63637bce9e0200">00072</a> <span class="preprocessor">#define SDO_ABORTED_RCV          0x80     </span><span class="comment">/* Received an abort message. Data not available */</span>
    86 <a name="l00072"></a><a class="code" href="def_8h.html#727a4e64152bd92dd68ae820cb9362c4">00072</a> <span class="preprocessor">#define SDO_DOWNLOAD_IN_PROGRESS 0x2 </span>
    87 <a name="l00073"></a><a class="code" href="def_8h.html#2acbeebb18a23287a9fe30f1f9e3f964">00073</a> <span class="preprocessor">#define SDO_ABORTED_INTERNAL     0x85     </span><span class="comment">/* Aborted but not because of an abort message. */</span>
    87 <a name="l00073"></a><a class="code" href="def_8h.html#2b7ba4e769b81e1ec7ca14f011ab908f">00073</a> <span class="preprocessor"></span><span class="preprocessor">#define SDO_UPLOAD_IN_PROGRESS   0x3   </span>
    88 <a name="l00074"></a><a class="code" href="def_8h.html#749536d7d8c9a60beb8d3c8d1210b6d2">00074</a> <span class="preprocessor">#define SDO_DOWNLOAD_IN_PROGRESS 0x2 </span>
    88 <a name="l00074"></a>00074 <span class="preprocessor"></span>
    89 <a name="l00075"></a><a class="code" href="def_8h.html#f05e95a564b579b94d14a218264d13e1">00075</a> <span class="preprocessor"></span><span class="preprocessor">#define SDO_UPLOAD_IN_PROGRESS   0x3   </span>
    89 <a name="l00075"></a>00075 <span class="comment">/* Status of the node during the SDO transfert : */</span>
    90 <a name="l00076"></a>00076 <span class="preprocessor"></span>
    90 <a name="l00076"></a><a class="code" href="def_8h.html#94b5fa9c0784224c8208a0f5ec86577d">00076</a> <span class="preprocessor">#define SDO_SERVER  0x1</span>
    91 <a name="l00077"></a>00077 <span class="comment">/* Status of the node during the SDO transfert : */</span>
    91 <a name="l00077"></a><a class="code" href="def_8h.html#9643ba6f5821c05629c3d60f1f911e88">00077</a> <span class="preprocessor"></span><span class="preprocessor">#define SDO_CLIENT  0x2</span>
    92 <a name="l00078"></a><a class="code" href="def_8h.html#ee9faae3a3109b64e4987acb6eaa38b1">00078</a> <span class="preprocessor">#define SDO_SERVER  0x1</span>
    92 <a name="l00078"></a><a class="code" href="def_8h.html#38b52fe46b0d49b9750785141bde0c0c">00078</a> <span class="preprocessor"></span><span class="preprocessor">#define SDO_UNKNOWN 0x3             </span>
    93 <a name="l00079"></a><a class="code" href="def_8h.html#b1dccfddc653c2a7c4eaf3e1cc8d8e57">00079</a> <span class="preprocessor"></span><span class="preprocessor">#define SDO_CLIENT  0x2</span>
    93 <a name="l00079"></a>00079 <span class="preprocessor"></span>
    94 <a name="l00080"></a><a class="code" href="def_8h.html#5c0ec02d3f240083717a69a83b71a882">00080</a> <span class="preprocessor"></span><span class="preprocessor">#define SDO_UNKNOWN 0x3             </span>
    94 <a name="l00080"></a>00080 <span class="comment">/*  Function Codes </span>
    95 <a name="l00081"></a>00081 <span class="preprocessor"></span>
    95 <a name="l00081"></a>00081 <span class="comment">   ---------------</span>
    96 <a name="l00082"></a>00082 <span class="comment">/*  Function Codes </span>
    96 <a name="l00082"></a>00082 <span class="comment">  defined in the canopen DS301 </span>
    97 <a name="l00083"></a>00083 <span class="comment">   ---------------</span>
    97 <a name="l00083"></a>00083 <span class="comment">*/</span>
    98 <a name="l00084"></a>00084 <span class="comment">  defined in the canopen DS301 </span>
    98 <a name="l00084"></a><a class="code" href="def_8h.html#d21112faeaa2f64d69dd82ff3f80fa76">00084</a> <span class="preprocessor">#define NMT        0x0</span>
    99 <a name="l00085"></a>00085 <span class="comment">*/</span>
    99 <a name="l00085"></a><a class="code" href="def_8h.html#5121852019ece0964262f0cb39506843">00085</a> <span class="preprocessor"></span><span class="preprocessor">#define SYNC       0x1</span>
   100 <a name="l00086"></a><a class="code" href="def_8h.html#adbe0bb038acafa1c8adb0f98c870233">00086</a> <span class="preprocessor">#define NMT        0x0</span>
   100 <a name="l00086"></a><a class="code" href="def_8h.html#41e214ed6a29870a04c9857cec4a0194">00086</a> <span class="preprocessor"></span><span class="preprocessor">#define TIME_STAMP 0x2</span>
   101 <a name="l00087"></a><a class="code" href="def_8h.html#9ac82e856c7683e23553431e5224d5f4">00087</a> <span class="preprocessor"></span><span class="preprocessor">#define SYNC       0x1</span>
   101 <a name="l00087"></a><a class="code" href="def_8h.html#1893e40a0e6bbfe4b1770cb62046c042">00087</a> <span class="preprocessor"></span><span class="preprocessor">#define PDO1tx     0x3</span>
   102 <a name="l00088"></a><a class="code" href="def_8h.html#5a63bf5566f66e30f56bc17eea0e5e4b">00088</a> <span class="preprocessor"></span><span class="preprocessor">#define TIME_STAMP 0x2</span>
   102 <a name="l00088"></a><a class="code" href="def_8h.html#511f4300ca65ce23d8a1c4ec3b4e2076">00088</a> <span class="preprocessor"></span><span class="preprocessor">#define PDO1rx     0x4</span>
   103 <a name="l00089"></a><a class="code" href="def_8h.html#0a250614ba4dca3e87f768efcb58f238">00089</a> <span class="preprocessor"></span><span class="preprocessor">#define PDO1tx     0x3</span>
   103 <a name="l00089"></a><a class="code" href="def_8h.html#e9ee8504cd9f462f20ad5af48eeb22ac">00089</a> <span class="preprocessor"></span><span class="preprocessor">#define PDO2tx     0x5</span>
   104 <a name="l00090"></a><a class="code" href="def_8h.html#17c7ee302d491b1ef74d2a4a795f82c6">00090</a> <span class="preprocessor"></span><span class="preprocessor">#define PDO1rx     0x4</span>
   104 <a name="l00090"></a><a class="code" href="def_8h.html#1cc8839690c21f2c76ea549ac8e5d05c">00090</a> <span class="preprocessor"></span><span class="preprocessor">#define PDO2rx     0x6</span>
   105 <a name="l00091"></a><a class="code" href="def_8h.html#67f4224b2c072a82b37a4835ca1c75e1">00091</a> <span class="preprocessor"></span><span class="preprocessor">#define PDO2tx     0x5</span>
   105 <a name="l00091"></a><a class="code" href="def_8h.html#c063668bc1bd4b58d153b4819c4983a1">00091</a> <span class="preprocessor"></span><span class="preprocessor">#define PDO3tx     0x7</span>
   106 <a name="l00092"></a><a class="code" href="def_8h.html#b23848999420738438097816fee3f25d">00092</a> <span class="preprocessor"></span><span class="preprocessor">#define PDO2rx     0x6</span>
   106 <a name="l00092"></a><a class="code" href="def_8h.html#56e948b5cab3f8b3ff5adca55f6a6c3d">00092</a> <span class="preprocessor"></span><span class="preprocessor">#define PDO3rx     0x8</span>
   107 <a name="l00093"></a><a class="code" href="def_8h.html#00ef0f6ae698f9cb944b4302e66e6c83">00093</a> <span class="preprocessor"></span><span class="preprocessor">#define PDO3tx     0x7</span>
   107 <a name="l00093"></a><a class="code" href="def_8h.html#dfa635524047b4d8c6fce22469d7a2e8">00093</a> <span class="preprocessor"></span><span class="preprocessor">#define PDO4tx     0x9</span>
   108 <a name="l00094"></a><a class="code" href="def_8h.html#239d135abea5ec798461cad43f9286b5">00094</a> <span class="preprocessor"></span><span class="preprocessor">#define PDO3rx     0x8</span>
   108 <a name="l00094"></a><a class="code" href="def_8h.html#d3a50d56c7316cb4a669766d7d36f6fc">00094</a> <span class="preprocessor"></span><span class="preprocessor">#define PDO4rx     0xA</span>
   109 <a name="l00095"></a><a class="code" href="def_8h.html#bda4cc9ec44d1fc524bfdcae030df4be">00095</a> <span class="preprocessor"></span><span class="preprocessor">#define PDO4tx     0x9</span>
   109 <a name="l00095"></a><a class="code" href="def_8h.html#ee708deff7d007a1fe37091c13e0e897">00095</a> <span class="preprocessor"></span><span class="preprocessor">#define SDOtx      0xB</span>
   110 <a name="l00096"></a><a class="code" href="def_8h.html#282f714f745dd28e9a017044020aa3dc">00096</a> <span class="preprocessor"></span><span class="preprocessor">#define PDO4rx     0xA</span>
   110 <a name="l00096"></a><a class="code" href="def_8h.html#5ff06ebb22799a706652d981570159d9">00096</a> <span class="preprocessor"></span><span class="preprocessor">#define SDOrx      0xC</span>
   111 <a name="l00097"></a><a class="code" href="def_8h.html#74331e9b1d102bd0a3d5d9c1fc4f8212">00097</a> <span class="preprocessor"></span><span class="preprocessor">#define SDOtx      0xB</span>
   111 <a name="l00097"></a><a class="code" href="def_8h.html#e7e02f70bb48a2747c6496fdcf0f1b95">00097</a> <span class="preprocessor"></span><span class="preprocessor">#define NODE_GUARD 0xE</span>
   112 <a name="l00098"></a><a class="code" href="def_8h.html#44318f0cf5176db0eedd1c8519bd8f35">00098</a> <span class="preprocessor"></span><span class="preprocessor">#define SDOrx      0xC</span>
   112 <a name="l00098"></a>00098 <span class="preprocessor"></span>
   113 <a name="l00099"></a><a class="code" href="def_8h.html#78d5d3f71db9f360c9e3d3953707b0c1">00099</a> <span class="preprocessor"></span><span class="preprocessor">#define NODE_GUARD 0xE</span>
   113 <a name="l00099"></a>00099 <span class="comment">/* NMT Command Specifier, sent by master to change a slave state */</span>
   114 <a name="l00100"></a>00100 <span class="preprocessor"></span>
   114 <a name="l00100"></a>00100 <span class="comment">/* ------------------------------------------------------------- */</span>
   115 <a name="l00101"></a>00101 <span class="comment">/* NMT Command Specifier, sent by master to change a slave state */</span>
   115 <a name="l00101"></a>00101 <span class="comment">/* Should not be modified */</span>
   116 <a name="l00102"></a>00102 <span class="comment">/* ------------------------------------------------------------- */</span>
   116 <a name="l00102"></a><a class="code" href="def_8h.html#4467d5b0f948367d4ecf26aa2a98c221">00102</a> <span class="preprocessor">#define NMT_Start_Node              0x01</span>
   117 <a name="l00103"></a>00103 <span class="comment">/* Should not be modified */</span>
   117 <a name="l00103"></a><a class="code" href="def_8h.html#0d1997bb9a500ca3e400bf4ca6428044">00103</a> <span class="preprocessor"></span><span class="preprocessor">#define NMT_Stop_Node               0x02</span>
   118 <a name="l00104"></a><a class="code" href="def_8h.html#9654207fdc32413aa792c8a2dc9d414f">00104</a> <span class="preprocessor">#define NMT_Start_Node              0x01</span>
   118 <a name="l00104"></a><a class="code" href="def_8h.html#9a0e4ffea03086317e76fc1c80206197">00104</a> <span class="preprocessor"></span><span class="preprocessor">#define NMT_Enter_PreOperational    0x80</span>
   119 <a name="l00105"></a><a class="code" href="def_8h.html#7aae99c67e9ebd9491a246baf92570fa">00105</a> <span class="preprocessor"></span><span class="preprocessor">#define NMT_Stop_Node               0x02</span>
   119 <a name="l00105"></a><a class="code" href="def_8h.html#a74bd7065a5e72d9fefb3b24c239bcab">00105</a> <span class="preprocessor"></span><span class="preprocessor">#define NMT_Reset_Node              0x81</span>
   120 <a name="l00106"></a><a class="code" href="def_8h.html#bdbbb7ecbe41058f60f684c10e07e08e">00106</a> <span class="preprocessor"></span><span class="preprocessor">#define NMT_Enter_PreOperational    0x80</span>
   120 <a name="l00106"></a><a class="code" href="def_8h.html#fa643307076987b713c73a755296142e">00106</a> <span class="preprocessor"></span><span class="preprocessor">#define NMT_Reset_Comunication      0x82</span>
   121 <a name="l00107"></a><a class="code" href="def_8h.html#b349b5574a1ea67ff0ef76b9f9b6319e">00107</a> <span class="preprocessor"></span><span class="preprocessor">#define NMT_Reset_Node              0x81</span>
   121 <a name="l00107"></a>00107 <span class="preprocessor"></span>
   122 <a name="l00108"></a><a class="code" href="def_8h.html#fd16bdbe636d7c761a9e015a7d7653ce">00108</a> <span class="preprocessor"></span><span class="preprocessor">#define NMT_Reset_Comunication      0x82</span>
   122 <a name="l00108"></a>00108 <span class="comment">/* constantes used in the different state machines */</span>
   123 <a name="l00109"></a>00109 <span class="preprocessor"></span>
   123 <a name="l00109"></a>00109 <span class="comment">/* ----------------------------------------------- */</span>
   124 <a name="l00110"></a>00110 <span class="comment">/* constantes used in the different state machines */</span>
   124 <a name="l00110"></a>00110 <span class="comment">/* Must not be modified */</span>
   125 <a name="l00111"></a>00111 <span class="comment">/* ----------------------------------------------- */</span>
   125 <a name="l00111"></a><a class="code" href="def_8h.html#b9fd77c7944f50b395e6bb648e2c505e">00111</a> <span class="preprocessor">#define state1  0x01</span>
   126 <a name="l00112"></a>00112 <span class="comment">/* Must not be modified */</span>
   126 <a name="l00112"></a><a class="code" href="def_8h.html#c05f4cb35568d9c4627f126ef1688e4d">00112</a> <span class="preprocessor"></span><span class="preprocessor">#define state2  0x02</span>
   127 <a name="l00113"></a><a class="code" href="def_8h.html#5191a3bccf57126087e6ec2cca448c32">00113</a> <span class="preprocessor">#define state1  0x01</span>
   127 <a name="l00113"></a><a class="code" href="def_8h.html#32583b36b084e43274f3e61d2afd67dd">00113</a> <span class="preprocessor"></span><span class="preprocessor">#define state3  0x03</span>
   128 <a name="l00114"></a><a class="code" href="def_8h.html#9f640b93661d9249bd7bd6559f397ca5">00114</a> <span class="preprocessor"></span><span class="preprocessor">#define state2  0x02</span>
   128 <a name="l00114"></a><a class="code" href="def_8h.html#9b5e8fb69ee4bc987183d203fa0d4c9b">00114</a> <span class="preprocessor"></span><span class="preprocessor">#define state4  0x04</span>
   129 <a name="l00115"></a><a class="code" href="def_8h.html#07ae7798ee670d4db12e71b373c60e0a">00115</a> <span class="preprocessor"></span><span class="preprocessor">#define state3  0x03</span>
   129 <a name="l00115"></a><a class="code" href="def_8h.html#71a32da348c22a5ed861020c2d3d0204">00115</a> <span class="preprocessor"></span><span class="preprocessor">#define state5  0x05</span>
   130 <a name="l00116"></a><a class="code" href="def_8h.html#b92f9ec8f5b287c274ebe9c91fda5154">00116</a> <span class="preprocessor"></span><span class="preprocessor">#define state4  0x04</span>
   130 <a name="l00116"></a><a class="code" href="def_8h.html#ab29e1fbab6336f4b30024e235c69da1">00116</a> <span class="preprocessor"></span><span class="preprocessor">#define state6  0x06</span>
   131 <a name="l00117"></a><a class="code" href="def_8h.html#9c791e43dcf77cb119f7d79db324d1f8">00117</a> <span class="preprocessor"></span><span class="preprocessor">#define state5  0x05</span>
   131 <a name="l00117"></a><a class="code" href="def_8h.html#0f0f2f0f01eb90632d77963cb9ee1bb4">00117</a> <span class="preprocessor"></span><span class="preprocessor">#define state7  0x07</span>
   132 <a name="l00118"></a><a class="code" href="def_8h.html#7e97b68eb7a2d1d418638e8e6af0ed6b">00118</a> <span class="preprocessor"></span><span class="preprocessor">#define state6  0x06</span>
   132 <a name="l00118"></a><a class="code" href="def_8h.html#930978693617fa2c4469e94544f724d2">00118</a> <span class="preprocessor"></span><span class="preprocessor">#define state8  0x08</span>
   133 <a name="l00119"></a><a class="code" href="def_8h.html#b05e63de91a6e1268f15c0939cfdea8b">00119</a> <span class="preprocessor"></span><span class="preprocessor">#define state7  0x07</span>
   133 <a name="l00119"></a><a class="code" href="def_8h.html#1913bca4471e94734a0e2d3efcf1a8c7">00119</a> <span class="preprocessor"></span><span class="preprocessor">#define state9  0x09</span>
   134 <a name="l00120"></a><a class="code" href="def_8h.html#8894c53332e89c6588e84f5dc15c7584">00120</a> <span class="preprocessor"></span><span class="preprocessor">#define state8  0x08</span>
   134 <a name="l00120"></a><a class="code" href="def_8h.html#60890f106accbbcfa9c0c51c0468dcb8">00120</a> <span class="preprocessor"></span><span class="preprocessor">#define state10 0x0A</span>
   135 <a name="l00121"></a><a class="code" href="def_8h.html#df53b1fe0dcea7b0f27d351da8cb2c96">00121</a> <span class="preprocessor"></span><span class="preprocessor">#define state9  0x09</span>
   135 <a name="l00121"></a><a class="code" href="def_8h.html#c71929345a7f1c523a13b5fccac8b5b4">00121</a> <span class="preprocessor"></span><span class="preprocessor">#define state11 0x0B</span>
   136 <a name="l00122"></a><a class="code" href="def_8h.html#865105d41739f49a0419502cb2683be1">00122</a> <span class="preprocessor"></span><span class="preprocessor">#define state10 0x0A</span>
   136 <a name="l00122"></a>00122 <span class="preprocessor"></span>
   137 <a name="l00123"></a><a class="code" href="def_8h.html#be94c50e18055692ad2e0d220f09aea5">00123</a> <span class="preprocessor"></span><span class="preprocessor">#define state11 0x0B</span>
   137 <a name="l00123"></a>00123 <span class="preprocessor">#endif </span><span class="comment">/* __def_h__ */</span>
   138 <a name="l00124"></a>00124 <span class="preprocessor"></span>
   138 <a name="l00124"></a>00124 
   139 <a name="l00125"></a>00125 <span class="preprocessor">#endif </span><span class="comment">/* __def_h__ */</span>
   139 </pre></div><hr size="1"><address style="align: right;"><small>Generated on Mon Jul 2 19:10:16 2007 for CanFestival by&nbsp;
   140 <a name="l00126"></a>00126 
       
   141 </pre></div><hr size="1"><address style="align: right;"><small>Generated on Fri Jun 8 08:51:39 2007 for CanFestival by&nbsp;
       
   142 <a href="http://www.doxygen.org/index.html">
   140 <a href="http://www.doxygen.org/index.html">
   143 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address>
   141 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address>
   144 </body>
   142 </body>
   145 </html>
   143 </html>