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

    TestMaster.c

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

    Generated on Fri Jun 8 08:51:39 2007 for CanFestival by  +00313 /* +00314 * To count at which received SYNC a PDO must be sent. +00315 * Even if no pdoTransmit are defined, at least one entry is computed +00316 * for compilations issues. +00317 */ +00318 s_PDO_status TestMaster_PDO_status[1] = {s_PDO_staus_Initializer}; +00319 +00320 quick_index TestMaster_firstIndex = { +00321 0, /* SDO_SVR */ +00322 6, /* SDO_CLT */ +00323 7, /* PDO_RCV */ +00324 8, /* PDO_RCV_MAP */ +00325 9, /* PDO_TRS */ +00326 10 /* PDO_TRS_MAP */ +00327 }; +00328 +00329 quick_index TestMaster_lastIndex = { +00330 0, /* SDO_SVR */ +00331 6, /* SDO_CLT */ +00332 7, /* PDO_RCV */ +00333 8, /* PDO_RCV_MAP */ +00334 9, /* PDO_TRS */ +00335 10 /* PDO_TRS_MAP */ +00336 }; +00337 +00338 UNS16 TestMaster_ObjdictSize = sizeof(TestMaster_objdict)/sizeof(TestMaster_objdict[0]); +00339 +00340 CO_Data TestMaster_Data = CANOPEN_NODE_DATA_INITIALIZER(TestMaster); +00341 +
    Generated on Mon Jul 2 19:10:16 2007 for CanFestival by  doxygen 1.5.1