examples/TestMasterSlave/TestMaster.c
author etisserant
Tue, 13 Feb 2007 17:21:19 +0100
changeset 92 0d84d95790d9
parent 79 9d8959095936
permissions -rw-r--r--
- Some fixes in Makefile.in
0
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
     1
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
     2
/* File generated by gen_cfile.py. Should not be modified. */
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
     3
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
     4
#include "TestMaster.h"
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
     5
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
     6
/**************************************************************************/
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
     7
/* Declaration of the mapped variables                                    */
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
     8
/**************************************************************************/
79
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
     9
UNS8 MasterMap1 = 0x0;		/* Mapped at index 0x2000, subindex 0x00 */
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
    10
UNS8 MasterMap2 = 0x0;		/* Mapped at index 0x2001, subindex 0x00 */
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
    11
UNS8 MasterMap3 = 0x0;		/* Mapped at index 0x2002, subindex 0x00 */
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
    12
UNS8 MasterMap4 = 0x0;		/* Mapped at index 0x2003, subindex 0x00 */
0
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    13
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    14
/**************************************************************************/
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    15
/* Declaration of the value range types                                   */
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    16
/**************************************************************************/
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    17
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    18
UNS32 TestMaster_valueRangeTest (UNS8 typeValue, void * value)
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    19
{
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    20
  switch (typeValue) {
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    21
  }
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    22
  return 0;
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    23
}
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    24
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    25
/**************************************************************************/
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    26
/* The node id                                                            */
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    27
/**************************************************************************/
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    28
/* node_id default value.*/
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    29
UNS8 TestMaster_bDeviceNodeId = 0x00;
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    30
79
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
    31
/**************************************************************************/
0
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    32
/* Array of message processing information */
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    33
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    34
const UNS8 TestMaster_iam_a_slave = 0;
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    35
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    36
TIMER_HANDLE TestMaster_heartBeatTimers[1] = {TIMER_NONE,};
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    37
79
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
    38
/*
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
    39
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
    40
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
    41
                               OBJECT DICTIONARY
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
    42
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
    43
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
    44
*/
0
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    45
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    46
/* index 0x1000 :   Device Type. */
79
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
    47
                    UNS32 TestMaster_obj1000 = 0x12D;	/* 301 */
0
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    48
                    subindex TestMaster_Index1000[] = 
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    49
                     {
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    50
                       { RO, uint32, sizeof (UNS32), (void*)&TestMaster_obj1000 }
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    51
                     };
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    52
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    53
/* index 0x1001 :   Error Register. */
79
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
    54
                    UNS8 TestMaster_obj1001 = 0x0;	/* 0 */
0
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    55
                    subindex TestMaster_Index1001[] = 
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    56
                     {
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    57
                       { RO, uint8, sizeof (UNS8), (void*)&TestMaster_obj1001 }
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    58
                     };
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    59
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    60
/* index 0x1005 :   SYNC COB ID. */
79
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
    61
                    UNS32 TestMaster_obj1005 = 0x40000080;	/* 1073741952 */
0
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    62
                    ODCallback_t TestMaster_Index1005_callbacks[] = 
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    63
                     {
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    64
                       NULL,
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    65
                     };
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    66
                    subindex TestMaster_Index1005[] = 
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    67
                     {
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    68
                       { RW, uint32, sizeof (UNS32), (void*)&TestMaster_obj1005 }
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    69
                     };
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    70
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    71
/* index 0x1006 :   Communication / Cycle Period. */
79
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
    72
                    UNS32 TestMaster_obj1006 = 0xC350;	/* 50000 */
0
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    73
                    ODCallback_t TestMaster_Index1006_callbacks[] = 
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    74
                     {
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    75
                       NULL,
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    76
                     };
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    77
                    subindex TestMaster_Index1006[] = 
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    78
                     {
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    79
                       { RW, uint32, sizeof (UNS32), (void*)&TestMaster_obj1006 }
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    80
                     };
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    81
23
6a5cdca4de01 Modification of the dictionnary to support NVRAM.
oremeq
parents: 0
diff changeset
    82
/* index 0x1010 :   Store parameters. */
79
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
    83
                    UNS8 TestMaster_highestSubIndex_obj1010 = 4; /* number of subindex - 1*/
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
    84
                    UNS32 TestMaster_obj1010_Save_All_Parameters = 0x0;	/* 0 */
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
    85
                    UNS32 TestMaster_obj1010_Save_Communication_Parameters = 0x0;	/* 0 */
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
    86
                    UNS32 TestMaster_obj1010_Save_Application_Parameters = 0x0;	/* 0 */
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
    87
                    UNS32 TestMaster_obj1010_Save_Manufacturer_Parameters = 0x0;	/* 0 */
23
6a5cdca4de01 Modification of the dictionnary to support NVRAM.
oremeq
parents: 0
diff changeset
    88
                    ODCallback_t TestMaster_Index1010_callbacks[] = 
6a5cdca4de01 Modification of the dictionnary to support NVRAM.
oremeq
parents: 0
diff changeset
    89
                     {
6a5cdca4de01 Modification of the dictionnary to support NVRAM.
oremeq
parents: 0
diff changeset
    90
                       NULL,
6a5cdca4de01 Modification of the dictionnary to support NVRAM.
oremeq
parents: 0
diff changeset
    91
                       NULL,
6a5cdca4de01 Modification of the dictionnary to support NVRAM.
oremeq
parents: 0
diff changeset
    92
                       NULL,
6a5cdca4de01 Modification of the dictionnary to support NVRAM.
oremeq
parents: 0
diff changeset
    93
                       NULL,
6a5cdca4de01 Modification of the dictionnary to support NVRAM.
oremeq
parents: 0
diff changeset
    94
                       NULL,
6a5cdca4de01 Modification of the dictionnary to support NVRAM.
oremeq
parents: 0
diff changeset
    95
                     };
6a5cdca4de01 Modification of the dictionnary to support NVRAM.
oremeq
parents: 0
diff changeset
    96
                    subindex TestMaster_Index1010[] = 
6a5cdca4de01 Modification of the dictionnary to support NVRAM.
oremeq
parents: 0
diff changeset
    97
                     {
6a5cdca4de01 Modification of the dictionnary to support NVRAM.
oremeq
parents: 0
diff changeset
    98
                       { RO, uint8, sizeof (UNS8), (void*)&TestMaster_highestSubIndex_obj1010 },
6a5cdca4de01 Modification of the dictionnary to support NVRAM.
oremeq
parents: 0
diff changeset
    99
                       { RW, uint32, sizeof (UNS32), (void*)&TestMaster_obj1010_Save_All_Parameters },
6a5cdca4de01 Modification of the dictionnary to support NVRAM.
oremeq
parents: 0
diff changeset
   100
                       { RW, uint32, sizeof (UNS32), (void*)&TestMaster_obj1010_Save_Communication_Parameters },
6a5cdca4de01 Modification of the dictionnary to support NVRAM.
oremeq
parents: 0
diff changeset
   101
                       { RW, uint32, sizeof (UNS32), (void*)&TestMaster_obj1010_Save_Application_Parameters },
6a5cdca4de01 Modification of the dictionnary to support NVRAM.
oremeq
parents: 0
diff changeset
   102
                       { RW, uint32, sizeof (UNS32), (void*)&TestMaster_obj1010_Save_Manufacturer_Parameters }
6a5cdca4de01 Modification of the dictionnary to support NVRAM.
oremeq
parents: 0
diff changeset
   103
                     };
6a5cdca4de01 Modification of the dictionnary to support NVRAM.
oremeq
parents: 0
diff changeset
   104
6a5cdca4de01 Modification of the dictionnary to support NVRAM.
oremeq
parents: 0
diff changeset
   105
/* index 0x1011 :   Restore Default Parameters. */
79
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
   106
                    UNS8 TestMaster_highestSubIndex_obj1011 = 4; /* number of subindex - 1*/
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
   107
                    UNS32 TestMaster_obj1011_Restore_All_Default_Parameters = 0x0;	/* 0 */
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
   108
                    UNS32 TestMaster_obj1011_Restore_Communication_Default_Parameters = 0x0;	/* 0 */
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
   109
                    UNS32 TestMaster_obj1011_Restore_Application_Default_Parameters = 0x0;	/* 0 */
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
   110
                    UNS32 TestMaster_obj1011_Restore_Manufacturer_Default_Parameters = 0x0;	/* 0 */
23
6a5cdca4de01 Modification of the dictionnary to support NVRAM.
oremeq
parents: 0
diff changeset
   111
                    ODCallback_t TestMaster_Index1011_callbacks[] = 
6a5cdca4de01 Modification of the dictionnary to support NVRAM.
oremeq
parents: 0
diff changeset
   112
                     {
6a5cdca4de01 Modification of the dictionnary to support NVRAM.
oremeq
parents: 0
diff changeset
   113
                       NULL,
6a5cdca4de01 Modification of the dictionnary to support NVRAM.
oremeq
parents: 0
diff changeset
   114
                       NULL,
6a5cdca4de01 Modification of the dictionnary to support NVRAM.
oremeq
parents: 0
diff changeset
   115
                       NULL,
6a5cdca4de01 Modification of the dictionnary to support NVRAM.
oremeq
parents: 0
diff changeset
   116
                       NULL,
6a5cdca4de01 Modification of the dictionnary to support NVRAM.
oremeq
parents: 0
diff changeset
   117
                       NULL,
6a5cdca4de01 Modification of the dictionnary to support NVRAM.
oremeq
parents: 0
diff changeset
   118
                     };
6a5cdca4de01 Modification of the dictionnary to support NVRAM.
oremeq
parents: 0
diff changeset
   119
                    subindex TestMaster_Index1011[] = 
6a5cdca4de01 Modification of the dictionnary to support NVRAM.
oremeq
parents: 0
diff changeset
   120
                     {
6a5cdca4de01 Modification of the dictionnary to support NVRAM.
oremeq
parents: 0
diff changeset
   121
                       { RO, uint8, sizeof (UNS8), (void*)&TestMaster_highestSubIndex_obj1011 },
6a5cdca4de01 Modification of the dictionnary to support NVRAM.
oremeq
parents: 0
diff changeset
   122
                       { RW, uint32, sizeof (UNS32), (void*)&TestMaster_obj1011_Restore_All_Default_Parameters },
6a5cdca4de01 Modification of the dictionnary to support NVRAM.
oremeq
parents: 0
diff changeset
   123
                       { RW, uint32, sizeof (UNS32), (void*)&TestMaster_obj1011_Restore_Communication_Default_Parameters },
6a5cdca4de01 Modification of the dictionnary to support NVRAM.
oremeq
parents: 0
diff changeset
   124
                       { RW, uint32, sizeof (UNS32), (void*)&TestMaster_obj1011_Restore_Application_Default_Parameters },
6a5cdca4de01 Modification of the dictionnary to support NVRAM.
oremeq
parents: 0
diff changeset
   125
                       { RW, uint32, sizeof (UNS32), (void*)&TestMaster_obj1011_Restore_Manufacturer_Default_Parameters }
6a5cdca4de01 Modification of the dictionnary to support NVRAM.
oremeq
parents: 0
diff changeset
   126
                     };
6a5cdca4de01 Modification of the dictionnary to support NVRAM.
oremeq
parents: 0
diff changeset
   127
0
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   128
/* index 0x1016 :   Consumer Heartbeat Time. */
79
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
   129
                    UNS8 TestMaster_highestSubIndex_obj1016 = 1; /* number of subindex - 1*/
0
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   130
                    UNS32 TestMaster_obj1016[] = 
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   131
                    {
79
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
   132
                      0x20802	/* 133122 */
0
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   133
                    };
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   134
                    subindex TestMaster_Index1016[] = 
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   135
                     {
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   136
                       { RO, uint8, sizeof (UNS8), (void*)&TestMaster_highestSubIndex_obj1016 },
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   137
                       { RW, uint32, sizeof (UNS32), (void*)&TestMaster_obj1016[0] }
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   138
                     };
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   139
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   140
/* index 0x1017 :   Producer Heartbeat Time */ 
79
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
   141
                    UNS16 TestMaster_obj1017 = 0x0;   /* 0 */
0
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   142
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   143
/* index 0x1018 :   Identity. */
79
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
   144
                    UNS8 TestMaster_highestSubIndex_obj1018 = 4; /* number of subindex - 1*/
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
   145
                    UNS32 TestMaster_obj1018_Vendor_ID = 0x0;	/* 0 */
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
   146
                    UNS32 TestMaster_obj1018_Product_Code = 0x0;	/* 0 */
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
   147
                    UNS32 TestMaster_obj1018_Revision_Number = 0x0;	/* 0 */
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
   148
                    UNS32 TestMaster_obj1018_Serial_Number = 0x0;	/* 0 */
0
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   149
                    subindex TestMaster_Index1018[] = 
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   150
                     {
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   151
                       { RO, uint8, sizeof (UNS8), (void*)&TestMaster_highestSubIndex_obj1018 },
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   152
                       { RO, uint32, sizeof (UNS32), (void*)&TestMaster_obj1018_Vendor_ID },
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   153
                       { RO, uint32, sizeof (UNS32), (void*)&TestMaster_obj1018_Product_Code },
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   154
                       { RO, uint32, sizeof (UNS32), (void*)&TestMaster_obj1018_Revision_Number },
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   155
                       { RO, uint32, sizeof (UNS32), (void*)&TestMaster_obj1018_Serial_Number }
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   156
                     };
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   157
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   158
/* index 0x1280 :   Client SDO 1 Parameter. */
79
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
   159
                    UNS8 TestMaster_highestSubIndex_obj1280 = 3; /* number of subindex - 1*/
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
   160
                    UNS32 TestMaster_obj1280_COB_ID_Client_to_Server_Transmit_SDO = 0x602;	/* 1538 */
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
   161
                    UNS32 TestMaster_obj1280_COB_ID_Server_to_Client_Receive_SDO = 0x582;	/* 1410 */
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
   162
                    UNS32 TestMaster_obj1280_Node_ID_of_the_SDO_Server = 0x2;	/* 2 */
0
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   163
                    subindex TestMaster_Index1280[] = 
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   164
                     {
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   165
                       { RO, uint8, sizeof (UNS8), (void*)&TestMaster_highestSubIndex_obj1280 },
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   166
                       { RW, uint32, sizeof (UNS32), (void*)&TestMaster_obj1280_COB_ID_Client_to_Server_Transmit_SDO },
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   167
                       { RW, uint32, sizeof (UNS32), (void*)&TestMaster_obj1280_COB_ID_Server_to_Client_Receive_SDO },
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   168
                       { RW, uint32, sizeof (UNS32), (void*)&TestMaster_obj1280_Node_ID_of_the_SDO_Server }
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   169
                     };
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   170
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   171
/* index 0x1400 :   Receive PDO 1 Parameter. */
79
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
   172
                    UNS8 TestMaster_highestSubIndex_obj1400 = 5; /* number of subindex - 1*/
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
   173
                    UNS32 TestMaster_obj1400_COB_ID_used_by_PDO = 0x182;	/* 386 */
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
   174
                    UNS8 TestMaster_obj1400_Transmission_Type = 0x1;	/* 1 */
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
   175
                    UNS16 TestMaster_obj1400_Inhibit_Time = 0x0;	/* 0 */
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
   176
                    UNS16 TestMaster_obj1400_Compatibility_Entry = 0x0;	/* 0 */
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
   177
                    UNS16 TestMaster_obj1400_Event_Timer = 0x0;	/* 0 */
0
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   178
                    subindex TestMaster_Index1400[] = 
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   179
                     {
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   180
                       { RO, uint8, sizeof (UNS8), (void*)&TestMaster_highestSubIndex_obj1400 },
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   181
                       { RW, uint32, sizeof (UNS32), (void*)&TestMaster_obj1400_COB_ID_used_by_PDO },
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   182
                       { RW, uint8, sizeof (UNS8), (void*)&TestMaster_obj1400_Transmission_Type },
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   183
                       { RW, uint16, sizeof (UNS16), (void*)&TestMaster_obj1400_Inhibit_Time },
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   184
                       { RW, uint16, sizeof (UNS16), (void*)&TestMaster_obj1400_Compatibility_Entry },
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   185
                       { RW, uint16, sizeof (UNS16), (void*)&TestMaster_obj1400_Event_Timer }
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   186
                     };
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   187
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   188
/* index 0x1401 :   Receive PDO 2 Parameter. */
79
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
   189
                    UNS8 TestMaster_highestSubIndex_obj1401 = 5; /* number of subindex - 1*/
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
   190
                    UNS32 TestMaster_obj1401_COB_ID_used_by_PDO = 0x282;	/* 642 */
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
   191
                    UNS8 TestMaster_obj1401_Transmission_Type = 0x1;	/* 1 */
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
   192
                    UNS16 TestMaster_obj1401_Inhibit_Time = 0x0;	/* 0 */
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
   193
                    UNS16 TestMaster_obj1401_Compatibility_Entry = 0x0;	/* 0 */
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
   194
                    UNS16 TestMaster_obj1401_Event_Timer = 0x0;	/* 0 */
0
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   195
                    subindex TestMaster_Index1401[] = 
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   196
                     {
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   197
                       { RO, uint8, sizeof (UNS8), (void*)&TestMaster_highestSubIndex_obj1401 },
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   198
                       { RW, uint32, sizeof (UNS32), (void*)&TestMaster_obj1401_COB_ID_used_by_PDO },
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   199
                       { RW, uint8, sizeof (UNS8), (void*)&TestMaster_obj1401_Transmission_Type },
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   200
                       { RW, uint16, sizeof (UNS16), (void*)&TestMaster_obj1401_Inhibit_Time },
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   201
                       { RW, uint16, sizeof (UNS16), (void*)&TestMaster_obj1401_Compatibility_Entry },
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   202
                       { RW, uint16, sizeof (UNS16), (void*)&TestMaster_obj1401_Event_Timer }
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   203
                     };
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   204
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   205
/* index 0x1600 :   Receive PDO 1 Mapping. */
79
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
   206
                    UNS8 TestMaster_highestSubIndex_obj1600 = 2; /* number of subindex - 1*/
0
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   207
                    UNS32 TestMaster_obj1600[] = 
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   208
                    {
79
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
   209
                      0x20000008,	/* 536870920 */
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
   210
                      0x20010008	/* 536936456 */
0
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   211
                    };
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   212
                    subindex TestMaster_Index1600[] = 
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   213
                     {
79
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
   214
                       { RW, uint8, sizeof (UNS8), (void*)&TestMaster_highestSubIndex_obj1600 },
0
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   215
                       { RW, uint32, sizeof (UNS32), (void*)&TestMaster_obj1600[0] },
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   216
                       { RW, uint32, sizeof (UNS32), (void*)&TestMaster_obj1600[1] }
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   217
                     };
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   218
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   219
/* index 0x1601 :   Receive PDO 2 Mapping. */
79
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
   220
                    UNS8 TestMaster_highestSubIndex_obj1601 = 2; /* number of subindex - 1*/
0
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   221
                    UNS32 TestMaster_obj1601[] = 
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   222
                    {
79
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
   223
                      0x20020008,	/* 537001992 */
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
   224
                      0x20030008	/* 537067528 */
0
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   225
                    };
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   226
                    subindex TestMaster_Index1601[] = 
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   227
                     {
79
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
   228
                       { RW, uint8, sizeof (UNS8), (void*)&TestMaster_highestSubIndex_obj1601 },
0
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   229
                       { RW, uint32, sizeof (UNS32), (void*)&TestMaster_obj1601[0] },
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   230
                       { RW, uint32, sizeof (UNS32), (void*)&TestMaster_obj1601[1] }
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   231
                     };
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   232
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   233
/* index 0x2000 :   Mapped variable MasterMap1 */
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   234
                    ODCallback_t MasterMap1_callbacks[] = 
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   235
                     {
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   236
                       NULL,
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   237
                     };
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   238
                    subindex TestMaster_Index2000[] = 
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   239
                     {
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   240
                       { RW, uint8, sizeof (UNS8), (void*)&MasterMap1 }
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   241
                     };
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   242
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   243
/* index 0x2001 :   Mapped variable MasterMap2 */
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   244
                    subindex TestMaster_Index2001[] = 
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   245
                     {
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   246
                       { RW, uint8, sizeof (UNS8), (void*)&MasterMap2 }
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   247
                     };
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   248
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   249
/* index 0x2002 :   Mapped variable MasterMap3 */
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   250
                    subindex TestMaster_Index2002[] = 
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   251
                     {
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   252
                       { RW, uint8, sizeof (UNS8), (void*)&MasterMap3 }
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   253
                     };
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   254
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   255
/* index 0x2003 :   Mapped variable MasterMap4 */
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   256
                    subindex TestMaster_Index2003[] = 
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   257
                     {
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   258
                       { RW, uint8, sizeof (UNS8), (void*)&MasterMap4 }
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   259
                     };
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   260
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   261
const indextable TestMaster_objdict[] = 
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   262
{
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   263
  { (subindex*)TestMaster_Index1000,sizeof(TestMaster_Index1000)/sizeof(TestMaster_Index1000[0]), 0x1000},
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   264
  { (subindex*)TestMaster_Index1001,sizeof(TestMaster_Index1001)/sizeof(TestMaster_Index1001[0]), 0x1001},
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   265
  { (subindex*)TestMaster_Index1005,sizeof(TestMaster_Index1005)/sizeof(TestMaster_Index1005[0]), 0x1005},
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   266
  { (subindex*)TestMaster_Index1006,sizeof(TestMaster_Index1006)/sizeof(TestMaster_Index1006[0]), 0x1006},
23
6a5cdca4de01 Modification of the dictionnary to support NVRAM.
oremeq
parents: 0
diff changeset
   267
  { (subindex*)TestMaster_Index1010,sizeof(TestMaster_Index1010)/sizeof(TestMaster_Index1010[0]), 0x1010},
6a5cdca4de01 Modification of the dictionnary to support NVRAM.
oremeq
parents: 0
diff changeset
   268
  { (subindex*)TestMaster_Index1011,sizeof(TestMaster_Index1011)/sizeof(TestMaster_Index1011[0]), 0x1011},
0
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   269
  { (subindex*)TestMaster_Index1016,sizeof(TestMaster_Index1016)/sizeof(TestMaster_Index1016[0]), 0x1016},
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   270
  { (subindex*)TestMaster_Index1018,sizeof(TestMaster_Index1018)/sizeof(TestMaster_Index1018[0]), 0x1018},
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   271
  { (subindex*)TestMaster_Index1280,sizeof(TestMaster_Index1280)/sizeof(TestMaster_Index1280[0]), 0x1280},
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   272
  { (subindex*)TestMaster_Index1400,sizeof(TestMaster_Index1400)/sizeof(TestMaster_Index1400[0]), 0x1400},
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   273
  { (subindex*)TestMaster_Index1401,sizeof(TestMaster_Index1401)/sizeof(TestMaster_Index1401[0]), 0x1401},
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   274
  { (subindex*)TestMaster_Index1600,sizeof(TestMaster_Index1600)/sizeof(TestMaster_Index1600[0]), 0x1600},
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   275
  { (subindex*)TestMaster_Index1601,sizeof(TestMaster_Index1601)/sizeof(TestMaster_Index1601[0]), 0x1601},
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   276
  { (subindex*)TestMaster_Index2000,sizeof(TestMaster_Index2000)/sizeof(TestMaster_Index2000[0]), 0x2000},
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   277
  { (subindex*)TestMaster_Index2001,sizeof(TestMaster_Index2001)/sizeof(TestMaster_Index2001[0]), 0x2001},
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   278
  { (subindex*)TestMaster_Index2002,sizeof(TestMaster_Index2002)/sizeof(TestMaster_Index2002[0]), 0x2002},
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   279
  { (subindex*)TestMaster_Index2003,sizeof(TestMaster_Index2003)/sizeof(TestMaster_Index2003[0]), 0x2003},
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   280
};
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   281
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   282
const indextable * TestMaster_scanIndexOD (UNS16 wIndex, UNS32 * errorCode, ODCallback_t **callbacks)
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   283
{
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   284
	int i;
23
6a5cdca4de01 Modification of the dictionnary to support NVRAM.
oremeq
parents: 0
diff changeset
   285
	*callbacks = NULL;
0
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   286
	switch(wIndex){
23
6a5cdca4de01 Modification of the dictionnary to support NVRAM.
oremeq
parents: 0
diff changeset
   287
		case 0x1000: i = 0;break;
6a5cdca4de01 Modification of the dictionnary to support NVRAM.
oremeq
parents: 0
diff changeset
   288
		case 0x1001: i = 1;break;
6a5cdca4de01 Modification of the dictionnary to support NVRAM.
oremeq
parents: 0
diff changeset
   289
		case 0x1005: i = 2;*callbacks = TestMaster_Index1005_callbacks; break;
6a5cdca4de01 Modification of the dictionnary to support NVRAM.
oremeq
parents: 0
diff changeset
   290
		case 0x1006: i = 3;*callbacks = TestMaster_Index1006_callbacks; break;
6a5cdca4de01 Modification of the dictionnary to support NVRAM.
oremeq
parents: 0
diff changeset
   291
		case 0x1010: i = 4;*callbacks = TestMaster_Index1010_callbacks; break;
6a5cdca4de01 Modification of the dictionnary to support NVRAM.
oremeq
parents: 0
diff changeset
   292
		case 0x1011: i = 5;*callbacks = TestMaster_Index1011_callbacks; break;
6a5cdca4de01 Modification of the dictionnary to support NVRAM.
oremeq
parents: 0
diff changeset
   293
		case 0x1016: i = 6;break;
6a5cdca4de01 Modification of the dictionnary to support NVRAM.
oremeq
parents: 0
diff changeset
   294
		case 0x1018: i = 7;break;
6a5cdca4de01 Modification of the dictionnary to support NVRAM.
oremeq
parents: 0
diff changeset
   295
		case 0x1280: i = 8;break;
6a5cdca4de01 Modification of the dictionnary to support NVRAM.
oremeq
parents: 0
diff changeset
   296
		case 0x1400: i = 9;break;
6a5cdca4de01 Modification of the dictionnary to support NVRAM.
oremeq
parents: 0
diff changeset
   297
		case 0x1401: i = 10;break;
6a5cdca4de01 Modification of the dictionnary to support NVRAM.
oremeq
parents: 0
diff changeset
   298
		case 0x1600: i = 11;break;
6a5cdca4de01 Modification of the dictionnary to support NVRAM.
oremeq
parents: 0
diff changeset
   299
		case 0x1601: i = 12;break;
6a5cdca4de01 Modification of the dictionnary to support NVRAM.
oremeq
parents: 0
diff changeset
   300
		case 0x2000: i = 13;*callbacks = MasterMap1_callbacks; break;
6a5cdca4de01 Modification of the dictionnary to support NVRAM.
oremeq
parents: 0
diff changeset
   301
		case 0x2001: i = 14;break;
6a5cdca4de01 Modification of the dictionnary to support NVRAM.
oremeq
parents: 0
diff changeset
   302
		case 0x2002: i = 15;break;
6a5cdca4de01 Modification of the dictionnary to support NVRAM.
oremeq
parents: 0
diff changeset
   303
		case 0x2003: i = 16;break;
0
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   304
		default:
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   305
			*errorCode = OD_NO_SUCH_OBJECT;
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   306
			return NULL;
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   307
	}
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   308
	*errorCode = OD_SUCCESSFUL;
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   309
	return &TestMaster_objdict[i];
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   310
}
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   311
79
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
   312
/* To count at which received SYNC a PDO must be sent.
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
   313
 * Even if no pdoTransmit are defined, at least one entry is computed
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
   314
 * for compilations issues.
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
   315
 */
0
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   316
UNS8 TestMaster_count_sync[1] = {0,};
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   317
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   318
quick_index TestMaster_firstIndex = {
79
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
   319
  0, /* SDO_SVR */
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
   320
  8, /* SDO_CLT */
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
   321
  9, /* PDO_RCV */
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
   322
  11, /* PDO_RCV_MAP */
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
   323
  0, /* PDO_TRS */
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
   324
  0 /* PDO_TRS_MAP */
0
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   325
};
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   326
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   327
quick_index TestMaster_lastIndex = {
79
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
   328
  0, /* SDO_SVR */
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
   329
  8, /* SDO_CLT */
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
   330
  10, /* PDO_RCV */
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
   331
  12, /* PDO_RCV_MAP */
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
   332
  0, /* PDO_TRS */
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
   333
  0 /* PDO_TRS_MAP */
0
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   334
};
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   335
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   336
UNS16 TestMaster_ObjdictSize = sizeof(TestMaster_objdict)/sizeof(TestMaster_objdict[0]); 
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   337
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   338
CO_Data TestMaster_Data = CANOPEN_NODE_DATA_INITIALIZER(TestMaster);
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   339