diff -r f45fd4cd3832 -r 34654679f262 doc/doxygen/html/TestMasterSlave_2TestMaster_8c-source.html --- a/doc/doxygen/html/TestMasterSlave_2TestMaster_8c-source.html Fri Jul 06 10:53:15 2007 +0200 +++ b/doc/doxygen/html/TestMasterSlave_2TestMaster_8c-source.html Mon Jul 16 08:56:03 2007 +0200 @@ -18,7 +18,7 @@
  • Globals
  • +examples » TestMasterSlave

    TestMaster.c

    Go to the documentation of this file.
    00001 
     00002 /* File generated by gen_cfile.py. Should not be modified. */
     00003 
    @@ -27,411 +27,496 @@
     00006 /**************************************************************************/
     00007 /* Declaration of the mapped variables                                    */
     00008 /**************************************************************************/
    -00009 UNS8 MasterMap1 = 0x0;          /* Mapped at index 0x2000, subindex 0x00 */
    -00010 UNS8 MasterMap2 = 0x0;          /* Mapped at index 0x2001, subindex 0x00 */
    -00011 UNS8 MasterMap3 = 0x0;          /* Mapped at index 0x2002, subindex 0x00 */
    -00012 UNS8 MasterMap4 = 0x0;          /* Mapped at index 0x2003, subindex 0x00 */
    -00013 UNS8 MasterMap5 = 0x0;          /* Mapped at index 0x2004, subindex 0x00 */
    -00014 UNS8 MasterMap6 = 0x0;          /* Mapped at index 0x2005, subindex 0x00 */
    -00015 UNS8 MasterMap7 = 0x0;          /* Mapped at index 0x2006, subindex 0x00 */
    -00016 UNS8 MasterMap8 = 0x0;          /* Mapped at index 0x2007, subindex 0x00 */
    -00017 UNS8 MasterMap9 = 0x0;          /* Mapped at index 0x2008, subindex 0x00 */
    -00018 UNS32 MasterMap10 = 0x0;                /* Mapped at index 0x2009, subindex 0x00 */
    -00019 UNS16 MasterMap11 = 0x0;                /* Mapped at index 0x200A, subindex 0x00 */
    -00020 
    -00021 /**************************************************************************/
    -00022 /* Declaration of the value range types                                   */
    +00009 UNS8 MasterMap1 = 0x0;          /* Mapped at index 0x2000, subindex 0x00 */
    +00010 UNS8 MasterMap2 = 0x0;          /* Mapped at index 0x2001, subindex 0x00 */
    +00011 UNS8 MasterMap3 = 0x0;          /* Mapped at index 0x2002, subindex 0x00 */
    +00012 UNS8 MasterMap4 = 0x0;          /* Mapped at index 0x2003, subindex 0x00 */
    +00013 UNS8 MasterMap5 = 0x0;          /* Mapped at index 0x2004, subindex 0x00 */
    +00014 UNS8 MasterMap6 = 0x0;          /* Mapped at index 0x2005, subindex 0x00 */
    +00015 UNS8 MasterMap7 = 0x0;          /* Mapped at index 0x2006, subindex 0x00 */
    +00016 UNS8 MasterMap8 = 0x0;          /* Mapped at index 0x2007, subindex 0x00 */
    +00017 UNS8 MasterMap9 = 0x0;          /* Mapped at index 0x2008, subindex 0x00 */
    +00018 UNS32 MasterMap10 = 0x0;                /* Mapped at index 0x2009, subindex 0x00 */
    +00019 UNS16 MasterMap11 = 0x0;                /* Mapped at index 0x200A, subindex 0x00 */
    +00020 INTEGER16 MasterMap12 = 0x0;            /* Mapped at index 0x200B, subindex 0x00 */
    +00021 INTEGER16 MasterMap13 = 0x0;            /* Mapped at index 0x200C, subindex 0x00 */
    +00022 
     00023 /**************************************************************************/
    -00024 
    -00025 UNS32 TestMaster_valueRangeTest (UNS8 typeValue, void * value)
    -00026 {
    -00027   switch (typeValue) {
    -00028   }
    -00029   return 0;
    -00030 }
    -00031 
    -00032 /**************************************************************************/
    -00033 /* The node id                                                            */
    +00024 /* Declaration of the value range types                                   */
    +00025 /**************************************************************************/
    +00026 
    +00027 UNS32 TestMaster_valueRangeTest (UNS8 typeValue, void * value)
    +00028 {
    +00029   switch (typeValue) {
    +00030   }
    +00031   return 0;
    +00032 }
    +00033 
     00034 /**************************************************************************/
    -00035 /* node_id default value.*/
    -00036 UNS8 TestMaster_bDeviceNodeId = 0x01;
    -00037 
    -00038 /**************************************************************************/
    -00039 /* Array of message processing information */
    -00040 
    -00041 const UNS8 TestMaster_iam_a_slave = 0;
    +00035 /* The node id                                                            */
    +00036 /**************************************************************************/
    +00037 /* node_id default value.*/
    +00038 UNS8 TestMaster_bDeviceNodeId = 0x00;
    +00039 
    +00040 /**************************************************************************/
    +00041 /* Array of message processing information */
     00042 
    -00043 TIMER_HANDLE TestMaster_heartBeatTimers[1] = {TIMER_NONE,};
    +00043 const UNS8 TestMaster_iam_a_slave = 0;
     00044 
    -00045 /*
    -00046 $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
    -00047 
    -00048                                OBJECT DICTIONARY
    +00045 TIMER_HANDLE TestMaster_heartBeatTimers[1] = {TIMER_NONE,};
    +00046 
    +00047 /*
    +00048 $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
     00049 
    -00050 $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
    -00051 */
    -00052 
    -00053 /* index 0x1000 :   Device Type. */
    -00054                     UNS32 TestMaster_obj1000 = 0x12D;   /* 301 */
    -00055                     subindex TestMaster_Index1000[] = 
    -00056                      {
    -00057                        { RO, uint32, sizeof (UNS32), (void*)&TestMaster_obj1000 }
    -00058                      };
    -00059 
    -00060 /* index 0x1001 :   Error Register. */
    -00061                     UNS8 TestMaster_obj1001 = 0x0;      /* 0 */
    -00062                     subindex TestMaster_Index1001[] = 
    -00063                      {
    -00064                        { RO, uint8, sizeof (UNS8), (void*)&TestMaster_obj1001 }
    -00065                      };
    -00066 
    -00067 /* index 0x1005 :   SYNC COB ID. */
    -00068                     UNS32 TestMaster_obj1005 = 0x40000080;      /* 1073741952 */
    -00069                     ODCallback_t TestMaster_Index1005_callbacks[] = 
    -00070                      {
    -00071                        NULL,
    -00072                      };
    -00073                     subindex TestMaster_Index1005[] = 
    -00074                      {
    -00075                        { RW, uint32, sizeof (UNS32), (void*)&TestMaster_obj1005 }
    -00076                      };
    -00077 
    -00078 /* index 0x1006 :   Communication / Cycle Period. */
    -00079                     UNS32 TestMaster_obj1006 = 0xC350;  /* 50000 */
    -00080                     ODCallback_t TestMaster_Index1006_callbacks[] = 
    -00081                      {
    -00082                        NULL,
    -00083                      };
    -00084                     subindex TestMaster_Index1006[] = 
    -00085                      {
    -00086                        { RW, uint32, sizeof (UNS32), (void*)&TestMaster_obj1006 }
    -00087                      };
    -00088 
    -00089 /* index 0x1010 :   Store parameters. */
    -00090                     UNS8 TestMaster_highestSubIndex_obj1010 = 4; /* number of subindex - 1*/
    -00091                     UNS32 TestMaster_obj1010_Save_All_Parameters = 0x0; /* 0 */
    -00092                     UNS32 TestMaster_obj1010_Save_Communication_Parameters = 0x0;       /* 0 */
    -00093                     UNS32 TestMaster_obj1010_Save_Application_Parameters = 0x0; /* 0 */
    -00094                     UNS32 TestMaster_obj1010_Save_Manufacturer_Parameters = 0x0;        /* 0 */
    -00095                     subindex TestMaster_Index1010[] = 
    -00096                      {
    -00097                        { RO, uint8, sizeof (UNS8), (void*)&TestMaster_highestSubIndex_obj1010 },
    -00098                        { RW, uint32, sizeof (UNS32), (void*)&TestMaster_obj1010_Save_All_Parameters },
    -00099                        { RW, uint32, sizeof (UNS32), (void*)&TestMaster_obj1010_Save_Communication_Parameters },
    -00100                        { RW, uint32, sizeof (UNS32), (void*)&TestMaster_obj1010_Save_Application_Parameters },
    -00101                        { RW, uint32, sizeof (UNS32), (void*)&TestMaster_obj1010_Save_Manufacturer_Parameters }
    -00102                      };
    -00103 
    -00104 /* index 0x1011 :   Restore Default Parameters. */
    -00105                     UNS8 TestMaster_highestSubIndex_obj1011 = 4; /* number of subindex - 1*/
    -00106                     UNS32 TestMaster_obj1011_Restore_All_Default_Parameters = 0x0;      /* 0 */
    -00107                     UNS32 TestMaster_obj1011_Restore_Communication_Default_Parameters = 0x0;    /* 0 */
    -00108                     UNS32 TestMaster_obj1011_Restore_Application_Default_Parameters = 0x0;      /* 0 */
    -00109                     UNS32 TestMaster_obj1011_Restore_Manufacturer_Default_Parameters = 0x0;     /* 0 */
    -00110                     subindex TestMaster_Index1011[] = 
    -00111                      {
    -00112                        { RO, uint8, sizeof (UNS8), (void*)&TestMaster_highestSubIndex_obj1011 },
    -00113                        { RW, uint32, sizeof (UNS32), (void*)&TestMaster_obj1011_Restore_All_Default_Parameters },
    -00114                        { RW, uint32, sizeof (UNS32), (void*)&TestMaster_obj1011_Restore_Communication_Default_Parameters },
    -00115                        { RW, uint32, sizeof (UNS32), (void*)&TestMaster_obj1011_Restore_Application_Default_Parameters },
    -00116                        { RW, uint32, sizeof (UNS32), (void*)&TestMaster_obj1011_Restore_Manufacturer_Default_Parameters }
    -00117                      };
    -00118 
    -00119 /* index 0x1016 :   Consumer Heartbeat Time. */
    -00120                     UNS8 TestMaster_highestSubIndex_obj1016 = 1; /* number of subindex - 1*/
    -00121                     UNS32 TestMaster_obj1016[] = 
    -00122                     {
    -00123                       0x205DC   /* 132572 */
    -00124                     };
    -00125                     subindex TestMaster_Index1016[] = 
    -00126                      {
    -00127                        { RO, uint8, sizeof (UNS8), (void*)&TestMaster_highestSubIndex_obj1016 },
    -00128                        { RW, uint32, sizeof (UNS32), (void*)&TestMaster_obj1016[0] }
    -00129                      };
    -00130 
    -00131 /* index 0x1017 :   Producer Heartbeat Time */ 
    -00132                     UNS16 TestMaster_obj1017 = 0x0;   /* 0 */
    -00133 
    -00134 /* index 0x1018 :   Identity. */
    -00135                     UNS8 TestMaster_highestSubIndex_obj1018 = 4; /* number of subindex - 1*/
    -00136                     UNS32 TestMaster_obj1018_Vendor_ID = 0x0;   /* 0 */
    -00137                     UNS32 TestMaster_obj1018_Product_Code = 0x0;        /* 0 */
    -00138                     UNS32 TestMaster_obj1018_Revision_Number = 0x0;     /* 0 */
    -00139                     UNS32 TestMaster_obj1018_Serial_Number = 0x0;       /* 0 */
    -00140                     subindex TestMaster_Index1018[] = 
    -00141                      {
    -00142                        { RO, uint8, sizeof (UNS8), (void*)&TestMaster_highestSubIndex_obj1018 },
    -00143                        { RO, uint32, sizeof (UNS32), (void*)&TestMaster_obj1018_Vendor_ID },
    -00144                        { RO, uint32, sizeof (UNS32), (void*)&TestMaster_obj1018_Product_Code },
    -00145                        { RO, uint32, sizeof (UNS32), (void*)&TestMaster_obj1018_Revision_Number },
    -00146                        { RO, uint32, sizeof (UNS32), (void*)&TestMaster_obj1018_Serial_Number }
    -00147                      };
    -00148 
    -00149 /* index 0x1280 :   Client SDO 1 Parameter. */
    -00150                     UNS8 TestMaster_highestSubIndex_obj1280 = 3; /* number of subindex - 1*/
    -00151                     UNS32 TestMaster_obj1280_COB_ID_Client_to_Server_Transmit_SDO = 0x602;      /* 1538 */
    -00152                     UNS32 TestMaster_obj1280_COB_ID_Server_to_Client_Receive_SDO = 0x582;       /* 1410 */
    -00153                     INTEGER32 TestMaster_obj1280_Node_ID_of_the_SDO_Server = 0x2;       /* 2 */
    -00154                     subindex TestMaster_Index1280[] = 
    -00155                      {
    -00156                        { RO, uint8, sizeof (UNS8), (void*)&TestMaster_highestSubIndex_obj1280 },
    -00157                        { RW, uint32, sizeof (UNS32), (void*)&TestMaster_obj1280_COB_ID_Client_to_Server_Transmit_SDO },
    -00158                        { RW, uint32, sizeof (UNS32), (void*)&TestMaster_obj1280_COB_ID_Server_to_Client_Receive_SDO },
    -00159                        { RW, int32, sizeof (INTEGER32), (void*)&TestMaster_obj1280_Node_ID_of_the_SDO_Server }
    -00160                      };
    -00161 
    -00162 /* index 0x1400 :   Receive PDO 1 Parameter. */
    -00163                     UNS8 TestMaster_highestSubIndex_obj1400 = 5; /* number of subindex - 1*/
    -00164                     UNS32 TestMaster_obj1400_COB_ID_used_by_PDO = 0x182;        /* 386 */
    -00165                     UNS8 TestMaster_obj1400_Transmission_Type = 0x1;    /* 1 */
    -00166                     UNS16 TestMaster_obj1400_Inhibit_Time = 0x0;        /* 0 */
    -00167                     UNS8 TestMaster_obj1400_Compatibility_Entry = 0x0;  /* 0 */
    -00168                     UNS16 TestMaster_obj1400_Event_Timer = 0x0; /* 0 */
    -00169                     subindex TestMaster_Index1400[] = 
    -00170                      {
    -00171                        { RO, uint8, sizeof (UNS8), (void*)&TestMaster_highestSubIndex_obj1400 },
    -00172                        { RW, uint32, sizeof (UNS32), (void*)&TestMaster_obj1400_COB_ID_used_by_PDO },
    -00173                        { RW, uint8, sizeof (UNS8), (void*)&TestMaster_obj1400_Transmission_Type },
    -00174                        { RW, uint16, sizeof (UNS16), (void*)&TestMaster_obj1400_Inhibit_Time },
    -00175                        { RW, uint8, sizeof (UNS8), (void*)&TestMaster_obj1400_Compatibility_Entry },
    -00176                        { RW, uint16, sizeof (UNS16), (void*)&TestMaster_obj1400_Event_Timer }
    -00177                      };
    -00178 
    -00179 /* index 0x1401 :   Receive PDO 2 Parameter. */
    -00180                     UNS8 TestMaster_highestSubIndex_obj1401 = 5; /* number of subindex - 1*/
    -00181                     UNS32 TestMaster_obj1401_COB_ID_used_by_PDO = 0x0;  /* 0 */
    -00182                     UNS8 TestMaster_obj1401_Transmission_Type = 0x0;    /* 0 */
    -00183                     UNS16 TestMaster_obj1401_Inhibit_Time = 0x0;        /* 0 */
    -00184                     UNS8 TestMaster_obj1401_Compatibility_Entry = 0x0;  /* 0 */
    -00185                     UNS16 TestMaster_obj1401_Event_Timer = 0x0; /* 0 */
    -00186                     subindex TestMaster_Index1401[] = 
    -00187                      {
    -00188                        { RO, uint8, sizeof (UNS8), (void*)&TestMaster_highestSubIndex_obj1401 },
    -00189                        { RW, uint32, sizeof (UNS32), (void*)&TestMaster_obj1401_COB_ID_used_by_PDO },
    -00190                        { RW, uint8, sizeof (UNS8), (void*)&TestMaster_obj1401_Transmission_Type },
    -00191                        { RW, uint16, sizeof (UNS16), (void*)&TestMaster_obj1401_Inhibit_Time },
    -00192                        { RW, uint8, sizeof (UNS8), (void*)&TestMaster_obj1401_Compatibility_Entry },
    -00193                        { RW, uint16, sizeof (UNS16), (void*)&TestMaster_obj1401_Event_Timer }
    -00194                      };
    -00195 
    -00196 /* index 0x1600 :   Receive PDO 1 Mapping. */
    -00197                     UNS8 TestMaster_highestSubIndex_obj1600 = 10; /* number of subindex - 1*/
    -00198                     UNS32 TestMaster_obj1600[] = 
    -00199                     {
    -00200                       0x20000001,       /* 536870913 */
    -00201                       0x20010001,       /* 536936449 */
    -00202                       0x20020001,       /* 537001985 */
    -00203                       0x20030001,       /* 537067521 */
    -00204                       0x20040001,       /* 537133057 */
    -00205                       0x20050001,       /* 537198593 */
    -00206                       0x20060001,       /* 537264129 */
    -00207                       0x20070001,       /* 537329665 */
    -00208                       0x20080008,       /* 537395208 */
    -00209                       0x20090020        /* 537460768 */
    -00210                     };
    -00211                     subindex TestMaster_Index1600[] = 
    -00212                      {
    -00213                        { RW, uint8, sizeof (UNS8), (void*)&TestMaster_highestSubIndex_obj1600 },
    -00214                        { RW, uint32, sizeof (UNS32), (void*)&TestMaster_obj1600[0] },
    -00215                        { RW, uint32, sizeof (UNS32), (void*)&TestMaster_obj1600[1] },
    -00216                        { RW, uint32, sizeof (UNS32), (void*)&TestMaster_obj1600[2] },
    -00217                        { RW, uint32, sizeof (UNS32), (void*)&TestMaster_obj1600[3] },
    -00218                        { RW, uint32, sizeof (UNS32), (void*)&TestMaster_obj1600[4] },
    -00219                        { RW, uint32, sizeof (UNS32), (void*)&TestMaster_obj1600[5] },
    -00220                        { RW, uint32, sizeof (UNS32), (void*)&TestMaster_obj1600[6] },
    -00221                        { RW, uint32, sizeof (UNS32), (void*)&TestMaster_obj1600[7] },
    -00222                        { RW, uint32, sizeof (UNS32), (void*)&TestMaster_obj1600[8] },
    -00223                        { RW, uint32, sizeof (UNS32), (void*)&TestMaster_obj1600[9] }
    -00224                      };
    -00225 
    -00226 /* index 0x1601 :   Receive PDO 2 Mapping. */
    -00227                     UNS8 TestMaster_highestSubIndex_obj1601 = 1; /* number of subindex - 1*/
    -00228                     UNS32 TestMaster_obj1601[] = 
    -00229                     {
    -00230                       0x200A0010        /* 537526288 */
    -00231                     };
    -00232                     subindex TestMaster_Index1601[] = 
    -00233                      {
    -00234                        { RW, uint8, sizeof (UNS8), (void*)&TestMaster_highestSubIndex_obj1601 },
    -00235                        { RW, uint32, sizeof (UNS32), (void*)&TestMaster_obj1601[0] }
    -00236                      };
    -00237 
    -00238 /* index 0x1F22 :   Concise DCF. */
    -00239                     UNS8 TestMaster_highestSubIndex_obj1F22 = 2; /* number of subindex - 1*/
    -00240                     UNS8* TestMaster_obj1F22[] = 
    -00241                     {
    -00242                       "",
    -00243                       "\x01\x00\x00\x00\x17\x10\x00\x02\x00\x00\x00\xe8\x03"
    -00244                     };
    -00245                     subindex TestMaster_Index1F22[] = 
    -00246                      {
    -00247                        { RO, uint8, sizeof (UNS8), (void*)&TestMaster_highestSubIndex_obj1F22 },
    -00248                        { RW, domain, 0, (void*)&TestMaster_obj1F22[0] },
    -00249                        { RW, domain, 13, (void*)&TestMaster_obj1F22[1] }
    -00250                      };
    -00251 
    -00252 /* index 0x2000 :   Mapped variable MasterMap1 */
    -00253                     subindex TestMaster_Index2000[] = 
    -00254                      {
    -00255                        { RW, boolean, sizeof (UNS8), (void*)&MasterMap1 }
    -00256                      };
    -00257 
    -00258 /* index 0x2001 :   Mapped variable MasterMap2 */
    -00259                     subindex TestMaster_Index2001[] = 
    -00260                      {
    -00261                        { RW, boolean, sizeof (UNS8), (void*)&MasterMap2 }
    -00262                      };
    -00263 
    -00264 /* index 0x2002 :   Mapped variable MasterMap3 */
    -00265                     subindex TestMaster_Index2002[] = 
    -00266                      {
    -00267                        { RW, boolean, sizeof (UNS8), (void*)&MasterMap3 }
    -00268                      };
    -00269 
    -00270 /* index 0x2003 :   Mapped variable MasterMap4 */
    -00271                     subindex TestMaster_Index2003[] = 
    -00272                      {
    -00273                        { RW, boolean, sizeof (UNS8), (void*)&MasterMap4 }
    -00274                      };
    -00275 
    -00276 /* index 0x2004 :   Mapped variable MasterMap5 */
    -00277                     subindex TestMaster_Index2004[] = 
    -00278                      {
    -00279                        { RW, boolean, sizeof (UNS8), (void*)&MasterMap5 }
    -00280                      };
    -00281 
    -00282 /* index 0x2005 :   Mapped variable MasterMap6 */
    -00283                     subindex TestMaster_Index2005[] = 
    -00284                      {
    -00285                        { RW, boolean, sizeof (UNS8), (void*)&MasterMap6 }
    -00286                      };
    -00287 
    -00288 /* index 0x2006 :   Mapped variable MasterMap7 */
    -00289                     subindex TestMaster_Index2006[] = 
    -00290                      {
    -00291                        { RW, boolean, sizeof (UNS8), (void*)&MasterMap7 }
    -00292                      };
    -00293 
    -00294 /* index 0x2007 :   Mapped variable MasterMap8 */
    -00295                     subindex TestMaster_Index2007[] = 
    -00296                      {
    -00297                        { RW, boolean, sizeof (UNS8), (void*)&MasterMap8 }
    -00298                      };
    -00299 
    -00300 /* index 0x2008 :   Mapped variable MasterMap9 */
    -00301                     subindex TestMaster_Index2008[] = 
    -00302                      {
    -00303                        { RW, uint8, sizeof (UNS8), (void*)&MasterMap9 }
    -00304                      };
    -00305 
    -00306 /* index 0x2009 :   Mapped variable MasterMap10 */
    -00307                     subindex TestMaster_Index2009[] = 
    -00308                      {
    -00309                        { RW, uint32, sizeof (UNS32), (void*)&MasterMap10 }
    +00050                                OBJECT DICTIONARY
    +00051 
    +00052 $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
    +00053 */
    +00054 
    +00055 /* index 0x1000 :   Device Type. */
    +00056                     UNS32 TestMaster_obj1000 = 0x12D;   /* 301 */
    +00057                     subindex TestMaster_Index1000[] = 
    +00058                      {
    +00059                        { RO, uint32, sizeof (UNS32), (void*)&TestMaster_obj1000 }
    +00060                      };
    +00061 
    +00062 /* index 0x1001 :   Error Register. */
    +00063                     UNS8 TestMaster_obj1001 = 0x0;      /* 0 */
    +00064                     subindex TestMaster_Index1001[] = 
    +00065                      {
    +00066                        { RO, uint8, sizeof (UNS8), (void*)&TestMaster_obj1001 }
    +00067                      };
    +00068 
    +00069 /* index 0x1005 :   SYNC COB ID. */
    +00070                     UNS32 TestMaster_obj1005 = 0x40000080;      /* 1073741952 */
    +00071                     ODCallback_t TestMaster_Index1005_callbacks[] = 
    +00072                      {
    +00073                        NULL,
    +00074                      };
    +00075                     subindex TestMaster_Index1005[] = 
    +00076                      {
    +00077                        { RW, uint32, sizeof (UNS32), (void*)&TestMaster_obj1005 }
    +00078                      };
    +00079 
    +00080 /* index 0x1006 :   Communication / Cycle Period. */
    +00081                     UNS32 TestMaster_obj1006 = 0xC350;  /* 50000 */
    +00082                     ODCallback_t TestMaster_Index1006_callbacks[] = 
    +00083                      {
    +00084                        NULL,
    +00085                      };
    +00086                     subindex TestMaster_Index1006[] = 
    +00087                      {
    +00088                        { RW, uint32, sizeof (UNS32), (void*)&TestMaster_obj1006 }
    +00089                      };
    +00090 
    +00091 /* index 0x1010 :   Store parameters. */
    +00092                     UNS8 TestMaster_highestSubIndex_obj1010 = 4; /* number of subindex - 1*/
    +00093                     UNS32 TestMaster_obj1010_Save_All_Parameters = 0x0; /* 0 */
    +00094                     UNS32 TestMaster_obj1010_Save_Communication_Parameters = 0x0;       /* 0 */
    +00095                     UNS32 TestMaster_obj1010_Save_Application_Parameters = 0x0; /* 0 */
    +00096                     UNS32 TestMaster_obj1010_Save_Manufacturer_Parameters = 0x0;        /* 0 */
    +00097                     subindex TestMaster_Index1010[] = 
    +00098                      {
    +00099                        { RO, uint8, sizeof (UNS8), (void*)&TestMaster_highestSubIndex_obj1010 },
    +00100                        { RW, uint32, sizeof (UNS32), (void*)&TestMaster_obj1010_Save_All_Parameters },
    +00101                        { RW, uint32, sizeof (UNS32), (void*)&TestMaster_obj1010_Save_Communication_Parameters },
    +00102                        { RW, uint32, sizeof (UNS32), (void*)&TestMaster_obj1010_Save_Application_Parameters },
    +00103                        { RW, uint32, sizeof (UNS32), (void*)&TestMaster_obj1010_Save_Manufacturer_Parameters }
    +00104                      };
    +00105 
    +00106 /* index 0x1011 :   Restore Default Parameters. */
    +00107                     UNS8 TestMaster_highestSubIndex_obj1011 = 4; /* number of subindex - 1*/
    +00108                     UNS32 TestMaster_obj1011_Restore_All_Default_Parameters = 0x0;      /* 0 */
    +00109                     UNS32 TestMaster_obj1011_Restore_Communication_Default_Parameters = 0x0;    /* 0 */
    +00110                     UNS32 TestMaster_obj1011_Restore_Application_Default_Parameters = 0x0;      /* 0 */
    +00111                     UNS32 TestMaster_obj1011_Restore_Manufacturer_Default_Parameters = 0x0;     /* 0 */
    +00112                     subindex TestMaster_Index1011[] = 
    +00113                      {
    +00114                        { RO, uint8, sizeof (UNS8), (void*)&TestMaster_highestSubIndex_obj1011 },
    +00115                        { RW, uint32, sizeof (UNS32), (void*)&TestMaster_obj1011_Restore_All_Default_Parameters },
    +00116                        { RW, uint32, sizeof (UNS32), (void*)&TestMaster_obj1011_Restore_Communication_Default_Parameters },
    +00117                        { RW, uint32, sizeof (UNS32), (void*)&TestMaster_obj1011_Restore_Application_Default_Parameters },
    +00118                        { RW, uint32, sizeof (UNS32), (void*)&TestMaster_obj1011_Restore_Manufacturer_Default_Parameters }
    +00119                      };
    +00120 
    +00121 /* index 0x1016 :   Consumer Heartbeat Time. */
    +00122                     UNS8 TestMaster_highestSubIndex_obj1016 = 1; /* number of subindex - 1*/
    +00123                     UNS32 TestMaster_obj1016[] = 
    +00124                     {
    +00125                       0x205DC   /* 132572 */
    +00126                     };
    +00127                     subindex TestMaster_Index1016[] = 
    +00128                      {
    +00129                        { RO, uint8, sizeof (UNS8), (void*)&TestMaster_highestSubIndex_obj1016 },
    +00130                        { RW, uint32, sizeof (UNS32), (void*)&TestMaster_obj1016[0] }
    +00131                      };
    +00132 
    +00133 /* index 0x1017 :   Producer Heartbeat Time */ 
    +00134                     UNS16 TestMaster_obj1017 = 0x0;   /* 0 */
    +00135 
    +00136 /* index 0x1018 :   Identity. */
    +00137                     UNS8 TestMaster_highestSubIndex_obj1018 = 4; /* number of subindex - 1*/
    +00138                     UNS32 TestMaster_obj1018_Vendor_ID = 0x0;   /* 0 */
    +00139                     UNS32 TestMaster_obj1018_Product_Code = 0x0;        /* 0 */
    +00140                     UNS32 TestMaster_obj1018_Revision_Number = 0x0;     /* 0 */
    +00141                     UNS32 TestMaster_obj1018_Serial_Number = 0x0;       /* 0 */
    +00142                     subindex TestMaster_Index1018[] = 
    +00143                      {
    +00144                        { RO, uint8, sizeof (UNS8), (void*)&TestMaster_highestSubIndex_obj1018 },
    +00145                        { RO, uint32, sizeof (UNS32), (void*)&TestMaster_obj1018_Vendor_ID },
    +00146                        { RO, uint32, sizeof (UNS32), (void*)&TestMaster_obj1018_Product_Code },
    +00147                        { RO, uint32, sizeof (UNS32), (void*)&TestMaster_obj1018_Revision_Number },
    +00148                        { RO, uint32, sizeof (UNS32), (void*)&TestMaster_obj1018_Serial_Number }
    +00149                      };
    +00150 
    +00151 /* index 0x1280 :   Client SDO 1 Parameter. */
    +00152                     UNS8 TestMaster_highestSubIndex_obj1280 = 3; /* number of subindex - 1*/
    +00153                     UNS32 TestMaster_obj1280_COB_ID_Client_to_Server_Transmit_SDO = 0x602;      /* 1538 */
    +00154                     UNS32 TestMaster_obj1280_COB_ID_Server_to_Client_Receive_SDO = 0x582;       /* 1410 */
    +00155                     INTEGER32 TestMaster_obj1280_Node_ID_of_the_SDO_Server = 0x2;       /* 2 */
    +00156                     subindex TestMaster_Index1280[] = 
    +00157                      {
    +00158                        { RO, uint8, sizeof (UNS8), (void*)&TestMaster_highestSubIndex_obj1280 },
    +00159                        { RW, uint32, sizeof (UNS32), (void*)&TestMaster_obj1280_COB_ID_Client_to_Server_Transmit_SDO },
    +00160                        { RW, uint32, sizeof (UNS32), (void*)&TestMaster_obj1280_COB_ID_Server_to_Client_Receive_SDO },
    +00161                        { RW, int32, sizeof (INTEGER32), (void*)&TestMaster_obj1280_Node_ID_of_the_SDO_Server }
    +00162                      };
    +00163 
    +00164 /* index 0x1400 :   Receive PDO 1 Parameter. */
    +00165                     UNS8 TestMaster_highestSubIndex_obj1400 = 5; /* number of subindex - 1*/
    +00166                     UNS32 TestMaster_obj1400_COB_ID_used_by_PDO = 0x200;        /* 512 */
    +00167                     UNS8 TestMaster_obj1400_Transmission_Type = 0x1;    /* 1 */
    +00168                     UNS16 TestMaster_obj1400_Inhibit_Time = 0x0;        /* 0 */
    +00169                     UNS8 TestMaster_obj1400_Compatibility_Entry = 0x0;  /* 0 */
    +00170                     UNS16 TestMaster_obj1400_Event_Timer = 0x0; /* 0 */
    +00171                     subindex TestMaster_Index1400[] = 
    +00172                      {
    +00173                        { RO, uint8, sizeof (UNS8), (void*)&TestMaster_highestSubIndex_obj1400 },
    +00174                        { RW, uint32, sizeof (UNS32), (void*)&TestMaster_obj1400_COB_ID_used_by_PDO },
    +00175                        { RW, uint8, sizeof (UNS8), (void*)&TestMaster_obj1400_Transmission_Type },
    +00176                        { RW, uint16, sizeof (UNS16), (void*)&TestMaster_obj1400_Inhibit_Time },
    +00177                        { RW, uint8, sizeof (UNS8), (void*)&TestMaster_obj1400_Compatibility_Entry },
    +00178                        { RW, uint16, sizeof (UNS16), (void*)&TestMaster_obj1400_Event_Timer }
    +00179                      };
    +00180 
    +00181 /* index 0x1401 :   Receive PDO 2 Parameter. */
    +00182                     UNS8 TestMaster_highestSubIndex_obj1401 = 5; /* number of subindex - 1*/
    +00183                     UNS32 TestMaster_obj1401_COB_ID_used_by_PDO = 0x300;        /* 768 */
    +00184                     UNS8 TestMaster_obj1401_Transmission_Type = 0x0;    /* 0 */
    +00185                     UNS16 TestMaster_obj1401_Inhibit_Time = 0x0;        /* 0 */
    +00186                     UNS8 TestMaster_obj1401_Compatibility_Entry = 0x0;  /* 0 */
    +00187                     UNS16 TestMaster_obj1401_Event_Timer = 0x0; /* 0 */
    +00188                     subindex TestMaster_Index1401[] = 
    +00189                      {
    +00190                        { RO, uint8, sizeof (UNS8), (void*)&TestMaster_highestSubIndex_obj1401 },
    +00191                        { RW, uint32, sizeof (UNS32), (void*)&TestMaster_obj1401_COB_ID_used_by_PDO },
    +00192                        { RW, uint8, sizeof (UNS8), (void*)&TestMaster_obj1401_Transmission_Type },
    +00193                        { RW, uint16, sizeof (UNS16), (void*)&TestMaster_obj1401_Inhibit_Time },
    +00194                        { RW, uint8, sizeof (UNS8), (void*)&TestMaster_obj1401_Compatibility_Entry },
    +00195                        { RW, uint16, sizeof (UNS16), (void*)&TestMaster_obj1401_Event_Timer }
    +00196                      };
    +00197 
    +00198 /* index 0x1402 :   Receive PDO 3 Parameter. */
    +00199                     UNS8 TestMaster_highestSubIndex_obj1402 = 5; /* number of subindex - 1*/
    +00200                     UNS32 TestMaster_obj1402_COB_ID_used_by_PDO = 0x401;        /* 1025 */
    +00201                     UNS8 TestMaster_obj1402_Transmission_Type = 0x0;    /* 0 */
    +00202                     UNS16 TestMaster_obj1402_Inhibit_Time = 0x0;        /* 0 */
    +00203                     UNS8 TestMaster_obj1402_Compatibility_Entry = 0x0;  /* 0 */
    +00204                     UNS16 TestMaster_obj1402_Event_Timer = 0x0; /* 0 */
    +00205                     subindex TestMaster_Index1402[] = 
    +00206                      {
    +00207                        { RO, uint8, sizeof (UNS8), (void*)&TestMaster_highestSubIndex_obj1402 },
    +00208                        { RW, uint32, sizeof (UNS32), (void*)&TestMaster_obj1402_COB_ID_used_by_PDO },
    +00209                        { RW, uint8, sizeof (UNS8), (void*)&TestMaster_obj1402_Transmission_Type },
    +00210                        { RW, uint16, sizeof (UNS16), (void*)&TestMaster_obj1402_Inhibit_Time },
    +00211                        { RW, uint8, sizeof (UNS8), (void*)&TestMaster_obj1402_Compatibility_Entry },
    +00212                        { RW, uint16, sizeof (UNS16), (void*)&TestMaster_obj1402_Event_Timer }
    +00213                      };
    +00214 
    +00215 /* index 0x1403 :   Receive PDO 4 Parameter. */
    +00216                     UNS8 TestMaster_highestSubIndex_obj1403 = 5; /* number of subindex - 1*/
    +00217                     UNS32 TestMaster_obj1403_COB_ID_used_by_PDO = 0x482;        /* 1154 */
    +00218                     UNS8 TestMaster_obj1403_Transmission_Type = 0x0;    /* 0 */
    +00219                     UNS16 TestMaster_obj1403_Inhibit_Time = 0x0;        /* 0 */
    +00220                     UNS8 TestMaster_obj1403_Compatibility_Entry = 0x0;  /* 0 */
    +00221                     UNS16 TestMaster_obj1403_Event_Timer = 0x0; /* 0 */
    +00222                     subindex TestMaster_Index1403[] = 
    +00223                      {
    +00224                        { RO, uint8, sizeof (UNS8), (void*)&TestMaster_highestSubIndex_obj1403 },
    +00225                        { RW, uint32, sizeof (UNS32), (void*)&TestMaster_obj1403_COB_ID_used_by_PDO },
    +00226                        { RW, uint8, sizeof (UNS8), (void*)&TestMaster_obj1403_Transmission_Type },
    +00227                        { RW, uint16, sizeof (UNS16), (void*)&TestMaster_obj1403_Inhibit_Time },
    +00228                        { RW, uint8, sizeof (UNS8), (void*)&TestMaster_obj1403_Compatibility_Entry },
    +00229                        { RW, uint16, sizeof (UNS16), (void*)&TestMaster_obj1403_Event_Timer }
    +00230                      };
    +00231 
    +00232 /* index 0x1600 :   Receive PDO 1 Mapping. */
    +00233                     UNS8 TestMaster_highestSubIndex_obj1600 = 10; /* number of subindex - 1*/
    +00234                     UNS32 TestMaster_obj1600[] = 
    +00235                     {
    +00236                       0x20000001,       /* 536870913 */
    +00237                       0x20010001,       /* 536936449 */
    +00238                       0x20020001,       /* 537001985 */
    +00239                       0x20030001,       /* 537067521 */
    +00240                       0x20040001,       /* 537133057 */
    +00241                       0x20050001,       /* 537198593 */
    +00242                       0x20060001,       /* 537264129 */
    +00243                       0x20070001,       /* 537329665 */
    +00244                       0x20080008,       /* 537395208 */
    +00245                       0x20090020        /* 537460768 */
    +00246                     };
    +00247                     subindex TestMaster_Index1600[] = 
    +00248                      {
    +00249                        { RW, uint8, sizeof (UNS8), (void*)&TestMaster_highestSubIndex_obj1600 },
    +00250                        { RW, uint32, sizeof (UNS32), (void*)&TestMaster_obj1600[0] },
    +00251                        { RW, uint32, sizeof (UNS32), (void*)&TestMaster_obj1600[1] },
    +00252                        { RW, uint32, sizeof (UNS32), (void*)&TestMaster_obj1600[2] },
    +00253                        { RW, uint32, sizeof (UNS32), (void*)&TestMaster_obj1600[3] },
    +00254                        { RW, uint32, sizeof (UNS32), (void*)&TestMaster_obj1600[4] },
    +00255                        { RW, uint32, sizeof (UNS32), (void*)&TestMaster_obj1600[5] },
    +00256                        { RW, uint32, sizeof (UNS32), (void*)&TestMaster_obj1600[6] },
    +00257                        { RW, uint32, sizeof (UNS32), (void*)&TestMaster_obj1600[7] },
    +00258                        { RW, uint32, sizeof (UNS32), (void*)&TestMaster_obj1600[8] },
    +00259                        { RW, uint32, sizeof (UNS32), (void*)&TestMaster_obj1600[9] }
    +00260                      };
    +00261 
    +00262 /* index 0x1601 :   Receive PDO 2 Mapping. */
    +00263                     UNS8 TestMaster_highestSubIndex_obj1601 = 1; /* number of subindex - 1*/
    +00264                     UNS32 TestMaster_obj1601[] = 
    +00265                     {
    +00266                       0x200A0010        /* 537526288 */
    +00267                     };
    +00268                     subindex TestMaster_Index1601[] = 
    +00269                      {
    +00270                        { RW, uint8, sizeof (UNS8), (void*)&TestMaster_highestSubIndex_obj1601 },
    +00271                        { RW, uint32, sizeof (UNS32), (void*)&TestMaster_obj1601[0] }
    +00272                      };
    +00273 
    +00274 /* index 0x1602 :   Receive PDO 3 Mapping. */
    +00275                     UNS8 TestMaster_highestSubIndex_obj1602 = 1; /* number of subindex - 1*/
    +00276                     UNS32 TestMaster_obj1602[] = 
    +00277                     {
    +00278                       0x200B0010        /* 537591824 */
    +00279                     };
    +00280                     subindex TestMaster_Index1602[] = 
    +00281                      {
    +00282                        { RW, uint8, sizeof (UNS8), (void*)&TestMaster_highestSubIndex_obj1602 },
    +00283                        { RW, uint32, sizeof (UNS32), (void*)&TestMaster_obj1602[0] }
    +00284                      };
    +00285 
    +00286 /* index 0x1603 :   Receive PDO 4 Mapping. */
    +00287                     UNS8 TestMaster_highestSubIndex_obj1603 = 1; /* number of subindex - 1*/
    +00288                     UNS32 TestMaster_obj1603[] = 
    +00289                     {
    +00290                       0x200C0010        /* 537657360 */
    +00291                     };
    +00292                     subindex TestMaster_Index1603[] = 
    +00293                      {
    +00294                        { RW, uint8, sizeof (UNS8), (void*)&TestMaster_highestSubIndex_obj1603 },
    +00295                        { RW, uint32, sizeof (UNS32), (void*)&TestMaster_obj1603[0] }
    +00296                      };
    +00297 
    +00298 /* index 0x1F22 :   Concise DCF. */
    +00299                     UNS8 TestMaster_highestSubIndex_obj1F22 = 2; /* number of subindex - 1*/
    +00300                     UNS8* TestMaster_obj1F22[] = 
    +00301                     {
    +00302                       "",
    +00303                       "\x01\x00\x00\x00\x17\x10\x00\x02\x00\x00\x00\xe8\x03"
    +00304                     };
    +00305                     subindex TestMaster_Index1F22[] = 
    +00306                      {
    +00307                        { RO, uint8, sizeof (UNS8), (void*)&TestMaster_highestSubIndex_obj1F22 },
    +00308                        { RW, domain, 0, (void*)&TestMaster_obj1F22[0] },
    +00309                        { RW, domain, 13, (void*)&TestMaster_obj1F22[1] }
     00310                      };
     00311 
    -00312 /* index 0x200A :   Mapped variable MasterMap11 */
    -00313                     subindex TestMaster_Index200A[] = 
    +00312 /* index 0x2000 :   Mapped variable MasterMap1 */
    +00313                     subindex TestMaster_Index2000[] = 
     00314                      {
    -00315                        { RW, uint16, sizeof (UNS16), (void*)&MasterMap11 }
    +00315                        { RW, boolean, sizeof (UNS8), (void*)&MasterMap1 }
     00316                      };
     00317 
    -00318 const indextable TestMaster_objdict[] = 
    -00319 {
    -00320   { (subindex*)TestMaster_Index1000,sizeof(TestMaster_Index1000)/sizeof(TestMaster_Index1000[0]), 0x1000},
    -00321   { (subindex*)TestMaster_Index1001,sizeof(TestMaster_Index1001)/sizeof(TestMaster_Index1001[0]), 0x1001},
    -00322   { (subindex*)TestMaster_Index1005,sizeof(TestMaster_Index1005)/sizeof(TestMaster_Index1005[0]), 0x1005},
    -00323   { (subindex*)TestMaster_Index1006,sizeof(TestMaster_Index1006)/sizeof(TestMaster_Index1006[0]), 0x1006},
    -00324   { (subindex*)TestMaster_Index1010,sizeof(TestMaster_Index1010)/sizeof(TestMaster_Index1010[0]), 0x1010},
    -00325   { (subindex*)TestMaster_Index1011,sizeof(TestMaster_Index1011)/sizeof(TestMaster_Index1011[0]), 0x1011},
    -00326   { (subindex*)TestMaster_Index1016,sizeof(TestMaster_Index1016)/sizeof(TestMaster_Index1016[0]), 0x1016},
    -00327   { (subindex*)TestMaster_Index1018,sizeof(TestMaster_Index1018)/sizeof(TestMaster_Index1018[0]), 0x1018},
    -00328   { (subindex*)TestMaster_Index1280,sizeof(TestMaster_Index1280)/sizeof(TestMaster_Index1280[0]), 0x1280},
    -00329   { (subindex*)TestMaster_Index1400,sizeof(TestMaster_Index1400)/sizeof(TestMaster_Index1400[0]), 0x1400},
    -00330   { (subindex*)TestMaster_Index1401,sizeof(TestMaster_Index1401)/sizeof(TestMaster_Index1401[0]), 0x1401},
    -00331   { (subindex*)TestMaster_Index1600,sizeof(TestMaster_Index1600)/sizeof(TestMaster_Index1600[0]), 0x1600},
    -00332   { (subindex*)TestMaster_Index1601,sizeof(TestMaster_Index1601)/sizeof(TestMaster_Index1601[0]), 0x1601},
    -00333   { (subindex*)TestMaster_Index1F22,sizeof(TestMaster_Index1F22)/sizeof(TestMaster_Index1F22[0]), 0x1F22},
    -00334   { (subindex*)TestMaster_Index2000,sizeof(TestMaster_Index2000)/sizeof(TestMaster_Index2000[0]), 0x2000},
    -00335   { (subindex*)TestMaster_Index2001,sizeof(TestMaster_Index2001)/sizeof(TestMaster_Index2001[0]), 0x2001},
    -00336   { (subindex*)TestMaster_Index2002,sizeof(TestMaster_Index2002)/sizeof(TestMaster_Index2002[0]), 0x2002},
    -00337   { (subindex*)TestMaster_Index2003,sizeof(TestMaster_Index2003)/sizeof(TestMaster_Index2003[0]), 0x2003},
    -00338   { (subindex*)TestMaster_Index2004,sizeof(TestMaster_Index2004)/sizeof(TestMaster_Index2004[0]), 0x2004},
    -00339   { (subindex*)TestMaster_Index2005,sizeof(TestMaster_Index2005)/sizeof(TestMaster_Index2005[0]), 0x2005},
    -00340   { (subindex*)TestMaster_Index2006,sizeof(TestMaster_Index2006)/sizeof(TestMaster_Index2006[0]), 0x2006},
    -00341   { (subindex*)TestMaster_Index2007,sizeof(TestMaster_Index2007)/sizeof(TestMaster_Index2007[0]), 0x2007},
    -00342   { (subindex*)TestMaster_Index2008,sizeof(TestMaster_Index2008)/sizeof(TestMaster_Index2008[0]), 0x2008},
    -00343   { (subindex*)TestMaster_Index2009,sizeof(TestMaster_Index2009)/sizeof(TestMaster_Index2009[0]), 0x2009},
    -00344   { (subindex*)TestMaster_Index200A,sizeof(TestMaster_Index200A)/sizeof(TestMaster_Index200A[0]), 0x200A},
    -00345 };
    -00346 
    -00347 const indextable * TestMaster_scanIndexOD (UNS16 wIndex, UNS32 * errorCode, ODCallback_t **callbacks)
    -00348 {
    -00349         int i;
    -00350         *callbacks = NULL;
    -00351         switch(wIndex){
    -00352                 case 0x1000: i = 0;break;
    -00353                 case 0x1001: i = 1;break;
    -00354                 case 0x1005: i = 2;*callbacks = TestMaster_Index1005_callbacks; break;
    -00355                 case 0x1006: i = 3;*callbacks = TestMaster_Index1006_callbacks; break;
    -00356                 case 0x1010: i = 4;break;
    -00357                 case 0x1011: i = 5;break;
    -00358                 case 0x1016: i = 6;break;
    -00359                 case 0x1018: i = 7;break;
    -00360                 case 0x1280: i = 8;break;
    -00361                 case 0x1400: i = 9;break;
    -00362                 case 0x1401: i = 10;break;
    -00363                 case 0x1600: i = 11;break;
    -00364                 case 0x1601: i = 12;break;
    -00365                 case 0x1F22: i = 13;break;
    -00366                 case 0x2000: i = 14;break;
    -00367                 case 0x2001: i = 15;break;
    -00368                 case 0x2002: i = 16;break;
    -00369                 case 0x2003: i = 17;break;
    -00370                 case 0x2004: i = 18;break;
    -00371                 case 0x2005: i = 19;break;
    -00372                 case 0x2006: i = 20;break;
    -00373                 case 0x2007: i = 21;break;
    -00374                 case 0x2008: i = 22;break;
    -00375                 case 0x2009: i = 23;break;
    -00376                 case 0x200A: i = 24;break;
    -00377                 default:
    -00378                         *errorCode = OD_NO_SUCH_OBJECT;
    -00379                         return NULL;
    -00380         }
    -00381         *errorCode = OD_SUCCESSFUL;
    -00382         return &TestMaster_objdict[i];
    -00383 }
    -00384 
    -00385 /* To count at which received SYNC a PDO must be sent.
    -00386  * Even if no pdoTransmit are defined, at least one entry is computed
    -00387  * for compilations issues.
    -00388  */
    -00389 UNS8 TestMaster_count_sync[1] = {0,};
    -00390 
    -00391 quick_index TestMaster_firstIndex = {
    -00392   0, /* SDO_SVR */
    -00393   8, /* SDO_CLT */
    -00394   9, /* PDO_RCV */
    -00395   11, /* PDO_RCV_MAP */
    -00396   0, /* PDO_TRS */
    -00397   0 /* PDO_TRS_MAP */
    -00398 };
    -00399 
    -00400 quick_index TestMaster_lastIndex = {
    -00401   0, /* SDO_SVR */
    -00402   8, /* SDO_CLT */
    -00403   10, /* PDO_RCV */
    -00404   12, /* PDO_RCV_MAP */
    -00405   0, /* PDO_TRS */
    -00406   0 /* PDO_TRS_MAP */
    -00407 };
    -00408 
    -00409 UNS16 TestMaster_ObjdictSize = sizeof(TestMaster_objdict)/sizeof(TestMaster_objdict[0]); 
    -00410 
    -00411 CO_Data TestMaster_Data = CANOPEN_NODE_DATA_INITIALIZER(TestMaster);
    -00412 
    -

    Generated on Fri Jun 8 08:51:39 2007 for CanFestival by  +00318 /* index 0x2001 : Mapped variable MasterMap2 */ +00319 subindex TestMaster_Index2001[] = +00320 { +00321 { RW, boolean, sizeof (UNS8), (void*)&MasterMap2 } +00322 }; +00323 +00324 /* index 0x2002 : Mapped variable MasterMap3 */ +00325 subindex TestMaster_Index2002[] = +00326 { +00327 { RW, boolean, sizeof (UNS8), (void*)&MasterMap3 } +00328 }; +00329 +00330 /* index 0x2003 : Mapped variable MasterMap4 */ +00331 subindex TestMaster_Index2003[] = +00332 { +00333 { RW, boolean, sizeof (UNS8), (void*)&MasterMap4 } +00334 }; +00335 +00336 /* index 0x2004 : Mapped variable MasterMap5 */ +00337 subindex TestMaster_Index2004[] = +00338 { +00339 { RW, boolean, sizeof (UNS8), (void*)&MasterMap5 } +00340 }; +00341 +00342 /* index 0x2005 : Mapped variable MasterMap6 */ +00343 subindex TestMaster_Index2005[] = +00344 { +00345 { RW, boolean, sizeof (UNS8), (void*)&MasterMap6 } +00346 }; +00347 +00348 /* index 0x2006 : Mapped variable MasterMap7 */ +00349 subindex TestMaster_Index2006[] = +00350 { +00351 { RW, boolean, sizeof (UNS8), (void*)&MasterMap7 } +00352 }; +00353 +00354 /* index 0x2007 : Mapped variable MasterMap8 */ +00355 subindex TestMaster_Index2007[] = +00356 { +00357 { RW, boolean, sizeof (UNS8), (void*)&MasterMap8 } +00358 }; +00359 +00360 /* index 0x2008 : Mapped variable MasterMap9 */ +00361 subindex TestMaster_Index2008[] = +00362 { +00363 { RW, uint8, sizeof (UNS8), (void*)&MasterMap9 } +00364 }; +00365 +00366 /* index 0x2009 : Mapped variable MasterMap10 */ +00367 subindex TestMaster_Index2009[] = +00368 { +00369 { RW, uint32, sizeof (UNS32), (void*)&MasterMap10 } +00370 }; +00371 +00372 /* index 0x200A : Mapped variable MasterMap11 */ +00373 subindex TestMaster_Index200A[] = +00374 { +00375 { RW, uint16, sizeof (UNS16), (void*)&MasterMap11 } +00376 }; +00377 +00378 /* index 0x200B : Mapped variable MasterMap12 */ +00379 subindex TestMaster_Index200B[] = +00380 { +00381 { RW, int16, sizeof (INTEGER16), (void*)&MasterMap12 } +00382 }; +00383 +00384 /* index 0x200C : Mapped variable MasterMap13 */ +00385 subindex TestMaster_Index200C[] = +00386 { +00387 { RW, int16, sizeof (INTEGER16), (void*)&MasterMap13 } +00388 }; +00389 +00390 const indextable TestMaster_objdict[] = +00391 { +00392 { (subindex*)TestMaster_Index1000,sizeof(TestMaster_Index1000)/sizeof(TestMaster_Index1000[0]), 0x1000}, +00393 { (subindex*)TestMaster_Index1001,sizeof(TestMaster_Index1001)/sizeof(TestMaster_Index1001[0]), 0x1001}, +00394 { (subindex*)TestMaster_Index1005,sizeof(TestMaster_Index1005)/sizeof(TestMaster_Index1005[0]), 0x1005}, +00395 { (subindex*)TestMaster_Index1006,sizeof(TestMaster_Index1006)/sizeof(TestMaster_Index1006[0]), 0x1006}, +00396 { (subindex*)TestMaster_Index1010,sizeof(TestMaster_Index1010)/sizeof(TestMaster_Index1010[0]), 0x1010}, +00397 { (subindex*)TestMaster_Index1011,sizeof(TestMaster_Index1011)/sizeof(TestMaster_Index1011[0]), 0x1011}, +00398 { (subindex*)TestMaster_Index1016,sizeof(TestMaster_Index1016)/sizeof(TestMaster_Index1016[0]), 0x1016}, +00399 { (subindex*)TestMaster_Index1018,sizeof(TestMaster_Index1018)/sizeof(TestMaster_Index1018[0]), 0x1018}, +00400 { (subindex*)TestMaster_Index1280,sizeof(TestMaster_Index1280)/sizeof(TestMaster_Index1280[0]), 0x1280}, +00401 { (subindex*)TestMaster_Index1400,sizeof(TestMaster_Index1400)/sizeof(TestMaster_Index1400[0]), 0x1400}, +00402 { (subindex*)TestMaster_Index1401,sizeof(TestMaster_Index1401)/sizeof(TestMaster_Index1401[0]), 0x1401}, +00403 { (subindex*)TestMaster_Index1402,sizeof(TestMaster_Index1402)/sizeof(TestMaster_Index1402[0]), 0x1402}, +00404 { (subindex*)TestMaster_Index1403,sizeof(TestMaster_Index1403)/sizeof(TestMaster_Index1403[0]), 0x1403}, +00405 { (subindex*)TestMaster_Index1600,sizeof(TestMaster_Index1600)/sizeof(TestMaster_Index1600[0]), 0x1600}, +00406 { (subindex*)TestMaster_Index1601,sizeof(TestMaster_Index1601)/sizeof(TestMaster_Index1601[0]), 0x1601}, +00407 { (subindex*)TestMaster_Index1602,sizeof(TestMaster_Index1602)/sizeof(TestMaster_Index1602[0]), 0x1602}, +00408 { (subindex*)TestMaster_Index1603,sizeof(TestMaster_Index1603)/sizeof(TestMaster_Index1603[0]), 0x1603}, +00409 { (subindex*)TestMaster_Index1F22,sizeof(TestMaster_Index1F22)/sizeof(TestMaster_Index1F22[0]), 0x1F22}, +00410 { (subindex*)TestMaster_Index2000,sizeof(TestMaster_Index2000)/sizeof(TestMaster_Index2000[0]), 0x2000}, +00411 { (subindex*)TestMaster_Index2001,sizeof(TestMaster_Index2001)/sizeof(TestMaster_Index2001[0]), 0x2001}, +00412 { (subindex*)TestMaster_Index2002,sizeof(TestMaster_Index2002)/sizeof(TestMaster_Index2002[0]), 0x2002}, +00413 { (subindex*)TestMaster_Index2003,sizeof(TestMaster_Index2003)/sizeof(TestMaster_Index2003[0]), 0x2003}, +00414 { (subindex*)TestMaster_Index2004,sizeof(TestMaster_Index2004)/sizeof(TestMaster_Index2004[0]), 0x2004}, +00415 { (subindex*)TestMaster_Index2005,sizeof(TestMaster_Index2005)/sizeof(TestMaster_Index2005[0]), 0x2005}, +00416 { (subindex*)TestMaster_Index2006,sizeof(TestMaster_Index2006)/sizeof(TestMaster_Index2006[0]), 0x2006}, +00417 { (subindex*)TestMaster_Index2007,sizeof(TestMaster_Index2007)/sizeof(TestMaster_Index2007[0]), 0x2007}, +00418 { (subindex*)TestMaster_Index2008,sizeof(TestMaster_Index2008)/sizeof(TestMaster_Index2008[0]), 0x2008}, +00419 { (subindex*)TestMaster_Index2009,sizeof(TestMaster_Index2009)/sizeof(TestMaster_Index2009[0]), 0x2009}, +00420 { (subindex*)TestMaster_Index200A,sizeof(TestMaster_Index200A)/sizeof(TestMaster_Index200A[0]), 0x200A}, +00421 { (subindex*)TestMaster_Index200B,sizeof(TestMaster_Index200B)/sizeof(TestMaster_Index200B[0]), 0x200B}, +00422 { (subindex*)TestMaster_Index200C,sizeof(TestMaster_Index200C)/sizeof(TestMaster_Index200C[0]), 0x200C}, +00423 }; +00424 +00425 const indextable * TestMaster_scanIndexOD (UNS16 wIndex, UNS32 * errorCode, ODCallback_t **callbacks) +00426 { +00427 int i; +00428 *callbacks = NULL; +00429 switch(wIndex){ +00430 case 0x1000: i = 0;break; +00431 case 0x1001: i = 1;break; +00432 case 0x1005: i = 2;*callbacks = TestMaster_Index1005_callbacks; break; +00433 case 0x1006: i = 3;*callbacks = TestMaster_Index1006_callbacks; break; +00434 case 0x1010: i = 4;break; +00435 case 0x1011: i = 5;break; +00436 case 0x1016: i = 6;break; +00437 case 0x1018: i = 7;break; +00438 case 0x1280: i = 8;break; +00439 case 0x1400: i = 9;break; +00440 case 0x1401: i = 10;break; +00441 case 0x1402: i = 11;break; +00442 case 0x1403: i = 12;break; +00443 case 0x1600: i = 13;break; +00444 case 0x1601: i = 14;break; +00445 case 0x1602: i = 15;break; +00446 case 0x1603: i = 16;break; +00447 case 0x1F22: i = 17;break; +00448 case 0x2000: i = 18;break; +00449 case 0x2001: i = 19;break; +00450 case 0x2002: i = 20;break; +00451 case 0x2003: i = 21;break; +00452 case 0x2004: i = 22;break; +00453 case 0x2005: i = 23;break; +00454 case 0x2006: i = 24;break; +00455 case 0x2007: i = 25;break; +00456 case 0x2008: i = 26;break; +00457 case 0x2009: i = 27;break; +00458 case 0x200A: i = 28;break; +00459 case 0x200B: i = 29;break; +00460 case 0x200C: i = 30;break; +00461 default: +00462 *errorCode = OD_NO_SUCH_OBJECT; +00463 return NULL; +00464 } +00465 *errorCode = OD_SUCCESSFUL; +00466 return &TestMaster_objdict[i]; +00467 } +00468 +00469 /* +00470 * To count at which received SYNC a PDO must be sent. +00471 * Even if no pdoTransmit are defined, at least one entry is computed +00472 * for compilations issues. +00473 */ +00474 s_PDO_status TestMaster_PDO_status[1] = {s_PDO_staus_Initializer}; +00475 +00476 quick_index TestMaster_firstIndex = { +00477 0, /* SDO_SVR */ +00478 8, /* SDO_CLT */ +00479 9, /* PDO_RCV */ +00480 13, /* PDO_RCV_MAP */ +00481 0, /* PDO_TRS */ +00482 0 /* PDO_TRS_MAP */ +00483 }; +00484 +00485 quick_index TestMaster_lastIndex = { +00486 0, /* SDO_SVR */ +00487 8, /* SDO_CLT */ +00488 12, /* PDO_RCV */ +00489 16, /* PDO_RCV_MAP */ +00490 0, /* PDO_TRS */ +00491 0 /* PDO_TRS_MAP */ +00492 }; +00493 +00494 UNS16 TestMaster_ObjdictSize = sizeof(TestMaster_objdict)/sizeof(TestMaster_objdict[0]); +00495 +00496 CO_Data TestMaster_Data = CANOPEN_NODE_DATA_INITIALIZER(TestMaster); +00497 +
    Generated on Mon Jul 2 19:10:16 2007 for CanFestival by  doxygen 1.5.1