nico@207: nico@207:
nico@207:#include "TestMaster.h"
Functions | |
UNS32 | TestMaster_valueRangeTest (UNS8 typeValue, void *value) |
const indextable * | TestMaster_scanIndexOD (UNS16 wIndex, UNS32 *errorCode, ODCallback_t **callbacks) |
Variables | |
UNS8 | DO = 0x0 |
UNS8 | DI1 = 0x0 |
UNS8 | DI2 = 0x0 |
UNS8 | DI3 = 0x0 |
UNS8 | DI4 = 0x0 |
UNS8 | DI5 = 0x0 |
UNS8 | DI6 = 0x0 |
UNS8 | DI7 = 0x0 |
UNS8 | DI8 = 0x0 |
UNS8 | TestMaster_bDeviceNodeId = 0x01 |
const UNS8 | TestMaster_iam_a_slave = 0 |
TIMER_HANDLE | TestMaster_heartBeatTimers [1] = {TIMER_NONE,} |
UNS32 | TestMaster_obj1000 = 0x191 |
subindex | TestMaster_Index1000 [] |
UNS8 | TestMaster_obj1001 = 0x0 |
subindex | TestMaster_Index1001 [] |
UNS32 | TestMaster_obj1005 = 0x40000080 |
ODCallback_t | TestMaster_Index1005_callbacks [] |
subindex | TestMaster_Index1005 [] |
UNS32 | TestMaster_obj1006 = 0xC350 |
ODCallback_t | TestMaster_Index1006_callbacks [] |
subindex | TestMaster_Index1006 [] |
UNS8 | TestMaster_highestSubIndex_obj1016 = 1 |
UNS32 | TestMaster_obj1016 [] |
subindex | TestMaster_Index1016 [] |
UNS16 | TestMaster_obj1017 = 0x0 |
UNS8 | TestMaster_highestSubIndex_obj1018 = 4 |
UNS32 | TestMaster_obj1018_Vendor_ID = 0x0 |
UNS32 | TestMaster_obj1018_Product_Code = 0x0 |
UNS32 | TestMaster_obj1018_Revision_Number = 0x0 |
UNS32 | TestMaster_obj1018_Serial_Number = 0x0 |
subindex | TestMaster_Index1018 [] |
UNS8 | TestMaster_highestSubIndex_obj1280 = 3 |
UNS32 | TestMaster_obj1280_COB_ID_Client_to_Server_Transmit_SDO = 0x640 |
UNS32 | TestMaster_obj1280_COB_ID_Server_to_Client_Receive_SDO = 0x5C0 |
INTEGER32 | TestMaster_obj1280_Node_ID_of_the_SDO_Server = 0x40 |
subindex | TestMaster_Index1280 [] |
UNS8 | TestMaster_highestSubIndex_obj1400 = 5 |
UNS32 | TestMaster_obj1400_COB_ID_used_by_PDO = 0x220 |
UNS8 | TestMaster_obj1400_Transmission_Type = 0x1 |
UNS16 | TestMaster_obj1400_Inhibit_Time = 0x0 |
UNS8 | TestMaster_obj1400_Compatibility_Entry = 0x0 |
UNS16 | TestMaster_obj1400_Event_Timer = 0x0 |
subindex | TestMaster_Index1400 [] |
UNS8 | TestMaster_highestSubIndex_obj1600 = 8 |
UNS32 | TestMaster_obj1600 [] |
subindex | TestMaster_Index1600 [] |
UNS8 | TestMaster_highestSubIndex_obj1800 = 5 |
UNS32 | TestMaster_obj1800_COB_ID_used_by_PDO = 0x240 |
UNS8 | TestMaster_obj1800_Transmission_Type = 0x1 |
UNS16 | TestMaster_obj1800_Inhibit_Time = 0x0 |
UNS8 | TestMaster_obj1800_Compatibility_Entry = 0x0 |
UNS16 | TestMaster_obj1800_Event_Timer = 0x0 |
subindex | TestMaster_Index1800 [] |
UNS8 | TestMaster_highestSubIndex_obj1A00 = 1 |
UNS32 | TestMaster_obj1A00 [] |
subindex | TestMaster_Index1A00 [] |
subindex | TestMaster_Index2000 [] |
subindex | TestMaster_Index200F [] |
subindex | TestMaster_Index2010 [] |
subindex | TestMaster_Index2011 [] |
subindex | TestMaster_Index2012 [] |
subindex | TestMaster_Index2013 [] |
subindex | TestMaster_Index2014 [] |
subindex | TestMaster_Index2015 [] |
subindex | TestMaster_Index2016 [] |
const indextable | TestMaster_objdict [] |
UNS8 | TestMaster_count_sync [1] = {0,} |
quick_index | TestMaster_firstIndex |
quick_index | TestMaster_lastIndex |
UNS16 | TestMaster_ObjdictSize = sizeof(TestMaster_objdict)/sizeof(TestMaster_objdict[0]) |
CO_Data | TestMaster_Data = CANOPEN_NODE_DATA_INITIALIZER(TestMaster) |
const indextable* TestMaster_scanIndexOD | nico@207:( | nico@207:UNS16 | nico@207:wIndex, | nico@207:|
nico@207: | nico@207: | UNS32 * | nico@207:errorCode, | nico@207:|
nico@207: | nico@207: | ODCallback_t ** | nico@207:callbacks | nico@207: |
nico@207: | ) | nico@207:nico@207: |
nico@207: nico@207:
UNS32 TestMaster_valueRangeTest | nico@207:( | nico@207:UNS8 | nico@207:typeValue, | nico@207:|
nico@207: | nico@207: | void * | nico@207:value | nico@207: |
nico@207: | ) | nico@207:nico@207: |
nico@207: nico@207:
nico@207:
UNS8 DI1 = 0x0 | nico@207:
nico@207: nico@207:
UNS8 DI2 = 0x0 | nico@207:
nico@207: nico@207:
UNS8 DI3 = 0x0 | nico@207:
nico@207: nico@207:
UNS8 DI4 = 0x0 | nico@207:
nico@207: nico@207:
UNS8 DI5 = 0x0 | nico@207:
nico@207: nico@207:
UNS8 DI6 = 0x0 | nico@207:
nico@207: nico@207:
UNS8 DI7 = 0x0 | nico@207:
nico@207: nico@207:
UNS8 DI8 = 0x0 | nico@207:
nico@207: nico@207:
UNS8 DO = 0x0 | nico@207:
nico@207: nico@207:
UNS8 TestMaster_bDeviceNodeId = 0x01 | nico@207:
nico@207: nico@207:
UNS8 TestMaster_count_sync[1] = {0,} | nico@207:
nico@207: nico@207:
CO_Data TestMaster_Data = CANOPEN_NODE_DATA_INITIALIZER(TestMaster) | nico@207:
nico@207: nico@207:
quick_index TestMaster_firstIndex | nico@207:
nico@207: Initial value:
{ nico@207: 0, nico@207: 6, nico@207: 7, nico@207: 8, nico@207: 9, nico@207: 10 nico@207: } nico@207:
TIMER_HANDLE TestMaster_heartBeatTimers[1] = {TIMER_NONE,} | nico@207:
nico@207: nico@207:
UNS8 TestMaster_highestSubIndex_obj1016 = 1 | nico@207:
nico@207: nico@207:
UNS8 TestMaster_highestSubIndex_obj1018 = 4 | nico@207:
nico@207: nico@207:
UNS8 TestMaster_highestSubIndex_obj1280 = 3 | nico@207:
nico@207: nico@207:
UNS8 TestMaster_highestSubIndex_obj1400 = 5 | nico@207:
nico@207: nico@207:
UNS8 TestMaster_highestSubIndex_obj1600 = 8 | nico@207:
nico@207: nico@207:
UNS8 TestMaster_highestSubIndex_obj1800 = 5 | nico@207:
nico@207: nico@207:
UNS8 TestMaster_highestSubIndex_obj1A00 = 1 | nico@207:
nico@207: nico@207:
const UNS8 TestMaster_iam_a_slave = 0 | nico@207:
nico@207: nico@207:
subindex TestMaster_Index1000[] | nico@207:
nico@207: Initial value:
nico@207: { nico@207: { RO, uint32, sizeof (UNS32), (void*)&TestMaster_obj1000 } nico@207: } nico@207:
subindex TestMaster_Index1001[] | nico@207:
nico@207: Initial value:
nico@207: { nico@207: { RO, uint8, sizeof (UNS8), (void*)&TestMaster_obj1001 } nico@207: } nico@207:
subindex TestMaster_Index1005[] | nico@207:
nico@207: Initial value:
nico@207: { nico@207: { RW, uint32, sizeof (UNS32), (void*)&TestMaster_obj1005 } nico@207: } nico@207:
ODCallback_t TestMaster_Index1005_callbacks[] | nico@207:
nico@207: Initial value:
nico@207: { nico@207: NULL, nico@207: } nico@207:
subindex TestMaster_Index1006[] | nico@207:
nico@207: Initial value:
nico@207: { nico@207: { RW, uint32, sizeof (UNS32), (void*)&TestMaster_obj1006 } nico@207: } nico@207:
ODCallback_t TestMaster_Index1006_callbacks[] | nico@207:
nico@207: Initial value:
nico@207: { nico@207: NULL, nico@207: } nico@207:
subindex TestMaster_Index1016[] | nico@207:
nico@207: Initial value:
nico@207: { nico@207: { RO, uint8, sizeof (UNS8), (void*)&TestMaster_highestSubIndex_obj1016 }, nico@207: { RW, uint32, sizeof (UNS32), (void*)&TestMaster_obj1016[0] } nico@207: } nico@207:
subindex TestMaster_Index1018[] | nico@207:
nico@207: Initial value:
nico@207: { nico@207: { RO, uint8, sizeof (UNS8), (void*)&TestMaster_highestSubIndex_obj1018 }, nico@207: { RO, uint32, sizeof (UNS32), (void*)&TestMaster_obj1018_Vendor_ID }, nico@207: { RO, uint32, sizeof (UNS32), (void*)&TestMaster_obj1018_Product_Code }, nico@207: { RO, uint32, sizeof (UNS32), (void*)&TestMaster_obj1018_Revision_Number }, nico@207: { RO, uint32, sizeof (UNS32), (void*)&TestMaster_obj1018_Serial_Number } nico@207: } nico@207:
subindex TestMaster_Index1280[] | nico@207:
nico@207: Initial value:
nico@207: { nico@207: { RO, uint8, sizeof (UNS8), (void*)&TestMaster_highestSubIndex_obj1280 }, nico@207: { RW, uint32, sizeof (UNS32), (void*)&TestMaster_obj1280_COB_ID_Client_to_Server_Transmit_SDO }, nico@207: { RW, uint32, sizeof (UNS32), (void*)&TestMaster_obj1280_COB_ID_Server_to_Client_Receive_SDO }, nico@207: { RW, int32, sizeof (INTEGER32), (void*)&TestMaster_obj1280_Node_ID_of_the_SDO_Server } nico@207: } nico@207:
subindex TestMaster_Index1400[] | nico@207:
nico@207: Initial value:
nico@207: { nico@207: { RO, uint8, sizeof (UNS8), (void*)&TestMaster_highestSubIndex_obj1400 }, nico@207: { RW, uint32, sizeof (UNS32), (void*)&TestMaster_obj1400_COB_ID_used_by_PDO }, nico@207: { RW, uint8, sizeof (UNS8), (void*)&TestMaster_obj1400_Transmission_Type }, nico@207: { RW, uint16, sizeof (UNS16), (void*)&TestMaster_obj1400_Inhibit_Time }, nico@207: { RW, uint8, sizeof (UNS8), (void*)&TestMaster_obj1400_Compatibility_Entry }, nico@207: { RW, uint16, sizeof (UNS16), (void*)&TestMaster_obj1400_Event_Timer } nico@207: } nico@207:
subindex TestMaster_Index1600[] | nico@207:
nico@207: Initial value:
nico@207: { nico@207: { RW, uint8, sizeof (UNS8), (void*)&TestMaster_highestSubIndex_obj1600 }, nico@207: { RW, uint32, sizeof (UNS32), (void*)&TestMaster_obj1600[0] }, nico@207: { RW, uint32, sizeof (UNS32), (void*)&TestMaster_obj1600[1] }, nico@207: { RW, uint32, sizeof (UNS32), (void*)&TestMaster_obj1600[2] }, nico@207: { RW, uint32, sizeof (UNS32), (void*)&TestMaster_obj1600[3] }, nico@207: { RW, uint32, sizeof (UNS32), (void*)&TestMaster_obj1600[4] }, nico@207: { RW, uint32, sizeof (UNS32), (void*)&TestMaster_obj1600[5] }, nico@207: { RW, uint32, sizeof (UNS32), (void*)&TestMaster_obj1600[6] }, nico@207: { RW, uint32, sizeof (UNS32), (void*)&TestMaster_obj1600[7] } nico@207: } nico@207:
subindex TestMaster_Index1800[] | nico@207:
nico@207: Initial value:
nico@207: { nico@207: { RO, uint8, sizeof (UNS8), (void*)&TestMaster_highestSubIndex_obj1800 }, nico@207: { RW, uint32, sizeof (UNS32), (void*)&TestMaster_obj1800_COB_ID_used_by_PDO }, nico@207: { RW, uint8, sizeof (UNS8), (void*)&TestMaster_obj1800_Transmission_Type }, nico@207: { RW, uint16, sizeof (UNS16), (void*)&TestMaster_obj1800_Inhibit_Time }, nico@207: { RW, uint8, sizeof (UNS8), (void*)&TestMaster_obj1800_Compatibility_Entry }, nico@207: { RW, uint16, sizeof (UNS16), (void*)&TestMaster_obj1800_Event_Timer } nico@207: } nico@207:
subindex TestMaster_Index1A00[] | nico@207:
nico@207: Initial value:
nico@207: { nico@207: { RW, uint8, sizeof (UNS8), (void*)&TestMaster_highestSubIndex_obj1A00 }, nico@207: { RW, uint32, sizeof (UNS32), (void*)&TestMaster_obj1A00[0] } nico@207: } nico@207:
subindex TestMaster_Index2000[] | nico@207:
subindex TestMaster_Index200F[] | nico@207:
subindex TestMaster_Index2010[] | nico@207:
subindex TestMaster_Index2011[] | nico@207:
subindex TestMaster_Index2012[] | nico@207:
subindex TestMaster_Index2013[] | nico@207:
subindex TestMaster_Index2014[] | nico@207:
subindex TestMaster_Index2015[] | nico@207:
subindex TestMaster_Index2016[] | nico@207:
quick_index TestMaster_lastIndex | nico@207:
nico@207: Initial value:
{ nico@207: 0, nico@207: 6, nico@207: 7, nico@207: 8, nico@207: 9, nico@207: 10 nico@207: } nico@207:
UNS32 TestMaster_obj1000 = 0x191 | nico@207:
nico@207: nico@207:
UNS8 TestMaster_obj1001 = 0x0 | nico@207:
nico@207: nico@207:
UNS32 TestMaster_obj1005 = 0x40000080 | nico@207:
nico@207: nico@207:
UNS32 TestMaster_obj1006 = 0xC350 | nico@207:
nico@207: nico@207:
UNS32 TestMaster_obj1016[] | nico@207:
nico@207: Initial value:
nico@207: { nico@207: 0x4005DC nico@207: } nico@207:
UNS16 TestMaster_obj1017 = 0x0 | nico@207:
nico@207: nico@207:
UNS32 TestMaster_obj1018_Product_Code = 0x0 | nico@207:
nico@207: nico@207:
UNS32 TestMaster_obj1018_Revision_Number = 0x0 | nico@207:
nico@207: nico@207:
UNS32 TestMaster_obj1018_Serial_Number = 0x0 | nico@207:
nico@207: nico@207:
UNS32 TestMaster_obj1018_Vendor_ID = 0x0 | nico@207:
nico@207: nico@207:
UNS32 TestMaster_obj1280_COB_ID_Client_to_Server_Transmit_SDO = 0x640 | nico@207:
nico@207: nico@207:
UNS32 TestMaster_obj1280_COB_ID_Server_to_Client_Receive_SDO = 0x5C0 | nico@207:
nico@207: nico@207:
INTEGER32 TestMaster_obj1280_Node_ID_of_the_SDO_Server = 0x40 | nico@207:
nico@207: nico@207:
UNS32 TestMaster_obj1400_COB_ID_used_by_PDO = 0x220 | nico@207:
nico@207: nico@207:
UNS8 TestMaster_obj1400_Compatibility_Entry = 0x0 | nico@207:
nico@207: nico@207:
UNS16 TestMaster_obj1400_Event_Timer = 0x0 | nico@207:
nico@207: nico@207:
UNS16 TestMaster_obj1400_Inhibit_Time = 0x0 | nico@207:
nico@207: nico@207:
UNS8 TestMaster_obj1400_Transmission_Type = 0x1 | nico@207:
nico@207: nico@207:
UNS32 TestMaster_obj1600[] | nico@207:
nico@207: Initial value:
nico@207: { nico@207: 0x200F0001, nico@207: 0x20100001, nico@207: 0x20110001, nico@207: 0x20120001, nico@207: 0x20130001, nico@207: 0x20140001, nico@207: 0x20150001, nico@207: 0x20160001 nico@207: } nico@207:
UNS32 TestMaster_obj1800_COB_ID_used_by_PDO = 0x240 | nico@207:
nico@207: nico@207:
UNS8 TestMaster_obj1800_Compatibility_Entry = 0x0 | nico@207:
nico@207: nico@207:
UNS16 TestMaster_obj1800_Event_Timer = 0x0 | nico@207:
nico@207: nico@207:
UNS16 TestMaster_obj1800_Inhibit_Time = 0x0 | nico@207:
nico@207: nico@207:
UNS8 TestMaster_obj1800_Transmission_Type = 0x1 | nico@207:
nico@207: nico@207:
UNS32 TestMaster_obj1A00[] | nico@207:
nico@207: Initial value:
nico@207: { nico@207: 0x20000008 nico@207: } nico@207:
const indextable TestMaster_objdict[] | nico@207:
nico@207: Initial value:
nico@207: { nico@207: { (subindex*)TestMaster_Index1000,sizeof(TestMaster_Index1000)/sizeof(TestMaster_Index1000[0]), 0x1000}, nico@207: { (subindex*)TestMaster_Index1001,sizeof(TestMaster_Index1001)/sizeof(TestMaster_Index1001[0]), 0x1001}, nico@207: { (subindex*)TestMaster_Index1005,sizeof(TestMaster_Index1005)/sizeof(TestMaster_Index1005[0]), 0x1005}, nico@207: { (subindex*)TestMaster_Index1006,sizeof(TestMaster_Index1006)/sizeof(TestMaster_Index1006[0]), 0x1006}, nico@207: { (subindex*)TestMaster_Index1016,sizeof(TestMaster_Index1016)/sizeof(TestMaster_Index1016[0]), 0x1016}, nico@207: { (subindex*)TestMaster_Index1018,sizeof(TestMaster_Index1018)/sizeof(TestMaster_Index1018[0]), 0x1018}, nico@207: { (subindex*)TestMaster_Index1280,sizeof(TestMaster_Index1280)/sizeof(TestMaster_Index1280[0]), 0x1280}, nico@207: { (subindex*)TestMaster_Index1400,sizeof(TestMaster_Index1400)/sizeof(TestMaster_Index1400[0]), 0x1400}, nico@207: { (subindex*)TestMaster_Index1600,sizeof(TestMaster_Index1600)/sizeof(TestMaster_Index1600[0]), 0x1600}, nico@207: { (subindex*)TestMaster_Index1800,sizeof(TestMaster_Index1800)/sizeof(TestMaster_Index1800[0]), 0x1800}, nico@207: { (subindex*)TestMaster_Index1A00,sizeof(TestMaster_Index1A00)/sizeof(TestMaster_Index1A00[0]), 0x1A00}, nico@207: { (subindex*)TestMaster_Index2000,sizeof(TestMaster_Index2000)/sizeof(TestMaster_Index2000[0]), 0x2000}, nico@207: { (subindex*)TestMaster_Index200F,sizeof(TestMaster_Index200F)/sizeof(TestMaster_Index200F[0]), 0x200F}, nico@207: { (subindex*)TestMaster_Index2010,sizeof(TestMaster_Index2010)/sizeof(TestMaster_Index2010[0]), 0x2010}, nico@207: { (subindex*)TestMaster_Index2011,sizeof(TestMaster_Index2011)/sizeof(TestMaster_Index2011[0]), 0x2011}, nico@207: { (subindex*)TestMaster_Index2012,sizeof(TestMaster_Index2012)/sizeof(TestMaster_Index2012[0]), 0x2012}, nico@207: { (subindex*)TestMaster_Index2013,sizeof(TestMaster_Index2013)/sizeof(TestMaster_Index2013[0]), 0x2013}, nico@207: { (subindex*)TestMaster_Index2014,sizeof(TestMaster_Index2014)/sizeof(TestMaster_Index2014[0]), 0x2014}, nico@207: { (subindex*)TestMaster_Index2015,sizeof(TestMaster_Index2015)/sizeof(TestMaster_Index2015[0]), 0x2015}, nico@207: { (subindex*)TestMaster_Index2016,sizeof(TestMaster_Index2016)/sizeof(TestMaster_Index2016[0]), 0x2016}, nico@207: } nico@207:
UNS16 TestMaster_ObjdictSize = sizeof(TestMaster_objdict)/sizeof(TestMaster_objdict[0]) | nico@207:
nico@207: nico@207:
nico@207: