nico@215: nico@215: nico@215: CanFestival: examples/TestMasterMicroMod/TestMaster.c Source File nico@215: nico@215: nico@215: nico@215: nico@215:
nico@215:
nico@215:
nico@215:
nico@215: nico@215:

TestMaster.c

Go to the documentation of this file.
00001 
nico@215: 00002 /* File generated by gen_cfile.py. Should not be modified. */
nico@215: 00003 
nico@215: 00004 #include "TestMaster.h"
nico@215: 00005 
nico@215: 00006 /**************************************************************************/
nico@215: 00007 /* Declaration of the mapped variables                                    */
nico@215: 00008 /**************************************************************************/
etisserant@240: 00009 UNS8 DO = 0x0;          /* Mapped at index 0x2000, subindex 0x00 */
etisserant@240: 00010 UNS8 DI1 = 0x0;         /* Mapped at index 0x200F, subindex 0x00 */
etisserant@240: 00011 UNS8 DI2 = 0x0;         /* Mapped at index 0x2010, subindex 0x00 */
etisserant@240: 00012 UNS8 DI3 = 0x0;         /* Mapped at index 0x2011, subindex 0x00 */
etisserant@240: 00013 UNS8 DI4 = 0x0;         /* Mapped at index 0x2012, subindex 0x00 */
etisserant@240: 00014 UNS8 DI5 = 0x0;         /* Mapped at index 0x2013, subindex 0x00 */
etisserant@240: 00015 UNS8 DI6 = 0x0;         /* Mapped at index 0x2014, subindex 0x00 */
etisserant@240: 00016 UNS8 DI7 = 0x0;         /* Mapped at index 0x2015, subindex 0x00 */
etisserant@240: 00017 UNS8 DI8 = 0x0;         /* Mapped at index 0x2016, subindex 0x00 */
nico@215: 00018 
nico@215: 00019 /**************************************************************************/
nico@215: 00020 /* Declaration of the value range types                                   */
nico@215: 00021 /**************************************************************************/
nico@215: 00022 
etisserant@240: 00023 UNS32 TestMaster_valueRangeTest (UNS8 typeValue, void * value)
nico@215: 00024 {
nico@215: 00025   switch (typeValue) {
nico@215: 00026   }
nico@215: 00027   return 0;
nico@215: 00028 }
nico@215: 00029 
nico@215: 00030 /**************************************************************************/
nico@215: 00031 /* The node id                                                            */
nico@215: 00032 /**************************************************************************/
nico@215: 00033 /* node_id default value.*/
etisserant@240: 00034 UNS8 TestMaster_bDeviceNodeId = 0x01;
nico@215: 00035 
nico@215: 00036 /**************************************************************************/
nico@215: 00037 /* Array of message processing information */
nico@215: 00038 
etisserant@240: 00039 const UNS8 TestMaster_iam_a_slave = 0;
nico@215: 00040 
etisserant@240: 00041 TIMER_HANDLE TestMaster_heartBeatTimers[1] = {TIMER_NONE,};
nico@215: 00042 
nico@215: 00043 /*
nico@215: 00044 $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
nico@215: 00045 
nico@215: 00046                                OBJECT DICTIONARY
nico@215: 00047 
nico@215: 00048 $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
nico@215: 00049 */
nico@215: 00050 
nico@215: 00051 /* index 0x1000 :   Device Type. */
etisserant@240: 00052                     UNS32 TestMaster_obj1000 = 0x191;   /* 401 */
etisserant@240: 00053                     subindex TestMaster_Index1000[] = 
nico@215: 00054                      {
etisserant@240: 00055                        { RO, uint32, sizeof (UNS32), (void*)&TestMaster_obj1000 }
nico@215: 00056                      };
nico@215: 00057 
nico@215: 00058 /* index 0x1001 :   Error Register. */
etisserant@240: 00059                     UNS8 TestMaster_obj1001 = 0x0;      /* 0 */
etisserant@240: 00060                     subindex TestMaster_Index1001[] = 
nico@215: 00061                      {
etisserant@240: 00062                        { RO, uint8, sizeof (UNS8), (void*)&TestMaster_obj1001 }
nico@215: 00063                      };
nico@215: 00064 
nico@215: 00065 /* index 0x1005 :   SYNC COB ID. */
etisserant@240: 00066                     UNS32 TestMaster_obj1005 = 0x40000080;      /* 1073741952 */
etisserant@240: 00067                     ODCallback_t TestMaster_Index1005_callbacks[] = 
nico@215: 00068                      {
nico@215: 00069                        NULL,
nico@215: 00070                      };
etisserant@240: 00071                     subindex TestMaster_Index1005[] = 
nico@215: 00072                      {
etisserant@240: 00073                        { RW, uint32, sizeof (UNS32), (void*)&TestMaster_obj1005 }
nico@215: 00074                      };
nico@215: 00075 
nico@215: 00076 /* index 0x1006 :   Communication / Cycle Period. */
etisserant@240: 00077                     UNS32 TestMaster_obj1006 = 0xC350;  /* 50000 */
etisserant@240: 00078                     ODCallback_t TestMaster_Index1006_callbacks[] = 
nico@215: 00079                      {
nico@215: 00080                        NULL,
nico@215: 00081                      };
etisserant@240: 00082                     subindex TestMaster_Index1006[] = 
nico@215: 00083                      {
etisserant@240: 00084                        { RW, uint32, sizeof (UNS32), (void*)&TestMaster_obj1006 }
nico@215: 00085                      };
nico@215: 00086 
nico@215: 00087 /* index 0x1016 :   Consumer Heartbeat Time. */
etisserant@240: 00088                     UNS8 TestMaster_highestSubIndex_obj1016 = 1; /* number of subindex - 1*/
etisserant@240: 00089                     UNS32 TestMaster_obj1016[] = 
nico@215: 00090                     {
nico@215: 00091                       0x4005DC  /* 4195804 */
nico@215: 00092                     };
etisserant@240: 00093                     subindex TestMaster_Index1016[] = 
nico@215: 00094                      {
etisserant@240: 00095                        { RO, uint8, sizeof (UNS8), (void*)&TestMaster_highestSubIndex_obj1016 },
etisserant@240: 00096                        { RW, uint32, sizeof (UNS32), (void*)&TestMaster_obj1016[0] }
nico@215: 00097                      };
nico@215: 00098 
nico@215: 00099 /* index 0x1017 :   Producer Heartbeat Time */ 
etisserant@240: 00100                     UNS16 TestMaster_obj1017 = 0x0;   /* 0 */
nico@215: 00101 
nico@215: 00102 /* index 0x1018 :   Identity. */
etisserant@240: 00103                     UNS8 TestMaster_highestSubIndex_obj1018 = 4; /* number of subindex - 1*/
etisserant@240: 00104                     UNS32 TestMaster_obj1018_Vendor_ID = 0x0;   /* 0 */
etisserant@240: 00105                     UNS32 TestMaster_obj1018_Product_Code = 0x0;        /* 0 */
etisserant@240: 00106                     UNS32 TestMaster_obj1018_Revision_Number = 0x0;     /* 0 */
etisserant@240: 00107                     UNS32 TestMaster_obj1018_Serial_Number = 0x0;       /* 0 */
etisserant@240: 00108                     subindex TestMaster_Index1018[] = 
nico@215: 00109                      {
etisserant@240: 00110                        { RO, uint8, sizeof (UNS8), (void*)&TestMaster_highestSubIndex_obj1018 },
etisserant@240: 00111                        { RO, uint32, sizeof (UNS32), (void*)&TestMaster_obj1018_Vendor_ID },
etisserant@240: 00112                        { RO, uint32, sizeof (UNS32), (void*)&TestMaster_obj1018_Product_Code },
etisserant@240: 00113                        { RO, uint32, sizeof (UNS32), (void*)&TestMaster_obj1018_Revision_Number },
etisserant@240: 00114                        { RO, uint32, sizeof (UNS32), (void*)&TestMaster_obj1018_Serial_Number }
nico@215: 00115                      };
nico@215: 00116 
nico@215: 00117 /* index 0x1280 :   Client SDO 1 Parameter. */
etisserant@240: 00118                     UNS8 TestMaster_highestSubIndex_obj1280 = 3; /* number of subindex - 1*/
etisserant@240: 00119                     UNS32 TestMaster_obj1280_COB_ID_Client_to_Server_Transmit_SDO = 0x640;      /* 1600 */
etisserant@240: 00120                     UNS32 TestMaster_obj1280_COB_ID_Server_to_Client_Receive_SDO = 0x5C0;       /* 1472 */
etisserant@240: 00121                     INTEGER32 TestMaster_obj1280_Node_ID_of_the_SDO_Server = 0x40;      /* 64 */
etisserant@240: 00122                     subindex TestMaster_Index1280[] = 
nico@215: 00123                      {
etisserant@240: 00124                        { RO, uint8, sizeof (UNS8), (void*)&TestMaster_highestSubIndex_obj1280 },
etisserant@240: 00125                        { RW, uint32, sizeof (UNS32), (void*)&TestMaster_obj1280_COB_ID_Client_to_Server_Transmit_SDO },
etisserant@240: 00126                        { RW, uint32, sizeof (UNS32), (void*)&TestMaster_obj1280_COB_ID_Server_to_Client_Receive_SDO },
etisserant@240: 00127                        { RW, int32, sizeof (INTEGER32), (void*)&TestMaster_obj1280_Node_ID_of_the_SDO_Server }
nico@215: 00128                      };
nico@215: 00129 
nico@215: 00130 /* index 0x1400 :   Receive PDO 1 Parameter. */
etisserant@240: 00131                     UNS8 TestMaster_highestSubIndex_obj1400 = 5; /* number of subindex - 1*/
etisserant@240: 00132                     UNS32 TestMaster_obj1400_COB_ID_used_by_PDO = 0x1C0;        /* 448 */
etisserant@240: 00133                     UNS8 TestMaster_obj1400_Transmission_Type = 0x1;    /* 1 */
etisserant@240: 00134                     UNS16 TestMaster_obj1400_Inhibit_Time = 0x0;        /* 0 */
etisserant@240: 00135                     UNS8 TestMaster_obj1400_Compatibility_Entry = 0x0;  /* 0 */
etisserant@240: 00136                     UNS16 TestMaster_obj1400_Event_Timer = 0x0; /* 0 */
etisserant@240: 00137                     subindex TestMaster_Index1400[] = 
nico@215: 00138                      {
etisserant@240: 00139                        { RO, uint8, sizeof (UNS8), (void*)&TestMaster_highestSubIndex_obj1400 },
etisserant@240: 00140                        { RW, uint32, sizeof (UNS32), (void*)&TestMaster_obj1400_COB_ID_used_by_PDO },
etisserant@240: 00141                        { RW, uint8, sizeof (UNS8), (void*)&TestMaster_obj1400_Transmission_Type },
etisserant@240: 00142                        { RW, uint16, sizeof (UNS16), (void*)&TestMaster_obj1400_Inhibit_Time },
etisserant@240: 00143                        { RW, uint8, sizeof (UNS8), (void*)&TestMaster_obj1400_Compatibility_Entry },
etisserant@240: 00144                        { RW, uint16, sizeof (UNS16), (void*)&TestMaster_obj1400_Event_Timer }
nico@215: 00145                      };
nico@215: 00146 
nico@215: 00147 /* index 0x1600 :   Receive PDO 1 Mapping. */
etisserant@240: 00148                     UNS8 TestMaster_highestSubIndex_obj1600 = 8; /* number of subindex - 1*/
etisserant@240: 00149                     UNS32 TestMaster_obj1600[] = 
nico@215: 00150                     {
nico@215: 00151                       0x200F0001,       /* 537853953 */
nico@215: 00152                       0x20100001,       /* 537919489 */
nico@215: 00153                       0x20110001,       /* 537985025 */
nico@215: 00154                       0x20120001,       /* 538050561 */
nico@215: 00155                       0x20130001,       /* 538116097 */
nico@215: 00156                       0x20140001,       /* 538181633 */
nico@215: 00157                       0x20150001,       /* 538247169 */
nico@215: 00158                       0x20160001        /* 538312705 */
nico@215: 00159                     };
etisserant@240: 00160                     subindex TestMaster_Index1600[] = 
nico@215: 00161                      {
etisserant@240: 00162                        { RW, uint8, sizeof (UNS8), (void*)&TestMaster_highestSubIndex_obj1600 },
etisserant@240: 00163                        { RW, uint32, sizeof (UNS32), (void*)&TestMaster_obj1600[0] },
etisserant@240: 00164                        { RW, uint32, sizeof (UNS32), (void*)&TestMaster_obj1600[1] },
etisserant@240: 00165                        { RW, uint32, sizeof (UNS32), (void*)&TestMaster_obj1600[2] },
etisserant@240: 00166                        { RW, uint32, sizeof (UNS32), (void*)&TestMaster_obj1600[3] },
etisserant@240: 00167                        { RW, uint32, sizeof (UNS32), (void*)&TestMaster_obj1600[4] },
etisserant@240: 00168                        { RW, uint32, sizeof (UNS32), (void*)&TestMaster_obj1600[5] },
etisserant@240: 00169                        { RW, uint32, sizeof (UNS32), (void*)&TestMaster_obj1600[6] },
etisserant@240: 00170                        { RW, uint32, sizeof (UNS32), (void*)&TestMaster_obj1600[7] }
nico@215: 00171                      };
nico@215: 00172 
nico@215: 00173 /* index 0x1800 :   Transmit PDO 1 Parameter. */
etisserant@240: 00174                     UNS8 TestMaster_highestSubIndex_obj1800 = 5; /* number of subindex - 1*/
etisserant@240: 00175                     UNS32 TestMaster_obj1800_COB_ID_used_by_PDO = 0x240;        /* 576 */
etisserant@240: 00176                     UNS8 TestMaster_obj1800_Transmission_Type = 0x1;    /* 1 */
etisserant@240: 00177                     UNS16 TestMaster_obj1800_Inhibit_Time = 0x0;        /* 0 */
etisserant@240: 00178                     UNS8 TestMaster_obj1800_Compatibility_Entry = 0x0;  /* 0 */
etisserant@240: 00179                     UNS16 TestMaster_obj1800_Event_Timer = 0x0; /* 0 */
etisserant@240: 00180                     subindex TestMaster_Index1800[] = 
nico@215: 00181                      {
etisserant@240: 00182                        { RO, uint8, sizeof (UNS8), (void*)&TestMaster_highestSubIndex_obj1800 },
etisserant@240: 00183                        { RW, uint32, sizeof (UNS32), (void*)&TestMaster_obj1800_COB_ID_used_by_PDO },
etisserant@240: 00184                        { RW, uint8, sizeof (UNS8), (void*)&TestMaster_obj1800_Transmission_Type },
etisserant@240: 00185                        { RW, uint16, sizeof (UNS16), (void*)&TestMaster_obj1800_Inhibit_Time },
etisserant@240: 00186                        { RW, uint8, sizeof (UNS8), (void*)&TestMaster_obj1800_Compatibility_Entry },
etisserant@240: 00187                        { RW, uint16, sizeof (UNS16), (void*)&TestMaster_obj1800_Event_Timer }
nico@215: 00188                      };
nico@215: 00189 
nico@215: 00190 /* index 0x1A00 :   Transmit PDO 1 Mapping. */
etisserant@240: 00191                     UNS8 TestMaster_highestSubIndex_obj1A00 = 1; /* number of subindex - 1*/
etisserant@240: 00192                     UNS32 TestMaster_obj1A00[] = 
nico@215: 00193                     {
nico@215: 00194                       0x20000008        /* 536870920 */
nico@215: 00195                     };
etisserant@240: 00196                     subindex TestMaster_Index1A00[] = 
nico@215: 00197                      {
etisserant@240: 00198                        { RW, uint8, sizeof (UNS8), (void*)&TestMaster_highestSubIndex_obj1A00 },
etisserant@240: 00199                        { RW, uint32, sizeof (UNS32), (void*)&TestMaster_obj1A00[0] }
nico@215: 00200                      };
nico@215: 00201 
nico@215: 00202 /* index 0x2000 :   Mapped variable DO */
etisserant@240: 00203                     subindex TestMaster_Index2000[] = 
nico@215: 00204                      {
etisserant@240: 00205                        { RW, uint8, sizeof (UNS8), (void*)&DO }
nico@215: 00206                      };
nico@215: 00207 
nico@215: 00208 /* index 0x200F :   Mapped variable DI1 */
etisserant@240: 00209                     subindex TestMaster_Index200F[] = 
nico@215: 00210                      {
etisserant@240: 00211                        { RW, boolean, sizeof (UNS8), (void*)&DI1 }
nico@215: 00212                      };
nico@215: 00213 
nico@215: 00214 /* index 0x2010 :   Mapped variable DI2 */
etisserant@240: 00215                     subindex TestMaster_Index2010[] = 
nico@215: 00216                      {
etisserant@240: 00217                        { RW, boolean, sizeof (UNS8), (void*)&DI2 }
nico@215: 00218                      };
nico@215: 00219 
nico@215: 00220 /* index 0x2011 :   Mapped variable DI3 */
etisserant@240: 00221                     subindex TestMaster_Index2011[] = 
nico@215: 00222                      {
etisserant@240: 00223                        { RW, boolean, sizeof (UNS8), (void*)&DI3 }
nico@215: 00224                      };
nico@215: 00225 
nico@215: 00226 /* index 0x2012 :   Mapped variable DI4 */
etisserant@240: 00227                     subindex TestMaster_Index2012[] = 
nico@215: 00228                      {
etisserant@240: 00229                        { RW, boolean, sizeof (UNS8), (void*)&DI4 }
nico@215: 00230                      };
nico@215: 00231 
nico@215: 00232 /* index 0x2013 :   Mapped variable DI5 */
etisserant@240: 00233                     subindex TestMaster_Index2013[] = 
nico@215: 00234                      {
etisserant@240: 00235                        { RW, boolean, sizeof (UNS8), (void*)&DI5 }
nico@215: 00236                      };
nico@215: 00237 
nico@215: 00238 /* index 0x2014 :   Mapped variable DI6 */
etisserant@240: 00239                     subindex TestMaster_Index2014[] = 
nico@215: 00240                      {
etisserant@240: 00241                        { RW, boolean, sizeof (UNS8), (void*)&DI6 }
nico@215: 00242                      };
nico@215: 00243 
nico@215: 00244 /* index 0x2015 :   Mapped variable DI7 */
etisserant@240: 00245                     subindex TestMaster_Index2015[] = 
nico@215: 00246                      {
etisserant@240: 00247                        { RW, boolean, sizeof (UNS8), (void*)&DI7 }
nico@215: 00248                      };
nico@215: 00249 
nico@215: 00250 /* index 0x2016 :   Mapped variable DI8 */
etisserant@240: 00251                     subindex TestMaster_Index2016[] = 
nico@215: 00252                      {
etisserant@240: 00253                        { RW, boolean, sizeof (UNS8), (void*)&DI8 }
nico@215: 00254                      };
nico@215: 00255 
etisserant@240: 00256 const indextable TestMaster_objdict[] = 
nico@215: 00257 {
etisserant@240: 00258   { (subindex*)TestMaster_Index1000,sizeof(TestMaster_Index1000)/sizeof(TestMaster_Index1000[0]), 0x1000},
etisserant@240: 00259   { (subindex*)TestMaster_Index1001,sizeof(TestMaster_Index1001)/sizeof(TestMaster_Index1001[0]), 0x1001},
etisserant@240: 00260   { (subindex*)TestMaster_Index1005,sizeof(TestMaster_Index1005)/sizeof(TestMaster_Index1005[0]), 0x1005},
etisserant@240: 00261   { (subindex*)TestMaster_Index1006,sizeof(TestMaster_Index1006)/sizeof(TestMaster_Index1006[0]), 0x1006},
etisserant@240: 00262   { (subindex*)TestMaster_Index1016,sizeof(TestMaster_Index1016)/sizeof(TestMaster_Index1016[0]), 0x1016},
etisserant@240: 00263   { (subindex*)TestMaster_Index1018,sizeof(TestMaster_Index1018)/sizeof(TestMaster_Index1018[0]), 0x1018},
etisserant@240: 00264   { (subindex*)TestMaster_Index1280,sizeof(TestMaster_Index1280)/sizeof(TestMaster_Index1280[0]), 0x1280},
etisserant@240: 00265   { (subindex*)TestMaster_Index1400,sizeof(TestMaster_Index1400)/sizeof(TestMaster_Index1400[0]), 0x1400},
etisserant@240: 00266   { (subindex*)TestMaster_Index1600,sizeof(TestMaster_Index1600)/sizeof(TestMaster_Index1600[0]), 0x1600},
etisserant@240: 00267   { (subindex*)TestMaster_Index1800,sizeof(TestMaster_Index1800)/sizeof(TestMaster_Index1800[0]), 0x1800},
etisserant@240: 00268   { (subindex*)TestMaster_Index1A00,sizeof(TestMaster_Index1A00)/sizeof(TestMaster_Index1A00[0]), 0x1A00},
etisserant@240: 00269   { (subindex*)TestMaster_Index2000,sizeof(TestMaster_Index2000)/sizeof(TestMaster_Index2000[0]), 0x2000},
etisserant@240: 00270   { (subindex*)TestMaster_Index200F,sizeof(TestMaster_Index200F)/sizeof(TestMaster_Index200F[0]), 0x200F},
etisserant@240: 00271   { (subindex*)TestMaster_Index2010,sizeof(TestMaster_Index2010)/sizeof(TestMaster_Index2010[0]), 0x2010},
etisserant@240: 00272   { (subindex*)TestMaster_Index2011,sizeof(TestMaster_Index2011)/sizeof(TestMaster_Index2011[0]), 0x2011},
etisserant@240: 00273   { (subindex*)TestMaster_Index2012,sizeof(TestMaster_Index2012)/sizeof(TestMaster_Index2012[0]), 0x2012},
etisserant@240: 00274   { (subindex*)TestMaster_Index2013,sizeof(TestMaster_Index2013)/sizeof(TestMaster_Index2013[0]), 0x2013},
etisserant@240: 00275   { (subindex*)TestMaster_Index2014,sizeof(TestMaster_Index2014)/sizeof(TestMaster_Index2014[0]), 0x2014},
etisserant@240: 00276   { (subindex*)TestMaster_Index2015,sizeof(TestMaster_Index2015)/sizeof(TestMaster_Index2015[0]), 0x2015},
etisserant@240: 00277   { (subindex*)TestMaster_Index2016,sizeof(TestMaster_Index2016)/sizeof(TestMaster_Index2016[0]), 0x2016},
nico@215: 00278 };
nico@215: 00279 
etisserant@240: 00280 const indextable * TestMaster_scanIndexOD (UNS16 wIndex, UNS32 * errorCode, ODCallback_t **callbacks)
nico@215: 00281 {
nico@215: 00282         int i;
nico@215: 00283         *callbacks = NULL;
nico@215: 00284         switch(wIndex){
nico@215: 00285                 case 0x1000: i = 0;break;
nico@215: 00286                 case 0x1001: i = 1;break;
etisserant@240: 00287                 case 0x1005: i = 2;*callbacks = TestMaster_Index1005_callbacks; break;
etisserant@240: 00288                 case 0x1006: i = 3;*callbacks = TestMaster_Index1006_callbacks; break;
nico@215: 00289                 case 0x1016: i = 4;break;
nico@215: 00290                 case 0x1018: i = 5;break;
nico@215: 00291                 case 0x1280: i = 6;break;
nico@215: 00292                 case 0x1400: i = 7;break;
nico@215: 00293                 case 0x1600: i = 8;break;
nico@215: 00294                 case 0x1800: i = 9;break;
nico@215: 00295                 case 0x1A00: i = 10;break;
nico@215: 00296                 case 0x2000: i = 11;break;
nico@215: 00297                 case 0x200F: i = 12;break;
nico@215: 00298                 case 0x2010: i = 13;break;
nico@215: 00299                 case 0x2011: i = 14;break;
nico@215: 00300                 case 0x2012: i = 15;break;
nico@215: 00301                 case 0x2013: i = 16;break;
nico@215: 00302                 case 0x2014: i = 17;break;
nico@215: 00303                 case 0x2015: i = 18;break;
nico@215: 00304                 case 0x2016: i = 19;break;
nico@215: 00305                 default:
etisserant@240: 00306                         *errorCode = OD_NO_SUCH_OBJECT;
nico@215: 00307                         return NULL;
nico@215: 00308         }
etisserant@240: 00309         *errorCode = OD_SUCCESSFUL;
etisserant@240: 00310         return &TestMaster_objdict[i];
nico@215: 00311 }
nico@215: 00312 
etisserant@240: 00313 /* 
etisserant@240: 00314  * To count at which received SYNC a PDO must be sent.
etisserant@240: 00315  * Even if no pdoTransmit are defined, at least one entry is computed
etisserant@240: 00316  * for compilations issues.
etisserant@240: 00317  */
etisserant@240: 00318 s_PDO_status TestMaster_PDO_status[1] = {s_PDO_staus_Initializer};
etisserant@240: 00319 
etisserant@240: 00320 quick_index TestMaster_firstIndex = {
etisserant@240: 00321   0, /* SDO_SVR */
etisserant@240: 00322   6, /* SDO_CLT */
etisserant@240: 00323   7, /* PDO_RCV */
etisserant@240: 00324   8, /* PDO_RCV_MAP */
etisserant@240: 00325   9, /* PDO_TRS */
etisserant@240: 00326   10 /* PDO_TRS_MAP */
etisserant@240: 00327 };
etisserant@240: 00328 
etisserant@240: 00329 quick_index TestMaster_lastIndex = {
etisserant@240: 00330   0, /* SDO_SVR */
etisserant@240: 00331   6, /* SDO_CLT */
etisserant@240: 00332   7, /* PDO_RCV */
etisserant@240: 00333   8, /* PDO_RCV_MAP */
etisserant@240: 00334   9, /* PDO_TRS */
etisserant@240: 00335   10 /* PDO_TRS_MAP */
etisserant@240: 00336 };
etisserant@240: 00337 
etisserant@240: 00338 UNS16 TestMaster_ObjdictSize = sizeof(TestMaster_objdict)/sizeof(TestMaster_objdict[0]); 
etisserant@240: 00339 
etisserant@240: 00340 CO_Data TestMaster_Data = CANOPEN_NODE_DATA_INITIALIZER(TestMaster);
etisserant@240: 00341 
etisserant@240: 

Generated on Mon Jul 2 19:10:16 2007 for CanFestival by  nico@215: nico@215: doxygen 1.5.1
nico@215: nico@215: