00001
00002
00003
00004 #include "TestMaster.h"
00005
00006
00007
00008
00009 UNS8 MasterMap1 = 0x0;
00010 UNS8 MasterMap2 = 0x0;
00011 UNS8 MasterMap3 = 0x0;
00012 UNS8 MasterMap4 = 0x0;
00013 UNS8 MasterMap5 = 0x0;
00014 UNS8 MasterMap6 = 0x0;
00015 UNS8 MasterMap7 = 0x0;
00016 UNS8 MasterMap8 = 0x0;
00017 UNS8 MasterMap9 = 0x0;
00018 UNS32 MasterMap10 = 0x0;
00019 UNS16 MasterMap11 = 0x0;
00020 INTEGER16 MasterMap12 = 0x0;
00021 INTEGER16 MasterMap13 = 0x0;
00022
00023
00024
00025
00026
00027 UNS32 TestMaster_valueRangeTest (UNS8 typeValue, void * value)
00028 {
00029 switch (typeValue) {
00030 }
00031 return 0;
00032 }
00033
00034
00035
00036
00037
00038 UNS8 TestMaster_bDeviceNodeId = 0x00;
00039
00040
00041
00042
00043 const UNS8 TestMaster_iam_a_slave = 0;
00044
00045 TIMER_HANDLE TestMaster_heartBeatTimers[1] = {TIMER_NONE,};
00046
00047
00048
00049
00050
00051
00052
00053
00054
00055
00056 UNS32 TestMaster_obj1000 = 0x12D;
00057 subindex TestMaster_Index1000[] =
00058 {
00059 { RO, uint32, sizeof (UNS32), (void*)&TestMaster_obj1000 }
00060 };
00061
00062
00063 UNS8 TestMaster_obj1001 = 0x0;
00064 subindex TestMaster_Index1001[] =
00065 {
00066 { RO, uint8, sizeof (UNS8), (void*)&TestMaster_obj1001 }
00067 };
00068
00069
00070 UNS32 TestMaster_obj1005 = 0x40000080;
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
00081 UNS32 TestMaster_obj1006 = 0xC350;
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
00092 UNS8 TestMaster_highestSubIndex_obj1010 = 4;
00093 UNS32 TestMaster_obj1010_Save_All_Parameters = 0x0;
00094 UNS32 TestMaster_obj1010_Save_Communication_Parameters = 0x0;
00095 UNS32 TestMaster_obj1010_Save_Application_Parameters = 0x0;
00096 UNS32 TestMaster_obj1010_Save_Manufacturer_Parameters = 0x0;
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
00107 UNS8 TestMaster_highestSubIndex_obj1011 = 4;
00108 UNS32 TestMaster_obj1011_Restore_All_Default_Parameters = 0x0;
00109 UNS32 TestMaster_obj1011_Restore_Communication_Default_Parameters = 0x0;
00110 UNS32 TestMaster_obj1011_Restore_Application_Default_Parameters = 0x0;
00111 UNS32 TestMaster_obj1011_Restore_Manufacturer_Default_Parameters = 0x0;
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
00122 UNS8 TestMaster_highestSubIndex_obj1016 = 1;
00123 UNS32 TestMaster_obj1016[] =
00124 {
00125 0x205DC
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
00134 UNS16 TestMaster_obj1017 = 0x0;
00135
00136
00137 UNS8 TestMaster_highestSubIndex_obj1018 = 4;
00138 UNS32 TestMaster_obj1018_Vendor_ID = 0x0;
00139 UNS32 TestMaster_obj1018_Product_Code = 0x0;
00140 UNS32 TestMaster_obj1018_Revision_Number = 0x0;
00141 UNS32 TestMaster_obj1018_Serial_Number = 0x0;
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
00152 UNS8 TestMaster_highestSubIndex_obj1280 = 3;
00153 UNS32 TestMaster_obj1280_COB_ID_Client_to_Server_Transmit_SDO = 0x602;
00154 UNS32 TestMaster_obj1280_COB_ID_Server_to_Client_Receive_SDO = 0x582;
00155 INTEGER32 TestMaster_obj1280_Node_ID_of_the_SDO_Server = 0x2;
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
00165 UNS8 TestMaster_highestSubIndex_obj1400 = 5;
00166 UNS32 TestMaster_obj1400_COB_ID_used_by_PDO = 0x200;
00167 UNS8 TestMaster_obj1400_Transmission_Type = 0x1;
00168 UNS16 TestMaster_obj1400_Inhibit_Time = 0x0;
00169 UNS8 TestMaster_obj1400_Compatibility_Entry = 0x0;
00170 UNS16 TestMaster_obj1400_Event_Timer = 0x0;
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
00182 UNS8 TestMaster_highestSubIndex_obj1401 = 5;
00183 UNS32 TestMaster_obj1401_COB_ID_used_by_PDO = 0x300;
00184 UNS8 TestMaster_obj1401_Transmission_Type = 0x0;
00185 UNS16 TestMaster_obj1401_Inhibit_Time = 0x0;
00186 UNS8 TestMaster_obj1401_Compatibility_Entry = 0x0;
00187 UNS16 TestMaster_obj1401_Event_Timer = 0x0;
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
00199 UNS8 TestMaster_highestSubIndex_obj1402 = 5;
00200 UNS32 TestMaster_obj1402_COB_ID_used_by_PDO = 0x401;
00201 UNS8 TestMaster_obj1402_Transmission_Type = 0x0;
00202 UNS16 TestMaster_obj1402_Inhibit_Time = 0x0;
00203 UNS8 TestMaster_obj1402_Compatibility_Entry = 0x0;
00204 UNS16 TestMaster_obj1402_Event_Timer = 0x0;
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
00216 UNS8 TestMaster_highestSubIndex_obj1403 = 5;
00217 UNS32 TestMaster_obj1403_COB_ID_used_by_PDO = 0x482;
00218 UNS8 TestMaster_obj1403_Transmission_Type = 0x0;
00219 UNS16 TestMaster_obj1403_Inhibit_Time = 0x0;
00220 UNS8 TestMaster_obj1403_Compatibility_Entry = 0x0;
00221 UNS16 TestMaster_obj1403_Event_Timer = 0x0;
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
00233 UNS8 TestMaster_highestSubIndex_obj1600 = 10;
00234 UNS32 TestMaster_obj1600[] =
00235 {
00236 0x20000001,
00237 0x20010001,
00238 0x20020001,
00239 0x20030001,
00240 0x20040001,
00241 0x20050001,
00242 0x20060001,
00243 0x20070001,
00244 0x20080008,
00245 0x20090020
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
00263 UNS8 TestMaster_highestSubIndex_obj1601 = 1;
00264 UNS32 TestMaster_obj1601[] =
00265 {
00266 0x200A0010
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
00275 UNS8 TestMaster_highestSubIndex_obj1602 = 1;
00276 UNS32 TestMaster_obj1602[] =
00277 {
00278 0x200B0010
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
00287 UNS8 TestMaster_highestSubIndex_obj1603 = 1;
00288 UNS32 TestMaster_obj1603[] =
00289 {
00290 0x200C0010
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
00299 UNS8 TestMaster_highestSubIndex_obj1F22 = 2;
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
00313 subindex TestMaster_Index2000[] =
00314 {
00315 { RW, boolean, sizeof (UNS8), (void*)&MasterMap1 }
00316 };
00317
00318
00319 subindex TestMaster_Index2001[] =
00320 {
00321 { RW, boolean, sizeof (UNS8), (void*)&MasterMap2 }
00322 };
00323
00324
00325 subindex TestMaster_Index2002[] =
00326 {
00327 { RW, boolean, sizeof (UNS8), (void*)&MasterMap3 }
00328 };
00329
00330
00331 subindex TestMaster_Index2003[] =
00332 {
00333 { RW, boolean, sizeof (UNS8), (void*)&MasterMap4 }
00334 };
00335
00336
00337 subindex TestMaster_Index2004[] =
00338 {
00339 { RW, boolean, sizeof (UNS8), (void*)&MasterMap5 }
00340 };
00341
00342
00343 subindex TestMaster_Index2005[] =
00344 {
00345 { RW, boolean, sizeof (UNS8), (void*)&MasterMap6 }
00346 };
00347
00348
00349 subindex TestMaster_Index2006[] =
00350 {
00351 { RW, boolean, sizeof (UNS8), (void*)&MasterMap7 }
00352 };
00353
00354
00355 subindex TestMaster_Index2007[] =
00356 {
00357 { RW, boolean, sizeof (UNS8), (void*)&MasterMap8 }
00358 };
00359
00360
00361 subindex TestMaster_Index2008[] =
00362 {
00363 { RW, uint8, sizeof (UNS8), (void*)&MasterMap9 }
00364 };
00365
00366
00367 subindex TestMaster_Index2009[] =
00368 {
00369 { RW, uint32, sizeof (UNS32), (void*)&MasterMap10 }
00370 };
00371
00372
00373 subindex TestMaster_Index200A[] =
00374 {
00375 { RW, uint16, sizeof (UNS16), (void*)&MasterMap11 }
00376 };
00377
00378
00379 subindex TestMaster_Index200B[] =
00380 {
00381 { RW, int16, sizeof (INTEGER16), (void*)&MasterMap12 }
00382 };
00383
00384
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
00471
00472
00473
00474 s_PDO_status TestMaster_PDO_status[1] = {s_PDO_staus_Initializer};
00475
00476 quick_index TestMaster_firstIndex = {
00477 0,
00478 8,
00479 9,
00480 13,
00481 0,
00482 0
00483 };
00484
00485 quick_index TestMaster_lastIndex = {
00486 0,
00487 8,
00488 12,
00489 16,
00490 0,
00491 0
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