TestMaster.c File Reference

#include "TestMaster.h"

Include dependency graph for TestMaster.c:

Go to the source code of this file.

Functions

UNS32 TestMaster_valueRangeTest (UNS8 typeValue, void *value)
const indextableTestMaster_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 = 0x1C0
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 []
s_PDO_status TestMaster_PDO_status [1] = {s_PDO_staus_Initializer}
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 
)

Definition at line 280 of file TestMaster.c.

References OD_NO_SUCH_OBJECT, OD_SUCCESSFUL, TestMaster_Index1005_callbacks, TestMaster_Index1006_callbacks, and TestMaster_objdict.

UNS32 TestMaster_valueRangeTest ( UNS8  typeValue,
void *  value 
)

Definition at line 23 of file TestMaster.c.


Variable Documentation

UNS8 DI1 = 0x0

Definition at line 10 of file TestMaster.c.

Referenced by TestMaster_post_sync().

UNS8 DI2 = 0x0

Definition at line 11 of file TestMaster.c.

Referenced by TestMaster_post_sync().

UNS8 DI3 = 0x0

Definition at line 12 of file TestMaster.c.

Referenced by TestMaster_post_sync().

UNS8 DI4 = 0x0

Definition at line 13 of file TestMaster.c.

Referenced by TestMaster_post_sync().

UNS8 DI5 = 0x0

Definition at line 14 of file TestMaster.c.

Referenced by TestMaster_post_sync().

UNS8 DI6 = 0x0

Definition at line 15 of file TestMaster.c.

Referenced by TestMaster_post_sync().

UNS8 DI7 = 0x0

Definition at line 16 of file TestMaster.c.

Referenced by TestMaster_post_sync().

UNS8 DI8 = 0x0

Definition at line 17 of file TestMaster.c.

Referenced by TestMaster_post_sync().

UNS8 DO = 0x0

Definition at line 9 of file TestMaster.c.

Referenced by TestMaster_post_sync().

UNS8 TestMaster_bDeviceNodeId = 0x01

Definition at line 34 of file TestMaster.c.

CO_Data TestMaster_Data = CANOPEN_NODE_DATA_INITIALIZER(TestMaster)

Definition at line 340 of file TestMaster.c.

quick_index TestMaster_firstIndex

Initial value:

 {
  0, 
  6, 
  7, 
  8, 
  9, 
  10 
}

Definition at line 320 of file TestMaster.c.

TIMER_HANDLE TestMaster_heartBeatTimers[1] = {TIMER_NONE,}

Definition at line 41 of file TestMaster.c.

UNS8 TestMaster_highestSubIndex_obj1016 = 1

Definition at line 88 of file TestMaster.c.

UNS8 TestMaster_highestSubIndex_obj1018 = 4

Definition at line 103 of file TestMaster.c.

UNS8 TestMaster_highestSubIndex_obj1280 = 3

Definition at line 118 of file TestMaster.c.

UNS8 TestMaster_highestSubIndex_obj1400 = 5

Definition at line 131 of file TestMaster.c.

UNS8 TestMaster_highestSubIndex_obj1600 = 8

Definition at line 148 of file TestMaster.c.

UNS8 TestMaster_highestSubIndex_obj1800 = 5

Definition at line 174 of file TestMaster.c.

UNS8 TestMaster_highestSubIndex_obj1A00 = 1

Definition at line 191 of file TestMaster.c.

const UNS8 TestMaster_iam_a_slave = 0

Definition at line 39 of file TestMaster.c.

subindex TestMaster_Index1000[]

Initial value:

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

Definition at line 53 of file TestMaster.c.

subindex TestMaster_Index1001[]

Initial value:

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

Definition at line 60 of file TestMaster.c.

subindex TestMaster_Index1005[]

Initial value:

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

Definition at line 71 of file TestMaster.c.

ODCallback_t TestMaster_Index1005_callbacks[]

Initial value:

 
                     {
                       NULL,
                     }

Definition at line 67 of file TestMaster.c.

subindex TestMaster_Index1006[]

Initial value:

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

Definition at line 82 of file TestMaster.c.

ODCallback_t TestMaster_Index1006_callbacks[]

Initial value:

 
                     {
                       NULL,
                     }

Definition at line 78 of file TestMaster.c.

subindex TestMaster_Index1016[]

Initial value:

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

Definition at line 93 of file TestMaster.c.

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 }
                     }

Definition at line 108 of file TestMaster.c.

subindex TestMaster_Index1280[]

Initial value:

Definition at line 122 of file TestMaster.c.

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 }
                     }

Definition at line 137 of file TestMaster.c.

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] }
                     }

Definition at line 160 of file TestMaster.c.

subindex TestMaster_Index1800[]

Initial value:

 
                     {
                       { RO, uint8, sizeof (UNS8), (void*)&TestMaster_highestSubIndex_obj1800 },
                       { RW, uint32, sizeof (UNS32), (void*)&TestMaster_obj1800_COB_ID_used_by_PDO },
                       { RW, uint8, sizeof (UNS8), (void*)&TestMaster_obj1800_Transmission_Type },
                       { RW, uint16, sizeof (UNS16), (void*)&TestMaster_obj1800_Inhibit_Time },
                       { RW, uint8, sizeof (UNS8), (void*)&TestMaster_obj1800_Compatibility_Entry },
                       { RW, uint16, sizeof (UNS16), (void*)&TestMaster_obj1800_Event_Timer }
                     }

Definition at line 180 of file TestMaster.c.

subindex TestMaster_Index1A00[]

Initial value:

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

Definition at line 196 of file TestMaster.c.

subindex TestMaster_Index2000[]

Initial value:

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

Definition at line 203 of file TestMaster.c.

subindex TestMaster_Index200F[]

Initial value:

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

Definition at line 209 of file TestMaster.c.

subindex TestMaster_Index2010[]

Initial value:

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

Definition at line 215 of file TestMaster.c.

subindex TestMaster_Index2011[]

Initial value:

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

Definition at line 221 of file TestMaster.c.

subindex TestMaster_Index2012[]

Initial value:

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

Definition at line 227 of file TestMaster.c.

subindex TestMaster_Index2013[]

Initial value:

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

Definition at line 233 of file TestMaster.c.

subindex TestMaster_Index2014[]

Initial value:

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

Definition at line 239 of file TestMaster.c.

subindex TestMaster_Index2015[]

Initial value:

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

Definition at line 245 of file TestMaster.c.

subindex TestMaster_Index2016[]

Initial value:

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

Definition at line 251 of file TestMaster.c.

quick_index TestMaster_lastIndex

Initial value:

 {
  0, 
  6, 
  7, 
  8, 
  9, 
  10 
}

Definition at line 329 of file TestMaster.c.

UNS32 TestMaster_obj1000 = 0x191

Definition at line 52 of file TestMaster.c.

UNS8 TestMaster_obj1001 = 0x0

Definition at line 59 of file TestMaster.c.

UNS32 TestMaster_obj1005 = 0x40000080

Definition at line 66 of file TestMaster.c.

UNS32 TestMaster_obj1006 = 0xC350

Definition at line 77 of file TestMaster.c.

UNS32 TestMaster_obj1016[]

Initial value:

 
                    {
                      0x4005DC  
                    }

Definition at line 89 of file TestMaster.c.

UNS16 TestMaster_obj1017 = 0x0

Definition at line 100 of file TestMaster.c.

UNS32 TestMaster_obj1018_Product_Code = 0x0

Definition at line 105 of file TestMaster.c.

UNS32 TestMaster_obj1018_Revision_Number = 0x0

Definition at line 106 of file TestMaster.c.

UNS32 TestMaster_obj1018_Serial_Number = 0x0

Definition at line 107 of file TestMaster.c.

UNS32 TestMaster_obj1018_Vendor_ID = 0x0

Definition at line 104 of file TestMaster.c.

UNS32 TestMaster_obj1280_COB_ID_Client_to_Server_Transmit_SDO = 0x640

Definition at line 119 of file TestMaster.c.

UNS32 TestMaster_obj1280_COB_ID_Server_to_Client_Receive_SDO = 0x5C0

Definition at line 120 of file TestMaster.c.

INTEGER32 TestMaster_obj1280_Node_ID_of_the_SDO_Server = 0x40

Definition at line 121 of file TestMaster.c.

UNS32 TestMaster_obj1400_COB_ID_used_by_PDO = 0x1C0

Definition at line 132 of file TestMaster.c.

UNS8 TestMaster_obj1400_Compatibility_Entry = 0x0

Definition at line 135 of file TestMaster.c.

UNS16 TestMaster_obj1400_Event_Timer = 0x0

Definition at line 136 of file TestMaster.c.

UNS16 TestMaster_obj1400_Inhibit_Time = 0x0

Definition at line 134 of file TestMaster.c.

UNS8 TestMaster_obj1400_Transmission_Type = 0x1

Definition at line 133 of file TestMaster.c.

UNS32 TestMaster_obj1600[]

Initial value:

 
                    {
                      0x200F0001,       
                      0x20100001,       
                      0x20110001,       
                      0x20120001,       
                      0x20130001,       
                      0x20140001,       
                      0x20150001,       
                      0x20160001        
                    }

Definition at line 149 of file TestMaster.c.

UNS32 TestMaster_obj1800_COB_ID_used_by_PDO = 0x240

Definition at line 175 of file TestMaster.c.

UNS8 TestMaster_obj1800_Compatibility_Entry = 0x0

Definition at line 178 of file TestMaster.c.

UNS16 TestMaster_obj1800_Event_Timer = 0x0

Definition at line 179 of file TestMaster.c.

UNS16 TestMaster_obj1800_Inhibit_Time = 0x0

Definition at line 177 of file TestMaster.c.

UNS8 TestMaster_obj1800_Transmission_Type = 0x1

Definition at line 176 of file TestMaster.c.

UNS32 TestMaster_obj1A00[]

Initial value:

 
                    {
                      0x20000008        
                    }

Definition at line 192 of file TestMaster.c.

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_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_Index1600,sizeof(TestMaster_Index1600)/sizeof(TestMaster_Index1600[0]), 0x1600},
  { (subindex*)TestMaster_Index1800,sizeof(TestMaster_Index1800)/sizeof(TestMaster_Index1800[0]), 0x1800},
  { (subindex*)TestMaster_Index1A00,sizeof(TestMaster_Index1A00)/sizeof(TestMaster_Index1A00[0]), 0x1A00},
  { (subindex*)TestMaster_Index2000,sizeof(TestMaster_Index2000)/sizeof(TestMaster_Index2000[0]), 0x2000},
  { (subindex*)TestMaster_Index200F,sizeof(TestMaster_Index200F)/sizeof(TestMaster_Index200F[0]), 0x200F},
  { (subindex*)TestMaster_Index2010,sizeof(TestMaster_Index2010)/sizeof(TestMaster_Index2010[0]), 0x2010},
  { (subindex*)TestMaster_Index2011,sizeof(TestMaster_Index2011)/sizeof(TestMaster_Index2011[0]), 0x2011},
  { (subindex*)TestMaster_Index2012,sizeof(TestMaster_Index2012)/sizeof(TestMaster_Index2012[0]), 0x2012},
  { (subindex*)TestMaster_Index2013,sizeof(TestMaster_Index2013)/sizeof(TestMaster_Index2013[0]), 0x2013},
  { (subindex*)TestMaster_Index2014,sizeof(TestMaster_Index2014)/sizeof(TestMaster_Index2014[0]), 0x2014},
  { (subindex*)TestMaster_Index2015,sizeof(TestMaster_Index2015)/sizeof(TestMaster_Index2015[0]), 0x2015},
  { (subindex*)TestMaster_Index2016,sizeof(TestMaster_Index2016)/sizeof(TestMaster_Index2016[0]), 0x2016},
}

Definition at line 256 of file TestMaster.c.

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

Definition at line 338 of file TestMaster.c.

s_PDO_status TestMaster_PDO_status[1] = {s_PDO_staus_Initializer}

Definition at line 318 of file TestMaster.c.


Generated on Mon Jul 2 19:10:24 2007 for CanFestival by  doxygen 1.5.1