examples/TestMasterSlave/TestSlave.c
author frdupin
Wed, 07 Feb 2007 12:29:52 +0100
changeset 89 11dda1450e09
parent 79 9d8959095936
child 91 ed2612282988
permissions -rw-r--r--
pointer bogue for *(d->iam_a_slave)
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 "TestSlave.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 SlaveMap1 = 0x0;		/* Mapped at index 0x2000, subindex 0x00 */
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
    10
UNS8 SlaveMap2 = 0x0;		/* Mapped at index 0x2001, subindex 0x00 */
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
    11
UNS8 SlaveMap3 = 0x0;		/* Mapped at index 0x2002, subindex 0x00 */
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
    12
UNS8 SlaveMap4 = 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 TestSlave_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 TestSlave_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 TestSlave_iam_a_slave = 1;
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    35
79
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
    36
TIMER_HANDLE TestSlave_heartBeatTimers[1];
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
    37
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 TestSlave_obj1000 = 0x12D;	/* 301 */
0
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    48
                    subindex TestSlave_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*)&TestSlave_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 TestSlave_obj1001 = 0x0;	/* 0 */
0
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    55
                    subindex TestSlave_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*)&TestSlave_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 TestSlave_obj1005 = 0x80;	/* 128 */
0
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    62
                    ODCallback_t TestSlave_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 TestSlave_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*)&TestSlave_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 TestSlave_obj1006 = 0x0;	/* 0 */
0
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    73
                    ODCallback_t TestSlave_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 TestSlave_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*)&TestSlave_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 TestSlave_highestSubIndex_obj1010 = 4; /* number of subindex - 1*/
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
    84
                    UNS32 TestSlave_obj1010_Save_All_Parameters = 0x0;	/* 0 */
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
    85
                    UNS32 TestSlave_obj1010_Save_Communication_Parameters = 0x0;	/* 0 */
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
    86
                    UNS32 TestSlave_obj1010_Save_Application_Parameters = 0x0;	/* 0 */
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
    87
                    UNS32 TestSlave_obj1010_Save_Manufacturer_Parameters = 0x0;	/* 0 */
23
6a5cdca4de01 Modification of the dictionnary to support NVRAM.
oremeq
parents: 0
diff changeset
    88
                    ODCallback_t TestSlave_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 TestSlave_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*)&TestSlave_highestSubIndex_obj1010 },
6a5cdca4de01 Modification of the dictionnary to support NVRAM.
oremeq
parents: 0
diff changeset
    99
                       { RW, uint32, sizeof (UNS32), (void*)&TestSlave_obj1010_Save_All_Parameters },
6a5cdca4de01 Modification of the dictionnary to support NVRAM.
oremeq
parents: 0
diff changeset
   100
                       { RW, uint32, sizeof (UNS32), (void*)&TestSlave_obj1010_Save_Communication_Parameters },
6a5cdca4de01 Modification of the dictionnary to support NVRAM.
oremeq
parents: 0
diff changeset
   101
                       { RW, uint32, sizeof (UNS32), (void*)&TestSlave_obj1010_Save_Application_Parameters },
6a5cdca4de01 Modification of the dictionnary to support NVRAM.
oremeq
parents: 0
diff changeset
   102
                       { RW, uint32, sizeof (UNS32), (void*)&TestSlave_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 TestSlave_highestSubIndex_obj1011 = 4; /* number of subindex - 1*/
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
   107
                    UNS32 TestSlave_obj1011_Restore_All_Default_Parameters = 0x0;	/* 0 */
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
   108
                    UNS32 TestSlave_obj1011_Restore_Communication_Default_Parameters = 0x0;	/* 0 */
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
   109
                    UNS32 TestSlave_obj1011_Restore_Application_Default_Parameters = 0x0;	/* 0 */
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
   110
                    UNS32 TestSlave_obj1011_Restore_Manufacturer_Default_Parameters = 0x0;	/* 0 */
23
6a5cdca4de01 Modification of the dictionnary to support NVRAM.
oremeq
parents: 0
diff changeset
   111
                    ODCallback_t TestSlave_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 TestSlave_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*)&TestSlave_highestSubIndex_obj1011 },
6a5cdca4de01 Modification of the dictionnary to support NVRAM.
oremeq
parents: 0
diff changeset
   122
                       { RW, uint32, sizeof (UNS32), (void*)&TestSlave_obj1011_Restore_All_Default_Parameters },
6a5cdca4de01 Modification of the dictionnary to support NVRAM.
oremeq
parents: 0
diff changeset
   123
                       { RW, uint32, sizeof (UNS32), (void*)&TestSlave_obj1011_Restore_Communication_Default_Parameters },
6a5cdca4de01 Modification of the dictionnary to support NVRAM.
oremeq
parents: 0
diff changeset
   124
                       { RW, uint32, sizeof (UNS32), (void*)&TestSlave_obj1011_Restore_Application_Default_Parameters },
6a5cdca4de01 Modification of the dictionnary to support NVRAM.
oremeq
parents: 0
diff changeset
   125
                       { RW, uint32, sizeof (UNS32), (void*)&TestSlave_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 */
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   129
                    UNS8 TestSlave_highestSubIndex_obj1016 = 0;
79
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
   130
                    UNS32 TestSlave_obj1016[];
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
   131
                    subindex TestSlave_Index1016[];
0
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   132
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   133
/* index 0x1017 :   Producer Heartbeat Time. */
79
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
   134
                    UNS16 TestSlave_obj1017 = 0x3E8;	/* 1000 */
0
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   135
                    subindex TestSlave_Index1017[] = 
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   136
                     {
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   137
                       { RW, uint16, sizeof (UNS16), (void*)&TestSlave_obj1017 }
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 0x1018 :   Identity. */
79
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
   141
                    UNS8 TestSlave_highestSubIndex_obj1018 = 4; /* number of subindex - 1*/
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
   142
                    UNS32 TestSlave_obj1018_Vendor_ID = 0x0;	/* 0 */
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
   143
                    UNS32 TestSlave_obj1018_Product_Code = 0x0;	/* 0 */
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
   144
                    UNS32 TestSlave_obj1018_Revision_Number = 0x0;	/* 0 */
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
   145
                    UNS32 TestSlave_obj1018_Serial_Number = 0x0;	/* 0 */
0
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   146
                    subindex TestSlave_Index1018[] = 
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   147
                     {
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   148
                       { RO, uint8, sizeof (UNS8), (void*)&TestSlave_highestSubIndex_obj1018 },
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   149
                       { RO, uint32, sizeof (UNS32), (void*)&TestSlave_obj1018_Vendor_ID },
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   150
                       { RO, uint32, sizeof (UNS32), (void*)&TestSlave_obj1018_Product_Code },
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   151
                       { RO, uint32, sizeof (UNS32), (void*)&TestSlave_obj1018_Revision_Number },
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   152
                       { RO, uint32, sizeof (UNS32), (void*)&TestSlave_obj1018_Serial_Number }
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   153
                     };
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   154
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   155
/* index 0x1200 :   Server SDO Parameter. */
79
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
   156
                    UNS8 TestSlave_highestSubIndex_obj1200 = 2; /* number of subindex - 1*/
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
   157
                    UNS32 TestSlave_obj1200_COB_ID_Client_to_Server_Receive_SDO = 0x601;	/* 1537 */
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
   158
                    UNS32 TestSlave_obj1200_COB_ID_Server_to_Client_Transmit_SDO = 0x581;	/* 1409 */
0
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   159
                    subindex TestSlave_Index1200[] = 
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   160
                     {
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   161
                       { RO, uint8, sizeof (UNS8), (void*)&TestSlave_highestSubIndex_obj1200 },
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   162
                       { RO, uint32, sizeof (UNS32), (void*)&TestSlave_obj1200_COB_ID_Client_to_Server_Receive_SDO },
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   163
                       { RO, uint32, sizeof (UNS32), (void*)&TestSlave_obj1200_COB_ID_Server_to_Client_Transmit_SDO }
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   164
                     };
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   165
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   166
/* index 0x1800 :   Transmit PDO 1 Parameter. */
79
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
   167
                    UNS8 TestSlave_highestSubIndex_obj1800 = 5; /* number of subindex - 1*/
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
   168
                    UNS32 TestSlave_obj1800_COB_ID_used_by_PDO = 0x182;	/* 386 */
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
   169
                    UNS8 TestSlave_obj1800_Transmission_Type = 0x1;	/* 1 */
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
   170
                    UNS16 TestSlave_obj1800_Inhibit_Time = 0x0;	/* 0 */
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
   171
                    UNS16 TestSlave_obj1800_Compatibility_Entry = 0x0;	/* 0 */
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
   172
                    UNS16 TestSlave_obj1800_Event_Timer = 0x0;	/* 0 */
0
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   173
                    subindex TestSlave_Index1800[] = 
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   174
                     {
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   175
                       { RO, uint8, sizeof (UNS8), (void*)&TestSlave_highestSubIndex_obj1800 },
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   176
                       { RW, uint32, sizeof (UNS32), (void*)&TestSlave_obj1800_COB_ID_used_by_PDO },
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   177
                       { RW, uint8, sizeof (UNS8), (void*)&TestSlave_obj1800_Transmission_Type },
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   178
                       { RW, uint16, sizeof (UNS16), (void*)&TestSlave_obj1800_Inhibit_Time },
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   179
                       { RW, uint16, sizeof (UNS16), (void*)&TestSlave_obj1800_Compatibility_Entry },
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   180
                       { RW, uint16, sizeof (UNS16), (void*)&TestSlave_obj1800_Event_Timer }
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   181
                     };
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   182
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   183
/* index 0x1801 :   Transmit PDO 2 Parameter. */
79
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
   184
                    UNS8 TestSlave_highestSubIndex_obj1801 = 5; /* number of subindex - 1*/
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
   185
                    UNS32 TestSlave_obj1801_COB_ID_used_by_PDO = 0x282;	/* 642 */
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
   186
                    UNS8 TestSlave_obj1801_Transmission_Type = 0x1;	/* 1 */
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
   187
                    UNS16 TestSlave_obj1801_Inhibit_Time = 0x0;	/* 0 */
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
   188
                    UNS16 TestSlave_obj1801_Compatibility_Entry = 0x0;	/* 0 */
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
   189
                    UNS16 TestSlave_obj1801_Event_Timer = 0x0;	/* 0 */
0
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   190
                    subindex TestSlave_Index1801[] = 
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   191
                     {
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   192
                       { RO, uint8, sizeof (UNS8), (void*)&TestSlave_highestSubIndex_obj1801 },
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   193
                       { RW, uint32, sizeof (UNS32), (void*)&TestSlave_obj1801_COB_ID_used_by_PDO },
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   194
                       { RW, uint8, sizeof (UNS8), (void*)&TestSlave_obj1801_Transmission_Type },
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   195
                       { RW, uint16, sizeof (UNS16), (void*)&TestSlave_obj1801_Inhibit_Time },
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   196
                       { RW, uint16, sizeof (UNS16), (void*)&TestSlave_obj1801_Compatibility_Entry },
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   197
                       { RW, uint16, sizeof (UNS16), (void*)&TestSlave_obj1801_Event_Timer }
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   198
                     };
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   199
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   200
/* index 0x1A00 :   Transmit PDO 1 Mapping. */
79
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
   201
                    UNS8 TestSlave_highestSubIndex_obj1A00 = 2; /* number of subindex - 1*/
0
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   202
                    UNS32 TestSlave_obj1A00[] = 
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   203
                    {
79
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
   204
                      0x20000008,	/* 536870920 */
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
   205
                      0x20010008	/* 536936456 */
0
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   206
                    };
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   207
                    subindex TestSlave_Index1A00[] = 
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   208
                     {
79
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
   209
                       { RW, uint8, sizeof (UNS8), (void*)&TestSlave_highestSubIndex_obj1A00 },
0
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   210
                       { RW, uint32, sizeof (UNS32), (void*)&TestSlave_obj1A00[0] },
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   211
                       { RW, uint32, sizeof (UNS32), (void*)&TestSlave_obj1A00[1] }
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   212
                     };
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   213
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   214
/* index 0x1A01 :   Transmit PDO 2 Mapping. */
79
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
   215
                    UNS8 TestSlave_highestSubIndex_obj1A01 = 2; /* number of subindex - 1*/
0
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   216
                    UNS32 TestSlave_obj1A01[] = 
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   217
                    {
79
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
   218
                      0x20020008,	/* 537001992 */
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
   219
                      0x20030008	/* 537067528 */
0
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   220
                    };
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   221
                    subindex TestSlave_Index1A01[] = 
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   222
                     {
79
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
   223
                       { RW, uint8, sizeof (UNS8), (void*)&TestSlave_highestSubIndex_obj1A01 },
0
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   224
                       { RW, uint32, sizeof (UNS32), (void*)&TestSlave_obj1A01[0] },
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   225
                       { RW, uint32, sizeof (UNS32), (void*)&TestSlave_obj1A01[1] }
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   226
                     };
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   227
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   228
/* index 0x2000 :   Mapped variable SlaveMap1 */
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   229
                    subindex TestSlave_Index2000[] = 
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   230
                     {
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   231
                       { RW, uint8, sizeof (UNS8), (void*)&SlaveMap1 }
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   232
                     };
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   233
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   234
/* index 0x2001 :   Mapped variable SlaveMap2 */
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   235
                    subindex TestSlave_Index2001[] = 
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   236
                     {
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   237
                       { RW, uint8, sizeof (UNS8), (void*)&SlaveMap2 }
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   238
                     };
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   239
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   240
/* index 0x2002 :   Mapped variable SlaveMap3 */
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   241
                    subindex TestSlave_Index2002[] = 
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   242
                     {
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   243
                       { RW, uint8, sizeof (UNS8), (void*)&SlaveMap3 }
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   244
                     };
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   245
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   246
/* index 0x2003 :   Mapped variable SlaveMap4 */
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   247
                    subindex TestSlave_Index2003[] = 
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   248
                     {
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   249
                       { RW, uint8, sizeof (UNS8), (void*)&SlaveMap4 }
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   250
                     };
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   251
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   252
const indextable TestSlave_objdict[] = 
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   253
{
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   254
  { (subindex*)TestSlave_Index1000,sizeof(TestSlave_Index1000)/sizeof(TestSlave_Index1000[0]), 0x1000},
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   255
  { (subindex*)TestSlave_Index1001,sizeof(TestSlave_Index1001)/sizeof(TestSlave_Index1001[0]), 0x1001},
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   256
  { (subindex*)TestSlave_Index1005,sizeof(TestSlave_Index1005)/sizeof(TestSlave_Index1005[0]), 0x1005},
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   257
  { (subindex*)TestSlave_Index1006,sizeof(TestSlave_Index1006)/sizeof(TestSlave_Index1006[0]), 0x1006},
23
6a5cdca4de01 Modification of the dictionnary to support NVRAM.
oremeq
parents: 0
diff changeset
   258
  { (subindex*)TestSlave_Index1010,sizeof(TestSlave_Index1010)/sizeof(TestSlave_Index1010[0]), 0x1010},
6a5cdca4de01 Modification of the dictionnary to support NVRAM.
oremeq
parents: 0
diff changeset
   259
  { (subindex*)TestSlave_Index1011,sizeof(TestSlave_Index1011)/sizeof(TestSlave_Index1011[0]), 0x1011},
0
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   260
  { (subindex*)TestSlave_Index1017,sizeof(TestSlave_Index1017)/sizeof(TestSlave_Index1017[0]), 0x1017},
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   261
  { (subindex*)TestSlave_Index1018,sizeof(TestSlave_Index1018)/sizeof(TestSlave_Index1018[0]), 0x1018},
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   262
  { (subindex*)TestSlave_Index1200,sizeof(TestSlave_Index1200)/sizeof(TestSlave_Index1200[0]), 0x1200},
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   263
  { (subindex*)TestSlave_Index1800,sizeof(TestSlave_Index1800)/sizeof(TestSlave_Index1800[0]), 0x1800},
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   264
  { (subindex*)TestSlave_Index1801,sizeof(TestSlave_Index1801)/sizeof(TestSlave_Index1801[0]), 0x1801},
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   265
  { (subindex*)TestSlave_Index1A00,sizeof(TestSlave_Index1A00)/sizeof(TestSlave_Index1A00[0]), 0x1A00},
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   266
  { (subindex*)TestSlave_Index1A01,sizeof(TestSlave_Index1A01)/sizeof(TestSlave_Index1A01[0]), 0x1A01},
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   267
  { (subindex*)TestSlave_Index2000,sizeof(TestSlave_Index2000)/sizeof(TestSlave_Index2000[0]), 0x2000},
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   268
  { (subindex*)TestSlave_Index2001,sizeof(TestSlave_Index2001)/sizeof(TestSlave_Index2001[0]), 0x2001},
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   269
  { (subindex*)TestSlave_Index2002,sizeof(TestSlave_Index2002)/sizeof(TestSlave_Index2002[0]), 0x2002},
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   270
  { (subindex*)TestSlave_Index2003,sizeof(TestSlave_Index2003)/sizeof(TestSlave_Index2003[0]), 0x2003},
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   271
};
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   272
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   273
const indextable * TestSlave_scanIndexOD (UNS16 wIndex, UNS32 * errorCode, ODCallback_t **callbacks)
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   274
{
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   275
	int i;
23
6a5cdca4de01 Modification of the dictionnary to support NVRAM.
oremeq
parents: 0
diff changeset
   276
	*callbacks = NULL;
0
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   277
	switch(wIndex){
23
6a5cdca4de01 Modification of the dictionnary to support NVRAM.
oremeq
parents: 0
diff changeset
   278
		case 0x1000: i = 0;break;
6a5cdca4de01 Modification of the dictionnary to support NVRAM.
oremeq
parents: 0
diff changeset
   279
		case 0x1001: i = 1;break;
6a5cdca4de01 Modification of the dictionnary to support NVRAM.
oremeq
parents: 0
diff changeset
   280
		case 0x1005: i = 2;*callbacks = TestSlave_Index1005_callbacks; break;
6a5cdca4de01 Modification of the dictionnary to support NVRAM.
oremeq
parents: 0
diff changeset
   281
		case 0x1006: i = 3;*callbacks = TestSlave_Index1006_callbacks; break;
6a5cdca4de01 Modification of the dictionnary to support NVRAM.
oremeq
parents: 0
diff changeset
   282
		case 0x1010: i = 4;*callbacks = TestSlave_Index1010_callbacks; break;
6a5cdca4de01 Modification of the dictionnary to support NVRAM.
oremeq
parents: 0
diff changeset
   283
		case 0x1011: i = 5;*callbacks = TestSlave_Index1011_callbacks; break;
6a5cdca4de01 Modification of the dictionnary to support NVRAM.
oremeq
parents: 0
diff changeset
   284
		case 0x1017: i = 6;break;
6a5cdca4de01 Modification of the dictionnary to support NVRAM.
oremeq
parents: 0
diff changeset
   285
		case 0x1018: i = 7;break;
6a5cdca4de01 Modification of the dictionnary to support NVRAM.
oremeq
parents: 0
diff changeset
   286
		case 0x1200: i = 8;break;
6a5cdca4de01 Modification of the dictionnary to support NVRAM.
oremeq
parents: 0
diff changeset
   287
		case 0x1800: i = 9;break;
6a5cdca4de01 Modification of the dictionnary to support NVRAM.
oremeq
parents: 0
diff changeset
   288
		case 0x1801: i = 10;break;
6a5cdca4de01 Modification of the dictionnary to support NVRAM.
oremeq
parents: 0
diff changeset
   289
		case 0x1A00: i = 11;break;
6a5cdca4de01 Modification of the dictionnary to support NVRAM.
oremeq
parents: 0
diff changeset
   290
		case 0x1A01: i = 12;break;
6a5cdca4de01 Modification of the dictionnary to support NVRAM.
oremeq
parents: 0
diff changeset
   291
		case 0x2000: i = 13;break;
6a5cdca4de01 Modification of the dictionnary to support NVRAM.
oremeq
parents: 0
diff changeset
   292
		case 0x2001: i = 14;break;
6a5cdca4de01 Modification of the dictionnary to support NVRAM.
oremeq
parents: 0
diff changeset
   293
		case 0x2002: i = 15;break;
6a5cdca4de01 Modification of the dictionnary to support NVRAM.
oremeq
parents: 0
diff changeset
   294
		case 0x2003: i = 16;break;
0
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   295
		default:
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   296
			*errorCode = OD_NO_SUCH_OBJECT;
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   297
			return NULL;
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   298
	}
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   299
	*errorCode = OD_SUCCESSFUL;
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   300
	return &TestSlave_objdict[i];
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   301
}
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   302
79
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
   303
/* To count at which received SYNC a PDO must be sent.
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
   304
 * Even if no pdoTransmit are defined, at least one entry is computed
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
   305
 * for compilations issues.
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
   306
 */
0
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   307
UNS8 TestSlave_count_sync[2] = {0,};
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   308
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   309
quick_index TestSlave_firstIndex = {
79
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
   310
  8, /* SDO_SVR */
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
   311
  0, /* SDO_CLT */
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
   312
  0, /* PDO_RCV */
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
   313
  0, /* PDO_RCV_MAP */
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
   314
  9, /* PDO_TRS */
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
   315
  11 /* PDO_TRS_MAP */
0
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   316
};
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   317
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   318
quick_index TestSlave_lastIndex = {
79
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
   319
  8, /* SDO_SVR */
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
   320
  0, /* SDO_CLT */
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
   321
  0, /* PDO_RCV */
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
   322
  0, /* PDO_RCV_MAP */
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
   323
  10, /* PDO_TRS */
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
   324
  12 /* 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
UNS16 TestSlave_ObjdictSize = sizeof(TestSlave_objdict)/sizeof(TestSlave_objdict[0]); 
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   328
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   329
CO_Data TestSlave_Data = CANOPEN_NODE_DATA_INITIALIZER(TestSlave);
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   330