diff -r 6787754b251b -r b6572d0336c3 doc/doxygen/html/TestMasterMicroMod_2TestMaster_8c.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/doc/doxygen/html/TestMasterMicroMod_2TestMaster_8c.html Mon Jun 04 17:59:50 2007 +0200 @@ -0,0 +1,1497 @@ + + +CanFestival: examples/TestMasterMicroMod/TestMaster.c File Reference + + + + +
+
+
+
+

examples/TestMasterMicroMod/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 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)
+

Function Documentation

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

+ +

+

+ +

+
+ + + + + + + + + + + + + + + + + + +
UNS32 TestMaster_valueRangeTest (UNS8  typeValue,
void *  value 
)
+
+
+ +

+ +

+

+


Variable Documentation

+ +
+
+ + + + +
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 DO = 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, 
+  6, 
+  7, 
+  8, 
+  9, 
+  10 
+}
+
+
+

+ +

+
+ + + + +
TIMER_HANDLE TestMaster_heartBeatTimers[1] = {TIMER_NONE,}
+
+
+ +

+ +

+

+ +

+
+ + + + +
UNS8 TestMaster_highestSubIndex_obj1016 = 1
+
+
+ +

+ +

+

+ +

+
+ + + + +
UNS8 TestMaster_highestSubIndex_obj1018 = 4
+
+
+ +

+ +

+

+ +

+
+ + + + +
UNS8 TestMaster_highestSubIndex_obj1280 = 3
+
+
+ +

+ +

+

+ +

+
+ + + + +
UNS8 TestMaster_highestSubIndex_obj1400 = 5
+
+
+ +

+ +

+

+ +

+
+ + + + +
UNS8 TestMaster_highestSubIndex_obj1600 = 8
+
+
+ +

+ +

+

+ +

+
+ + + + +
UNS8 TestMaster_highestSubIndex_obj1800 = 5
+
+
+ +

+ +

+

+ +

+
+ + + + +
UNS8 TestMaster_highestSubIndex_obj1A00 = 1
+
+
+ +

+ +

+

+ +

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

+ +

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

+ +

+
+ + + + +
subindex TestMaster_Index1A00[]
+
+
+ +

+Initial value:

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

+ +

+
+ + + + +
subindex TestMaster_Index2000[]
+
+
+ +

+Initial value:

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

+ +

+
+ + + + +
subindex TestMaster_Index200F[]
+
+
+ +

+Initial value:

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

+ +

+
+ + + + +
subindex TestMaster_Index2010[]
+
+
+ +

+Initial value:

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

+ +

+
+ + + + +
subindex TestMaster_Index2011[]
+
+
+ +

+Initial value:

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

+ +

+
+ + + + +
subindex TestMaster_Index2012[]
+
+
+ +

+Initial value:

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

+ +

+
+ + + + +
subindex TestMaster_Index2013[]
+
+
+ +

+Initial value:

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

+ +

+
+ + + + +
subindex TestMaster_Index2014[]
+
+
+ +

+Initial value:

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

+ +

+
+ + + + +
subindex TestMaster_Index2015[]
+
+
+ +

+Initial value:

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

+ +

+
+ + + + +
subindex TestMaster_Index2016[]
+
+
+ +

+Initial value:

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

+ +

+
+ + + + +
quick_index TestMaster_lastIndex
+
+
+ +

+Initial value:

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

+ +

+
+ + + + +
UNS32 TestMaster_obj1000 = 0x191
+
+
+ +

+ +

+

+ +

+
+ + + + +
UNS8 TestMaster_obj1001 = 0x0
+
+
+ +

+ +

+

+ +

+
+ + + + +
UNS32 TestMaster_obj1005 = 0x40000080
+
+
+ +

+ +

+

+ +

+
+ + + + +
UNS32 TestMaster_obj1006 = 0xC350
+
+
+ +

+ +

+

+ +

+
+ + + + +
UNS32 TestMaster_obj1016[]
+
+
+ +

+Initial value:

 
+                    {
+                      0x4005DC  
+                    }
+
+
+

+ +

+
+ + + + +
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 = 0x640
+
+
+ +

+ +

+

+ +

+
+ + + + +
UNS32 TestMaster_obj1280_COB_ID_Server_to_Client_Receive_SDO = 0x5C0
+
+
+ +

+ +

+

+ +

+
+ + + + +
INTEGER32 TestMaster_obj1280_Node_ID_of_the_SDO_Server = 0x40
+
+
+ +

+ +

+

+ +

+
+ + + + +
UNS32 TestMaster_obj1400_COB_ID_used_by_PDO = 0x220
+
+
+ +

+ +

+

+ +

+
+ + + + +
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_obj1600[]
+
+
+ +

+Initial value:

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

+ +

+
+ + + + +
UNS32 TestMaster_obj1800_COB_ID_used_by_PDO = 0x240
+
+
+ +

+ +

+

+ +

+
+ + + + +
UNS8 TestMaster_obj1800_Compatibility_Entry = 0x0
+
+
+ +

+ +

+

+ +

+
+ + + + +
UNS16 TestMaster_obj1800_Event_Timer = 0x0
+
+
+ +

+ +

+

+ +

+
+ + + + +
UNS16 TestMaster_obj1800_Inhibit_Time = 0x0
+
+
+ +

+ +

+

+ +

+
+ + + + +
UNS8 TestMaster_obj1800_Transmission_Type = 0x1
+
+
+ +

+ +

+

+ +

+
+ + + + +
UNS32 TestMaster_obj1A00[]
+
+
+ +

+Initial value:

 
+                    {
+                      0x20000008        
+                    }
+
+
+

+ +

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

+ +

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