#include "TestSlave.h"
Include dependency graph for TestSlave.c:
Go to the source code of this file.
const indextable* TestSlave_scanIndexOD | ( | UNS16 | wIndex, | |
UNS32 * | errorCode, | |||
ODCallback_t ** | callbacks | |||
) |
Definition at line 500 of file TestSlave.c.
References OD_NO_SUCH_OBJECT, OD_SUCCESSFUL, TestSlave_Index1005_callbacks, TestSlave_Index1006_callbacks, TestSlave_Index1010_callbacks, TestSlave_Index1011_callbacks, TestSlave_Index1017_callbacks, TestSlave_Index1800_callbacks, TestSlave_Index1801_callbacks, TestSlave_Index1802_callbacks, TestSlave_Index1803_callbacks, TestSlave_Index1804_callbacks, and TestSlave_objdict.
UNS32 TestSlave_valueRangeTest | ( | UNS8 | typeValue, | |
void * | value | |||
) |
Definition at line 27 of file TestSlave.c.
UNS8 SlaveMap1 = 0x0 |
Definition at line 9 of file TestSlave.c.
Referenced by OnMasterMap1Update(), and TestSlave_post_sync().
UNS32 SlaveMap10 = 0x0 |
UNS16 SlaveMap11 = 0x0 |
INTEGER16 SlaveMap12 = 0x0 |
INTEGER16 SlaveMap13 = 0x4D2 |
Definition at line 21 of file TestSlave.c.
Referenced by TestSlave_post_sync(), and TestSlave_post_TPDO().
UNS8 SlaveMap2 = 0x0 |
UNS8 SlaveMap3 = 0x0 |
UNS8 SlaveMap4 = 0x0 |
UNS8 SlaveMap5 = 0x0 |
UNS8 SlaveMap6 = 0x0 |
UNS8 SlaveMap7 = 0x0 |
UNS8 SlaveMap8 = 0x0 |
UNS8 SlaveMap9 = 0x0 |
UNS8 TestSlave_bDeviceNodeId = 0x02 |
Definition at line 38 of file TestSlave.c.
CO_Data TestSlave_Data = CANOPEN_NODE_DATA_INITIALIZER(TestSlave) |
TIMER_HANDLE TestSlave_heartBeatTimers[1] |
Definition at line 45 of file TestSlave.c.
UNS8 TestSlave_highestSubIndex_obj1010 = 4 |
Definition at line 92 of file TestSlave.c.
UNS8 TestSlave_highestSubIndex_obj1011 = 4 |
Definition at line 115 of file TestSlave.c.
UNS8 TestSlave_highestSubIndex_obj1016 = 0 |
Definition at line 138 of file TestSlave.c.
UNS8 TestSlave_highestSubIndex_obj1018 = 4 |
Definition at line 153 of file TestSlave.c.
UNS8 TestSlave_highestSubIndex_obj1200 = 2 |
Definition at line 168 of file TestSlave.c.
UNS8 TestSlave_highestSubIndex_obj1800 = 5 |
Definition at line 179 of file TestSlave.c.
UNS8 TestSlave_highestSubIndex_obj1801 = 5 |
Definition at line 205 of file TestSlave.c.
UNS8 TestSlave_highestSubIndex_obj1802 = 5 |
Definition at line 231 of file TestSlave.c.
UNS8 TestSlave_highestSubIndex_obj1803 = 5 |
Definition at line 257 of file TestSlave.c.
UNS8 TestSlave_highestSubIndex_obj1804 = 5 |
Definition at line 283 of file TestSlave.c.
UNS8 TestSlave_highestSubIndex_obj1A00 = 10 |
Definition at line 309 of file TestSlave.c.
UNS8 TestSlave_highestSubIndex_obj1A01 = 1 |
Definition at line 339 of file TestSlave.c.
UNS8 TestSlave_highestSubIndex_obj1A02 = 1 |
Definition at line 351 of file TestSlave.c.
UNS8 TestSlave_highestSubIndex_obj1A03 = 1 |
Definition at line 363 of file TestSlave.c.
UNS8 TestSlave_highestSubIndex_obj1A04 = 1 |
Definition at line 375 of file TestSlave.c.
const UNS8 TestSlave_iam_a_slave = 1 |
Definition at line 43 of file TestSlave.c.
Initial value:
{ { RO, uint32, sizeof (UNS32), (void*)&TestSlave_obj1000 } }
Definition at line 57 of file TestSlave.c.
Initial value:
{ { RO, uint8, sizeof (UNS8), (void*)&TestSlave_obj1001 } }
Definition at line 64 of file TestSlave.c.
Initial value:
{ { RW, uint32, sizeof (UNS32), (void*)&TestSlave_obj1005 } }
Definition at line 75 of file TestSlave.c.
Initial value:
{ NULL, }
Definition at line 71 of file TestSlave.c.
Referenced by TestSlave_scanIndexOD().
Initial value:
{ { RW, uint32, sizeof (UNS32), (void*)&TestSlave_obj1006 } }
Definition at line 86 of file TestSlave.c.
Initial value:
{ NULL, }
Definition at line 82 of file TestSlave.c.
Referenced by TestSlave_scanIndexOD().
Initial value:
{ { RO, uint8, sizeof (UNS8), (void*)&TestSlave_highestSubIndex_obj1010 }, { RW, uint32, sizeof (UNS32), (void*)&TestSlave_obj1010_Save_All_Parameters }, { RW, uint32, sizeof (UNS32), (void*)&TestSlave_obj1010_Save_Communication_Parameters }, { RW, uint32, sizeof (UNS32), (void*)&TestSlave_obj1010_Save_Application_Parameters }, { RW, uint32, sizeof (UNS32), (void*)&TestSlave_obj1010_Save_Manufacturer_Parameters } }
Definition at line 105 of file TestSlave.c.
Initial value:
{ NULL, NULL, NULL, NULL, NULL, }
Definition at line 97 of file TestSlave.c.
Referenced by TestSlave_scanIndexOD().
Initial value:
{ { RO, uint8, sizeof (UNS8), (void*)&TestSlave_highestSubIndex_obj1011 }, { RW, uint32, sizeof (UNS32), (void*)&TestSlave_obj1011_Restore_All_Default_Parameters }, { RW, uint32, sizeof (UNS32), (void*)&TestSlave_obj1011_Restore_Communication_Default_Parameters }, { RW, uint32, sizeof (UNS32), (void*)&TestSlave_obj1011_Restore_Application_Default_Parameters }, { RW, uint32, sizeof (UNS32), (void*)&TestSlave_obj1011_Restore_Manufacturer_Default_Parameters } }
Definition at line 128 of file TestSlave.c.
Initial value:
{ NULL, NULL, NULL, NULL, NULL, }
Definition at line 120 of file TestSlave.c.
Referenced by TestSlave_scanIndexOD().
Initial value:
{ { RW, uint16, sizeof (UNS16), (void*)&TestSlave_obj1017 } }
Definition at line 147 of file TestSlave.c.
Initial value:
{ NULL, }
Definition at line 143 of file TestSlave.c.
Referenced by TestSlave_scanIndexOD().
Initial value:
{ { RO, uint8, sizeof (UNS8), (void*)&TestSlave_highestSubIndex_obj1018 }, { RO, uint32, sizeof (UNS32), (void*)&TestSlave_obj1018_Vendor_ID }, { RO, uint32, sizeof (UNS32), (void*)&TestSlave_obj1018_Product_Code }, { RO, uint32, sizeof (UNS32), (void*)&TestSlave_obj1018_Revision_Number }, { RO, uint32, sizeof (UNS32), (void*)&TestSlave_obj1018_Serial_Number } }
Definition at line 158 of file TestSlave.c.
Initial value:
{ { RO, uint8, sizeof (UNS8), (void*)&TestSlave_highestSubIndex_obj1200 }, { RO, uint32, sizeof (UNS32), (void*)&TestSlave_obj1200_COB_ID_Client_to_Server_Receive_SDO }, { RO, uint32, sizeof (UNS32), (void*)&TestSlave_obj1200_COB_ID_Server_to_Client_Transmit_SDO } }
Definition at line 171 of file TestSlave.c.
Initial value:
{ { RO, uint8, sizeof (UNS8), (void*)&TestSlave_highestSubIndex_obj1800 }, { RW, uint32, sizeof (UNS32), (void*)&TestSlave_obj1800_COB_ID_used_by_PDO }, { RW|TO_BE_SAVE, uint8, sizeof (UNS8), (void*)&TestSlave_obj1800_Transmission_Type }, { RW|TO_BE_SAVE, uint16, sizeof (UNS16), (void*)&TestSlave_obj1800_Inhibit_Time }, { RW, uint8, sizeof (UNS8), (void*)&TestSlave_obj1800_Compatibility_Entry }, { RW, uint16, sizeof (UNS16), (void*)&TestSlave_obj1800_Event_Timer } }
Definition at line 194 of file TestSlave.c.
Initial value:
{ NULL, NULL, NULL, NULL, NULL, NULL, }
Definition at line 185 of file TestSlave.c.
Referenced by TestSlave_scanIndexOD().
Initial value:
{ { RO, uint8, sizeof (UNS8), (void*)&TestSlave_highestSubIndex_obj1801 }, { RW, uint32, sizeof (UNS32), (void*)&TestSlave_obj1801_COB_ID_used_by_PDO }, { RW, uint8, sizeof (UNS8), (void*)&TestSlave_obj1801_Transmission_Type }, { RW, uint16, sizeof (UNS16), (void*)&TestSlave_obj1801_Inhibit_Time }, { RW, uint8, sizeof (UNS8), (void*)&TestSlave_obj1801_Compatibility_Entry }, { RW, uint16, sizeof (UNS16), (void*)&TestSlave_obj1801_Event_Timer } }
Definition at line 220 of file TestSlave.c.
Initial value:
{ NULL, NULL, NULL, NULL, NULL, NULL, }
Definition at line 211 of file TestSlave.c.
Referenced by TestSlave_scanIndexOD().
Initial value:
{ { RO, uint8, sizeof (UNS8), (void*)&TestSlave_highestSubIndex_obj1802 }, { RW, uint32, sizeof (UNS32), (void*)&TestSlave_obj1802_COB_ID_used_by_PDO }, { RW, uint8, sizeof (UNS8), (void*)&TestSlave_obj1802_Transmission_Type }, { RW, uint16, sizeof (UNS16), (void*)&TestSlave_obj1802_Inhibit_Time }, { RW, uint8, sizeof (UNS8), (void*)&TestSlave_obj1802_Compatibility_Entry }, { RW, uint16, sizeof (UNS16), (void*)&TestSlave_obj1802_Event_Timer } }
Definition at line 246 of file TestSlave.c.
Initial value:
{ NULL, NULL, NULL, NULL, NULL, NULL, }
Definition at line 237 of file TestSlave.c.
Referenced by TestSlave_scanIndexOD().
Initial value:
{ { RO, uint8, sizeof (UNS8), (void*)&TestSlave_highestSubIndex_obj1803 }, { RW, uint32, sizeof (UNS32), (void*)&TestSlave_obj1803_COB_ID_used_by_PDO }, { RW, uint8, sizeof (UNS8), (void*)&TestSlave_obj1803_Transmission_Type }, { RW, uint16, sizeof (UNS16), (void*)&TestSlave_obj1803_Inhibit_Time }, { RW, uint8, sizeof (UNS8), (void*)&TestSlave_obj1803_Compatibility_Entry }, { RW, uint16, sizeof (UNS16), (void*)&TestSlave_obj1803_Event_Timer } }
Definition at line 272 of file TestSlave.c.
Initial value:
{ NULL, NULL, NULL, NULL, NULL, NULL, }
Definition at line 263 of file TestSlave.c.
Referenced by TestSlave_scanIndexOD().
Initial value:
{ { RO, uint8, sizeof (UNS8), (void*)&TestSlave_highestSubIndex_obj1804 }, { RW, uint32, sizeof (UNS32), (void*)&TestSlave_obj1804_COB_ID_used_by_PDO }, { RW, uint8, sizeof (UNS8), (void*)&TestSlave_obj1804_Transmission_Type }, { RW, uint16, sizeof (UNS16), (void*)&TestSlave_obj1804_Inhibit_Time }, { RW, uint8, sizeof (UNS8), (void*)&TestSlave_obj1804_Compatibility_Entry }, { RW, uint16, sizeof (UNS16), (void*)&TestSlave_obj1804_Event_Timer } }
Definition at line 298 of file TestSlave.c.
Initial value:
{ NULL, NULL, NULL, NULL, NULL, NULL, }
Definition at line 289 of file TestSlave.c.
Referenced by TestSlave_scanIndexOD().
Initial value:
{ { RW, uint8, sizeof (UNS8), (void*)&TestSlave_highestSubIndex_obj1A00 }, { RW, uint32, sizeof (UNS32), (void*)&TestSlave_obj1A00[0] }, { RW, uint32, sizeof (UNS32), (void*)&TestSlave_obj1A00[1] }, { RW, uint32, sizeof (UNS32), (void*)&TestSlave_obj1A00[2] }, { RW, uint32, sizeof (UNS32), (void*)&TestSlave_obj1A00[3] }, { RW, uint32, sizeof (UNS32), (void*)&TestSlave_obj1A00[4] }, { RW, uint32, sizeof (UNS32), (void*)&TestSlave_obj1A00[5] }, { RW, uint32, sizeof (UNS32), (void*)&TestSlave_obj1A00[6] }, { RW, uint32, sizeof (UNS32), (void*)&TestSlave_obj1A00[7] }, { RW, uint32, sizeof (UNS32), (void*)&TestSlave_obj1A00[8] }, { RW, uint32, sizeof (UNS32), (void*)&TestSlave_obj1A00[9] } }
Definition at line 323 of file TestSlave.c.
Initial value:
{ { RW, uint8, sizeof (UNS8), (void*)&TestSlave_highestSubIndex_obj1A01 }, { RW, uint32, sizeof (UNS32), (void*)&TestSlave_obj1A01[0] } }
Definition at line 344 of file TestSlave.c.
Initial value:
{ { RW, uint8, sizeof (UNS8), (void*)&TestSlave_highestSubIndex_obj1A02 }, { RW, uint32, sizeof (UNS32), (void*)&TestSlave_obj1A02[0] } }
Definition at line 356 of file TestSlave.c.
Initial value:
{ { RW, uint8, sizeof (UNS8), (void*)&TestSlave_highestSubIndex_obj1A03 }, { RW, uint32, sizeof (UNS32), (void*)&TestSlave_obj1A03[0] } }
Definition at line 368 of file TestSlave.c.
Initial value:
{ { RW, uint8, sizeof (UNS8), (void*)&TestSlave_highestSubIndex_obj1A04 }, { RW, uint32, sizeof (UNS32), (void*)&TestSlave_obj1A04[0] } }
Definition at line 380 of file TestSlave.c.
Initial value:
{ { RW, uint32, sizeof (UNS32), (void*)&SlaveMap10 } }
Definition at line 441 of file TestSlave.c.
Initial value:
{ { RW, uint16, sizeof (UNS16), (void*)&SlaveMap11 } }
Definition at line 447 of file TestSlave.c.
Initial value:
{ { RW, int16, sizeof (INTEGER16), (void*)&SlaveMap12 } }
Definition at line 453 of file TestSlave.c.
Initial value:
{ { RW, int16, sizeof (INTEGER16), (void*)&SlaveMap13 } }
Definition at line 459 of file TestSlave.c.
UNS32 TestSlave_obj1000 = 0x12D |
Definition at line 56 of file TestSlave.c.
UNS8 TestSlave_obj1001 = 0x0 |
Definition at line 63 of file TestSlave.c.
UNS32 TestSlave_obj1005 = 0x80 |
Definition at line 70 of file TestSlave.c.
UNS32 TestSlave_obj1006 = 0x0 |
Definition at line 81 of file TestSlave.c.
UNS32 TestSlave_obj1010_Save_All_Parameters = 0x0 |
Definition at line 93 of file TestSlave.c.
UNS32 TestSlave_obj1010_Save_Application_Parameters = 0x0 |
Definition at line 95 of file TestSlave.c.
UNS32 TestSlave_obj1010_Save_Communication_Parameters = 0x0 |
Definition at line 94 of file TestSlave.c.
UNS32 TestSlave_obj1010_Save_Manufacturer_Parameters = 0x0 |
Definition at line 96 of file TestSlave.c.
UNS32 TestSlave_obj1011_Restore_All_Default_Parameters = 0x0 |
Definition at line 116 of file TestSlave.c.
Definition at line 118 of file TestSlave.c.
Definition at line 117 of file TestSlave.c.
Definition at line 119 of file TestSlave.c.
UNS32 TestSlave_obj1016[] = {0} |
Definition at line 139 of file TestSlave.c.
UNS16 TestSlave_obj1017 = 0x0 |
Definition at line 142 of file TestSlave.c.
UNS32 TestSlave_obj1018_Product_Code = 0x0 |
Definition at line 155 of file TestSlave.c.
UNS32 TestSlave_obj1018_Revision_Number = 0x0 |
Definition at line 156 of file TestSlave.c.
UNS32 TestSlave_obj1018_Serial_Number = 0x0 |
Definition at line 157 of file TestSlave.c.
UNS32 TestSlave_obj1018_Vendor_ID = 0x0 |
Definition at line 154 of file TestSlave.c.
UNS32 TestSlave_obj1200_COB_ID_Client_to_Server_Receive_SDO = 0x601 |
Definition at line 169 of file TestSlave.c.
UNS32 TestSlave_obj1200_COB_ID_Server_to_Client_Transmit_SDO = 0x581 |
Definition at line 170 of file TestSlave.c.
UNS32 TestSlave_obj1800_COB_ID_used_by_PDO = 0x182 |
Definition at line 180 of file TestSlave.c.
UNS8 TestSlave_obj1800_Compatibility_Entry = 0x0 |
Definition at line 183 of file TestSlave.c.
UNS16 TestSlave_obj1800_Event_Timer = 0x0 |
Definition at line 184 of file TestSlave.c.
UNS16 TestSlave_obj1800_Inhibit_Time = 0x0 |
Definition at line 182 of file TestSlave.c.
UNS8 TestSlave_obj1800_Transmission_Type = 0x0 |
Definition at line 181 of file TestSlave.c.
UNS32 TestSlave_obj1801_COB_ID_used_by_PDO = 0x282 |
Definition at line 206 of file TestSlave.c.
UNS8 TestSlave_obj1801_Compatibility_Entry = 0x0 |
Definition at line 209 of file TestSlave.c.
UNS16 TestSlave_obj1801_Event_Timer = 0x0 |
Definition at line 210 of file TestSlave.c.
UNS16 TestSlave_obj1801_Inhibit_Time = 0x0 |
Definition at line 208 of file TestSlave.c.
UNS8 TestSlave_obj1801_Transmission_Type = 0x0 |
Definition at line 207 of file TestSlave.c.
UNS32 TestSlave_obj1802_COB_ID_used_by_PDO = 0x382 |
Definition at line 232 of file TestSlave.c.
UNS8 TestSlave_obj1802_Compatibility_Entry = 0x0 |
Definition at line 235 of file TestSlave.c.
UNS16 TestSlave_obj1802_Event_Timer = 0x3E8 |
Definition at line 236 of file TestSlave.c.
UNS16 TestSlave_obj1802_Inhibit_Time = 0x1388 |
Definition at line 234 of file TestSlave.c.
UNS8 TestSlave_obj1802_Transmission_Type = 0xFF |
Definition at line 233 of file TestSlave.c.
UNS32 TestSlave_obj1803_COB_ID_used_by_PDO = 0x482 |
Definition at line 258 of file TestSlave.c.
UNS8 TestSlave_obj1803_Compatibility_Entry = 0x0 |
Definition at line 261 of file TestSlave.c.
UNS16 TestSlave_obj1803_Event_Timer = 0x0 |
Definition at line 262 of file TestSlave.c.
UNS16 TestSlave_obj1803_Inhibit_Time = 0x0 |
Definition at line 260 of file TestSlave.c.
UNS8 TestSlave_obj1803_Transmission_Type = 0xFC |
Definition at line 259 of file TestSlave.c.
UNS32 TestSlave_obj1804_COB_ID_used_by_PDO = 0x401 |
Definition at line 284 of file TestSlave.c.
UNS8 TestSlave_obj1804_Compatibility_Entry = 0x0 |
Definition at line 287 of file TestSlave.c.
UNS16 TestSlave_obj1804_Event_Timer = 0x0 |
Definition at line 288 of file TestSlave.c.
UNS16 TestSlave_obj1804_Inhibit_Time = 0x0 |
Definition at line 286 of file TestSlave.c.
UNS8 TestSlave_obj1804_Transmission_Type = 0xFD |
Definition at line 285 of file TestSlave.c.
UNS32 TestSlave_obj1A00[] |
Initial value:
{ 0x20000001, 0x20010001, 0x20020001, 0x20030001, 0x20040001, 0x20050001, 0x20060001, 0x20070001, 0x20080008, 0x20090020 }
Definition at line 310 of file TestSlave.c.
UNS32 TestSlave_obj1A01[] |
UNS32 TestSlave_obj1A02[] |
UNS32 TestSlave_obj1A03[] |
UNS32 TestSlave_obj1A04[] |
const indextable TestSlave_objdict[] |
UNS16 TestSlave_ObjdictSize = sizeof(TestSlave_objdict)/sizeof(TestSlave_objdict[0]) |
Definition at line 570 of file TestSlave.c.
s_PDO_status TestSlave_PDO_status[5] = {s_PDO_staus_Initializer,s_PDO_staus_Initializer,s_PDO_staus_Initializer,s_PDO_staus_Initializer,s_PDO_staus_Initializer} |
Definition at line 550 of file TestSlave.c.