win32test.c File Reference

#include "win32test.h"

Include dependency graph for win32test.c:

Go to the source code of this file.

Functions

UNS32 win32test_valueRangeTest (UNS8 typeValue, void *value)
const indextablewin32test_scanIndexOD (UNS16 wIndex, UNS32 *errorCode, ODCallback_t **callbacks)

Variables

UNS8 win32test_bDeviceNodeId = 0x01
const UNS8 win32test_iam_a_slave = 0
TIMER_HANDLE win32test_heartBeatTimers [1]
UNS32 win32test_obj1000 = 0x12D
subindex win32test_Index1000 []
UNS8 win32test_obj1001 = 0x0
subindex win32test_Index1001 []
UNS32 win32test_obj1005 = 0x0
ODCallback_t win32test_Index1005_callbacks []
subindex win32test_Index1005 []
UNS32 win32test_obj1006 = 0x0
UNS8 win32test_highestSubIndex_obj1016 = 0
UNS32 win32test_obj1016 [] = {0}
UNS16 win32test_obj1017 = 0x0
UNS8 win32test_highestSubIndex_obj1018 = 4
UNS32 win32test_obj1018_Vendor_ID = 0x0
UNS32 win32test_obj1018_Product_Code = 0x0
UNS32 win32test_obj1018_Revision_Number = 0x0
UNS32 win32test_obj1018_Serial_Number = 0x0
subindex win32test_Index1018 []
UNS8 win32test_highestSubIndex_obj1280 = 3
UNS32 win32test_obj1280_COB_ID_Client_to_Server_Transmit_SDO = 0x0
UNS32 win32test_obj1280_COB_ID_Server_to_Client_Receive_SDO = 0x0
UNS32 win32test_obj1280_Node_ID_of_the_SDO_Server = 0x0
subindex win32test_Index1280 []
const indextable win32test_objdict []
UNS8 win32test_count_sync [1] = {0,}
quick_index win32test_firstIndex
quick_index win32test_lastIndex
UNS16 win32test_ObjdictSize = sizeof(win32test_objdict)/sizeof(win32test_objdict[0])
CO_Data win32test_Data = CANOPEN_NODE_DATA_INITIALIZER(win32test)


Function Documentation

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

Definition at line 114 of file win32test.c.

References OD_NO_SUCH_OBJECT, OD_SUCCESSFUL, win32test_Index1005_callbacks, and win32test_objdict.

UNS32 win32test_valueRangeTest ( UNS8  typeValue,
void *  value 
)

Definition at line 14 of file win32test.c.


Variable Documentation

UNS8 win32test_bDeviceNodeId = 0x01

Definition at line 25 of file win32test.c.

UNS8 win32test_count_sync[1] = {0,}

Definition at line 136 of file win32test.c.

CO_Data win32test_Data = CANOPEN_NODE_DATA_INITIALIZER(win32test)

Definition at line 158 of file win32test.c.

Referenced by GetChangeStateResults(), main(), and ReadSDO().

quick_index win32test_firstIndex

Initial value:

 {
  0, 
  4, 
  0, 
  0, 
  0, 
  0 
}

Definition at line 138 of file win32test.c.

TIMER_HANDLE win32test_heartBeatTimers[1]

Definition at line 32 of file win32test.c.

UNS8 win32test_highestSubIndex_obj1016 = 0

Definition at line 71 of file win32test.c.

UNS8 win32test_highestSubIndex_obj1018 = 4

Definition at line 78 of file win32test.c.

UNS8 win32test_highestSubIndex_obj1280 = 3

Definition at line 93 of file win32test.c.

const UNS8 win32test_iam_a_slave = 0

Definition at line 30 of file win32test.c.

subindex win32test_Index1000[]

Initial value:

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

Definition at line 44 of file win32test.c.

subindex win32test_Index1001[]

Initial value:

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

Definition at line 51 of file win32test.c.

subindex win32test_Index1005[]

Initial value:

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

Definition at line 62 of file win32test.c.

ODCallback_t win32test_Index1005_callbacks[]

Initial value:

 
                     {
                       NULL,
                     }

Definition at line 58 of file win32test.c.

Referenced by win32test_scanIndexOD().

subindex win32test_Index1018[]

Initial value:

 
                     {
                       { RO, uint8, sizeof (UNS8), (void*)&win32test_highestSubIndex_obj1018 },
                       { RO, uint32, sizeof (UNS32), (void*)&win32test_obj1018_Vendor_ID },
                       { RO, uint32, sizeof (UNS32), (void*)&win32test_obj1018_Product_Code },
                       { RO, uint32, sizeof (UNS32), (void*)&win32test_obj1018_Revision_Number },
                       { RO, uint32, sizeof (UNS32), (void*)&win32test_obj1018_Serial_Number }
                     }

Definition at line 83 of file win32test.c.

subindex win32test_Index1280[]

Initial value:

Definition at line 97 of file win32test.c.

quick_index win32test_lastIndex

Initial value:

 {
  0, 
  4, 
  0, 
  0, 
  0, 
  0 
}

Definition at line 147 of file win32test.c.

UNS32 win32test_obj1000 = 0x12D

Definition at line 43 of file win32test.c.

UNS8 win32test_obj1001 = 0x0

Definition at line 50 of file win32test.c.

UNS32 win32test_obj1005 = 0x0

Definition at line 57 of file win32test.c.

UNS32 win32test_obj1006 = 0x0

Definition at line 68 of file win32test.c.

UNS32 win32test_obj1016[] = {0}

Definition at line 72 of file win32test.c.

UNS16 win32test_obj1017 = 0x0

Definition at line 75 of file win32test.c.

UNS32 win32test_obj1018_Product_Code = 0x0

Definition at line 80 of file win32test.c.

UNS32 win32test_obj1018_Revision_Number = 0x0

Definition at line 81 of file win32test.c.

UNS32 win32test_obj1018_Serial_Number = 0x0

Definition at line 82 of file win32test.c.

UNS32 win32test_obj1018_Vendor_ID = 0x0

Definition at line 79 of file win32test.c.

UNS32 win32test_obj1280_COB_ID_Client_to_Server_Transmit_SDO = 0x0

Definition at line 94 of file win32test.c.

UNS32 win32test_obj1280_COB_ID_Server_to_Client_Receive_SDO = 0x0

Definition at line 95 of file win32test.c.

UNS32 win32test_obj1280_Node_ID_of_the_SDO_Server = 0x0

Definition at line 96 of file win32test.c.

const indextable win32test_objdict[]

Initial value:

 
{
  { (subindex*)win32test_Index1000,sizeof(win32test_Index1000)/sizeof(win32test_Index1000[0]), 0x1000},
  { (subindex*)win32test_Index1001,sizeof(win32test_Index1001)/sizeof(win32test_Index1001[0]), 0x1001},
  { (subindex*)win32test_Index1005,sizeof(win32test_Index1005)/sizeof(win32test_Index1005[0]), 0x1005},
  { (subindex*)win32test_Index1018,sizeof(win32test_Index1018)/sizeof(win32test_Index1018[0]), 0x1018},
  { (subindex*)win32test_Index1280,sizeof(win32test_Index1280)/sizeof(win32test_Index1280[0]), 0x1280},
}

Definition at line 105 of file win32test.c.

Referenced by win32test_scanIndexOD().

UNS16 win32test_ObjdictSize = sizeof(win32test_objdict)/sizeof(win32test_objdict[0])

Definition at line 156 of file win32test.c.


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