examples/TestMasterSlave/TestMaster.c File Reference

#include "TestMaster.h"

Functions

UNS32 TestMaster_valueRangeTest (UNS8 typeValue, void *value)
const indextableTestMaster_scanIndexOD (UNS16 wIndex, UNS32 *errorCode, ODCallback_t **callbacks)

Variables

UNS8 MasterMap1 = 0x0
UNS8 MasterMap2 = 0x0
UNS8 MasterMap3 = 0x0
UNS8 MasterMap4 = 0x0
UNS8 MasterMap5 = 0x0
UNS8 MasterMap6 = 0x0
UNS8 MasterMap7 = 0x0
UNS8 MasterMap8 = 0x0
UNS8 MasterMap9 = 0x0
UNS32 MasterMap10 = 0x0
UNS16 MasterMap11 = 0x0
UNS8 TestMaster_bDeviceNodeId = 0x01
const UNS8 TestMaster_iam_a_slave = 0
TIMER_HANDLE TestMaster_heartBeatTimers [1] = {TIMER_NONE,}
UNS32 TestMaster_obj1000 = 0x12D
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_obj1010 = 4
UNS32 TestMaster_obj1010_Save_All_Parameters = 0x0
UNS32 TestMaster_obj1010_Save_Communication_Parameters = 0x0
UNS32 TestMaster_obj1010_Save_Application_Parameters = 0x0
UNS32 TestMaster_obj1010_Save_Manufacturer_Parameters = 0x0
subindex TestMaster_Index1010 []
UNS8 TestMaster_highestSubIndex_obj1011 = 4
UNS32 TestMaster_obj1011_Restore_All_Default_Parameters = 0x0
UNS32 TestMaster_obj1011_Restore_Communication_Default_Parameters = 0x0
UNS32 TestMaster_obj1011_Restore_Application_Default_Parameters = 0x0
UNS32 TestMaster_obj1011_Restore_Manufacturer_Default_Parameters = 0x0
subindex TestMaster_Index1011 []
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 = 0x602
UNS32 TestMaster_obj1280_COB_ID_Server_to_Client_Receive_SDO = 0x582
INTEGER32 TestMaster_obj1280_Node_ID_of_the_SDO_Server = 0x2
subindex TestMaster_Index1280 []
UNS8 TestMaster_highestSubIndex_obj1400 = 5
UNS32 TestMaster_obj1400_COB_ID_used_by_PDO = 0x182
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_obj1401 = 5
UNS32 TestMaster_obj1401_COB_ID_used_by_PDO = 0x0
UNS8 TestMaster_obj1401_Transmission_Type = 0x0
UNS16 TestMaster_obj1401_Inhibit_Time = 0x0
UNS8 TestMaster_obj1401_Compatibility_Entry = 0x0
UNS16 TestMaster_obj1401_Event_Timer = 0x0
subindex TestMaster_Index1401 []
UNS8 TestMaster_highestSubIndex_obj1600 = 10
UNS32 TestMaster_obj1600 []
subindex TestMaster_Index1600 []
UNS8 TestMaster_highestSubIndex_obj1601 = 1
UNS32 TestMaster_obj1601 []
subindex TestMaster_Index1601 []
UNS8 TestMaster_highestSubIndex_obj1F22 = 2
UNS8 * TestMaster_obj1F22 []
subindex TestMaster_Index1F22 []
subindex TestMaster_Index2000 []
subindex TestMaster_Index2001 []
subindex TestMaster_Index2002 []
subindex TestMaster_Index2003 []
subindex TestMaster_Index2004 []
subindex TestMaster_Index2005 []
subindex TestMaster_Index2006 []
subindex TestMaster_Index2007 []
subindex TestMaster_Index2008 []
subindex TestMaster_Index2009 []
subindex TestMaster_Index200A []
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)

Function Documentation

const indextable* TestMaster_scanIndexOD ( UNS16  wIndex,
UNS32 *  errorCode,
ODCallback_t **  callbacks 
)

UNS32 TestMaster_valueRangeTest ( UNS8  typeValue,
void *  value 
)


Variable Documentation

UNS8 MasterMap1 = 0x0

UNS32 MasterMap10 = 0x0

UNS16 MasterMap11 = 0x0

UNS8 MasterMap2 = 0x0

UNS8 MasterMap3 = 0x0

UNS8 MasterMap4 = 0x0

UNS8 MasterMap5 = 0x0

UNS8 MasterMap6 = 0x0

UNS8 MasterMap7 = 0x0

UNS8 MasterMap8 = 0x0

UNS8 MasterMap9 = 0x0

UNS8 TestMaster_bDeviceNodeId = 0x01

UNS8 TestMaster_count_sync[1] = {0,}

CO_Data TestMaster_Data = CANOPEN_NODE_DATA_INITIALIZER(TestMaster)

quick_index TestMaster_firstIndex

Initial value:

 {
  0, 
  8, 
  9, 
  11, 
  0, 
  0 
}

TIMER_HANDLE TestMaster_heartBeatTimers[1] = {TIMER_NONE,}

UNS8 TestMaster_highestSubIndex_obj1010 = 4

UNS8 TestMaster_highestSubIndex_obj1011 = 4

UNS8 TestMaster_highestSubIndex_obj1016 = 1

UNS8 TestMaster_highestSubIndex_obj1018 = 4

UNS8 TestMaster_highestSubIndex_obj1280 = 3

UNS8 TestMaster_highestSubIndex_obj1400 = 5

UNS8 TestMaster_highestSubIndex_obj1401 = 5

UNS8 TestMaster_highestSubIndex_obj1600 = 10

UNS8 TestMaster_highestSubIndex_obj1601 = 1

UNS8 TestMaster_highestSubIndex_obj1F22 = 2

const UNS8 TestMaster_iam_a_slave = 0

subindex TestMaster_Index1000[]

Initial value:

 
                     {
                       { RO, uint32, sizeof (UNS32), (void*)&TestMaster_obj1000 }
                     }

subindex TestMaster_Index1001[]

Initial value:

 
                     {
                       { RO, uint8, sizeof (UNS8), (void*)&TestMaster_obj1001 }
                     }

subindex TestMaster_Index1005[]

Initial value:

 
                     {
                       { RW, uint32, sizeof (UNS32), (void*)&TestMaster_obj1005 }
                     }

ODCallback_t TestMaster_Index1005_callbacks[]

Initial value:

 
                     {
                       NULL,
                     }

subindex TestMaster_Index1006[]

Initial value:

 
                     {
                       { RW, uint32, sizeof (UNS32), (void*)&TestMaster_obj1006 }
                     }

ODCallback_t TestMaster_Index1006_callbacks[]

Initial value:

 
                     {
                       NULL,
                     }

subindex TestMaster_Index1010[]

Initial value:

subindex TestMaster_Index1011[]

Initial value:

subindex TestMaster_Index1016[]

Initial value:

 
                     {
                       { RO, uint8, sizeof (UNS8), (void*)&TestMaster_highestSubIndex_obj1016 },
                       { RW, uint32, sizeof (UNS32), (void*)&TestMaster_obj1016[0] }
                     }

subindex TestMaster_Index1018[]

Initial value:

 
                     {
                       { RO, uint8, sizeof (UNS8), (void*)&TestMaster_highestSubIndex_obj1018 },
                       { RO, uint32, sizeof (UNS32), (void*)&TestMaster_obj1018_Vendor_ID },
                       { RO, uint32, sizeof (UNS32), (void*)&TestMaster_obj1018_Product_Code },
                       { RO, uint32, sizeof (UNS32), (void*)&TestMaster_obj1018_Revision_Number },
                       { RO, uint32, sizeof (UNS32), (void*)&TestMaster_obj1018_Serial_Number }
                     }

subindex TestMaster_Index1280[]

Initial value:

subindex TestMaster_Index1400[]

Initial value:

 
                     {
                       { RO, uint8, sizeof (UNS8), (void*)&TestMaster_highestSubIndex_obj1400 },
                       { RW, uint32, sizeof (UNS32), (void*)&TestMaster_obj1400_COB_ID_used_by_PDO },
                       { RW, uint8, sizeof (UNS8), (void*)&TestMaster_obj1400_Transmission_Type },
                       { RW, uint16, sizeof (UNS16), (void*)&TestMaster_obj1400_Inhibit_Time },
                       { RW, uint8, sizeof (UNS8), (void*)&TestMaster_obj1400_Compatibility_Entry },
                       { RW, uint16, sizeof (UNS16), (void*)&TestMaster_obj1400_Event_Timer }
                     }

subindex TestMaster_Index1401[]

Initial value:

 
                     {
                       { RO, uint8, sizeof (UNS8), (void*)&TestMaster_highestSubIndex_obj1401 },
                       { RW, uint32, sizeof (UNS32), (void*)&TestMaster_obj1401_COB_ID_used_by_PDO },
                       { RW, uint8, sizeof (UNS8), (void*)&TestMaster_obj1401_Transmission_Type },
                       { RW, uint16, sizeof (UNS16), (void*)&TestMaster_obj1401_Inhibit_Time },
                       { RW, uint8, sizeof (UNS8), (void*)&TestMaster_obj1401_Compatibility_Entry },
                       { RW, uint16, sizeof (UNS16), (void*)&TestMaster_obj1401_Event_Timer }
                     }

subindex TestMaster_Index1600[]

Initial value:

 
                     {
                       { RW, uint8, sizeof (UNS8), (void*)&TestMaster_highestSubIndex_obj1600 },
                       { RW, uint32, sizeof (UNS32), (void*)&TestMaster_obj1600[0] },
                       { RW, uint32, sizeof (UNS32), (void*)&TestMaster_obj1600[1] },
                       { RW, uint32, sizeof (UNS32), (void*)&TestMaster_obj1600[2] },
                       { RW, uint32, sizeof (UNS32), (void*)&TestMaster_obj1600[3] },
                       { RW, uint32, sizeof (UNS32), (void*)&TestMaster_obj1600[4] },
                       { RW, uint32, sizeof (UNS32), (void*)&TestMaster_obj1600[5] },
                       { RW, uint32, sizeof (UNS32), (void*)&TestMaster_obj1600[6] },
                       { RW, uint32, sizeof (UNS32), (void*)&TestMaster_obj1600[7] },
                       { RW, uint32, sizeof (UNS32), (void*)&TestMaster_obj1600[8] },
                       { RW, uint32, sizeof (UNS32), (void*)&TestMaster_obj1600[9] }
                     }

subindex TestMaster_Index1601[]

Initial value:

 
                     {
                       { RW, uint8, sizeof (UNS8), (void*)&TestMaster_highestSubIndex_obj1601 },
                       { RW, uint32, sizeof (UNS32), (void*)&TestMaster_obj1601[0] }
                     }

subindex TestMaster_Index1F22[]

Initial value:

 
                     {
                       { RO, uint8, sizeof (UNS8), (void*)&TestMaster_highestSubIndex_obj1F22 },
                       { RW, domain, 0, (void*)&TestMaster_obj1F22[0] },
                       { RW, domain, 13, (void*)&TestMaster_obj1F22[1] }
                     }

subindex TestMaster_Index2000[]

Initial value:

 
                     {
                       { RW, boolean, sizeof (UNS8), (void*)&MasterMap1 }
                     }

subindex TestMaster_Index2001[]

Initial value:

 
                     {
                       { RW, boolean, sizeof (UNS8), (void*)&MasterMap2 }
                     }

subindex TestMaster_Index2002[]

Initial value:

 
                     {
                       { RW, boolean, sizeof (UNS8), (void*)&MasterMap3 }
                     }

subindex TestMaster_Index2003[]

Initial value:

 
                     {
                       { RW, boolean, sizeof (UNS8), (void*)&MasterMap4 }
                     }

subindex TestMaster_Index2004[]

Initial value:

 
                     {
                       { RW, boolean, sizeof (UNS8), (void*)&MasterMap5 }
                     }

subindex TestMaster_Index2005[]

Initial value:

 
                     {
                       { RW, boolean, sizeof (UNS8), (void*)&MasterMap6 }
                     }

subindex TestMaster_Index2006[]

Initial value:

 
                     {
                       { RW, boolean, sizeof (UNS8), (void*)&MasterMap7 }
                     }

subindex TestMaster_Index2007[]

Initial value:

 
                     {
                       { RW, boolean, sizeof (UNS8), (void*)&MasterMap8 }
                     }

subindex TestMaster_Index2008[]

Initial value:

 
                     {
                       { RW, uint8, sizeof (UNS8), (void*)&MasterMap9 }
                     }

subindex TestMaster_Index2009[]

Initial value:

 
                     {
                       { RW, uint32, sizeof (UNS32), (void*)&MasterMap10 }
                     }

subindex TestMaster_Index200A[]

Initial value:

 
                     {
                       { RW, uint16, sizeof (UNS16), (void*)&MasterMap11 }
                     }

quick_index TestMaster_lastIndex

Initial value:

 {
  0, 
  8, 
  10, 
  12, 
  0, 
  0 
}

UNS32 TestMaster_obj1000 = 0x12D

UNS8 TestMaster_obj1001 = 0x0

UNS32 TestMaster_obj1005 = 0x40000080

UNS32 TestMaster_obj1006 = 0xC350

UNS32 TestMaster_obj1010_Save_All_Parameters = 0x0

UNS32 TestMaster_obj1010_Save_Application_Parameters = 0x0

UNS32 TestMaster_obj1010_Save_Communication_Parameters = 0x0

UNS32 TestMaster_obj1010_Save_Manufacturer_Parameters = 0x0

UNS32 TestMaster_obj1011_Restore_All_Default_Parameters = 0x0

UNS32 TestMaster_obj1011_Restore_Application_Default_Parameters = 0x0

UNS32 TestMaster_obj1011_Restore_Communication_Default_Parameters = 0x0

UNS32 TestMaster_obj1011_Restore_Manufacturer_Default_Parameters = 0x0

UNS32 TestMaster_obj1016[]

Initial value:

 
                    {
                      0x205DC   
                    }

UNS16 TestMaster_obj1017 = 0x0

UNS32 TestMaster_obj1018_Product_Code = 0x0

UNS32 TestMaster_obj1018_Revision_Number = 0x0

UNS32 TestMaster_obj1018_Serial_Number = 0x0

UNS32 TestMaster_obj1018_Vendor_ID = 0x0

UNS32 TestMaster_obj1280_COB_ID_Client_to_Server_Transmit_SDO = 0x602

UNS32 TestMaster_obj1280_COB_ID_Server_to_Client_Receive_SDO = 0x582

INTEGER32 TestMaster_obj1280_Node_ID_of_the_SDO_Server = 0x2

UNS32 TestMaster_obj1400_COB_ID_used_by_PDO = 0x182

UNS8 TestMaster_obj1400_Compatibility_Entry = 0x0

UNS16 TestMaster_obj1400_Event_Timer = 0x0

UNS16 TestMaster_obj1400_Inhibit_Time = 0x0

UNS8 TestMaster_obj1400_Transmission_Type = 0x1

UNS32 TestMaster_obj1401_COB_ID_used_by_PDO = 0x0

UNS8 TestMaster_obj1401_Compatibility_Entry = 0x0

UNS16 TestMaster_obj1401_Event_Timer = 0x0

UNS16 TestMaster_obj1401_Inhibit_Time = 0x0

UNS8 TestMaster_obj1401_Transmission_Type = 0x0

UNS32 TestMaster_obj1600[]

Initial value:

 
                    {
                      0x20000001,       
                      0x20010001,       
                      0x20020001,       
                      0x20030001,       
                      0x20040001,       
                      0x20050001,       
                      0x20060001,       
                      0x20070001,       
                      0x20080008,       
                      0x20090020        
                    }

UNS32 TestMaster_obj1601[]

Initial value:

 
                    {
                      0x200A0010        
                    }

UNS8* TestMaster_obj1F22[]

Initial value:

 
                    {
                      "",
                      "\x01\x00\x00\x00\x17\x10\x00\x02\x00\x00\x00\xe8\x03"
                    }

const indextable TestMaster_objdict[]

Initial value:

 
{
  { (subindex*)TestMaster_Index1000,sizeof(TestMaster_Index1000)/sizeof(TestMaster_Index1000[0]), 0x1000},
  { (subindex*)TestMaster_Index1001,sizeof(TestMaster_Index1001)/sizeof(TestMaster_Index1001[0]), 0x1001},
  { (subindex*)TestMaster_Index1005,sizeof(TestMaster_Index1005)/sizeof(TestMaster_Index1005[0]), 0x1005},
  { (subindex*)TestMaster_Index1006,sizeof(TestMaster_Index1006)/sizeof(TestMaster_Index1006[0]), 0x1006},
  { (subindex*)TestMaster_Index1010,sizeof(TestMaster_Index1010)/sizeof(TestMaster_Index1010[0]), 0x1010},
  { (subindex*)TestMaster_Index1011,sizeof(TestMaster_Index1011)/sizeof(TestMaster_Index1011[0]), 0x1011},
  { (subindex*)TestMaster_Index1016,sizeof(TestMaster_Index1016)/sizeof(TestMaster_Index1016[0]), 0x1016},
  { (subindex*)TestMaster_Index1018,sizeof(TestMaster_Index1018)/sizeof(TestMaster_Index1018[0]), 0x1018},
  { (subindex*)TestMaster_Index1280,sizeof(TestMaster_Index1280)/sizeof(TestMaster_Index1280[0]), 0x1280},
  { (subindex*)TestMaster_Index1400,sizeof(TestMaster_Index1400)/sizeof(TestMaster_Index1400[0]), 0x1400},
  { (subindex*)TestMaster_Index1401,sizeof(TestMaster_Index1401)/sizeof(TestMaster_Index1401[0]), 0x1401},
  { (subindex*)TestMaster_Index1600,sizeof(TestMaster_Index1600)/sizeof(TestMaster_Index1600[0]), 0x1600},
  { (subindex*)TestMaster_Index1601,sizeof(TestMaster_Index1601)/sizeof(TestMaster_Index1601[0]), 0x1601},
  { (subindex*)TestMaster_Index1F22,sizeof(TestMaster_Index1F22)/sizeof(TestMaster_Index1F22[0]), 0x1F22},
  { (subindex*)TestMaster_Index2000,sizeof(TestMaster_Index2000)/sizeof(TestMaster_Index2000[0]), 0x2000},
  { (subindex*)TestMaster_Index2001,sizeof(TestMaster_Index2001)/sizeof(TestMaster_Index2001[0]), 0x2001},
  { (subindex*)TestMaster_Index2002,sizeof(TestMaster_Index2002)/sizeof(TestMaster_Index2002[0]), 0x2002},
  { (subindex*)TestMaster_Index2003,sizeof(TestMaster_Index2003)/sizeof(TestMaster_Index2003[0]), 0x2003},
  { (subindex*)TestMaster_Index2004,sizeof(TestMaster_Index2004)/sizeof(TestMaster_Index2004[0]), 0x2004},
  { (subindex*)TestMaster_Index2005,sizeof(TestMaster_Index2005)/sizeof(TestMaster_Index2005[0]), 0x2005},
  { (subindex*)TestMaster_Index2006,sizeof(TestMaster_Index2006)/sizeof(TestMaster_Index2006[0]), 0x2006},
  { (subindex*)TestMaster_Index2007,sizeof(TestMaster_Index2007)/sizeof(TestMaster_Index2007[0]), 0x2007},
  { (subindex*)TestMaster_Index2008,sizeof(TestMaster_Index2008)/sizeof(TestMaster_Index2008[0]), 0x2008},
  { (subindex*)TestMaster_Index2009,sizeof(TestMaster_Index2009)/sizeof(TestMaster_Index2009[0]), 0x2009},
  { (subindex*)TestMaster_Index200A,sizeof(TestMaster_Index200A)/sizeof(TestMaster_Index200A[0]), 0x200A},
}

UNS16 TestMaster_ObjdictSize = sizeof(TestMaster_objdict)/sizeof(TestMaster_objdict[0])


Generated on Mon Jun 4 15:50:45 2007 for CanFestival by  doxygen 1.5.1