objdict.c File Reference

#include "objdict.h"

Include dependency graph for objdict.c:

Go to the source code of this file.

Functions

UNS32 gene_SYNC_valueRangeTest (UNS8 typeValue, void *value)
const indextablegene_SYNC_scanIndexOD (UNS16 wIndex, UNS32 *errorCode, ODCallback_t **callbacks)

Variables

UNS16 acceptanceFilter1 = 0x0
UNS16 acceptanceFilter2 = 0x0
UNS16 acceptanceFilter3 = 0x0
UNS16 acceptanceFilter4 = 0x0
UNS16 mask1 = 0x0
UNS16 mask2 = 0x0
UNS16 mask3 = 0x0
UNS16 mask4 = 0x0
UNS8 applyDownloadedFilters = 0x0
UNS8 gene_SYNC_bDeviceNodeId = 0x03
const UNS8 gene_SYNC_iam_a_slave = 1
TIMER_HANDLE gene_SYNC_heartBeatTimers [1]
UNS32 gene_SYNC_obj1000 = 0x0
subindex gene_SYNC_Index1000 []
UNS8 gene_SYNC_obj1001 = 0x0
subindex gene_SYNC_Index1001 []
UNS32 gene_SYNC_obj1005 = 0x40000080
ODCallback_t gene_SYNC_Index1005_callbacks []
subindex gene_SYNC_Index1005 []
UNS32 gene_SYNC_obj1006 = 0x2710
ODCallback_t gene_SYNC_Index1006_callbacks []
subindex gene_SYNC_Index1006 []
UNS8 gene_SYNC_obj1008 [10] = "GENE_SYNC"
subindex gene_SYNC_Index1008 []
UNS8 gene_SYNC_highestSubIndex_obj1016 = 0
UNS32 gene_SYNC_obj1016 []
subindex gene_SYNC_Index1016 []
UNS16 gene_SYNC_obj1017 = 0x0
UNS8 gene_SYNC_highestSubIndex_obj1018 = 4
UNS32 gene_SYNC_obj1018_Vendor_ID = 0x0
UNS32 gene_SYNC_obj1018_Product_Code = 0x0
UNS32 gene_SYNC_obj1018_Revision_Number = 0x0
UNS32 gene_SYNC_obj1018_Serial_Number = 0x0
subindex gene_SYNC_Index1018 []
UNS8 gene_SYNC_highestSubIndex_obj1200 = 2
UNS32 gene_SYNC_obj1200_COB_ID_Client_to_Server_Receive_SDO = 0x0
UNS32 gene_SYNC_obj1200_COB_ID_Server_to_Client_Transmit_SDO = 0x0
subindex gene_SYNC_Index1200 []
subindex gene_SYNC_Index2015 []
subindex gene_SYNC_Index2016 []
subindex gene_SYNC_Index2017 []
subindex gene_SYNC_Index2018 []
subindex gene_SYNC_Index2019 []
subindex gene_SYNC_Index2020 []
subindex gene_SYNC_Index2021 []
subindex gene_SYNC_Index2022 []
subindex gene_SYNC_Index2023 []
const indextable gene_SYNC_objdict []
UNS8 gene_SYNC_count_sync [1] = {0,}
quick_index gene_SYNC_firstIndex
quick_index gene_SYNC_lastIndex
UNS16 gene_SYNC_ObjdictSize = sizeof(gene_SYNC_objdict)/sizeof(gene_SYNC_objdict[0])
CO_Data gene_SYNC_Data = CANOPEN_NODE_DATA_INITIALIZER(gene_SYNC)


Function Documentation

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

Definition at line 202 of file objdict.c.

References gene_SYNC_Index1005_callbacks, gene_SYNC_Index1006_callbacks, gene_SYNC_objdict, OD_NO_SUCH_OBJECT, and OD_SUCCESSFUL.

UNS32 gene_SYNC_valueRangeTest ( UNS8  typeValue,
void *  value 
)

Definition at line 23 of file objdict.c.


Variable Documentation

UNS16 acceptanceFilter1 = 0x0

Definition at line 9 of file objdict.c.

Referenced by gene_SYNC_operational().

UNS16 acceptanceFilter2 = 0x0

Definition at line 10 of file objdict.c.

Referenced by gene_SYNC_operational().

UNS16 acceptanceFilter3 = 0x0

Definition at line 11 of file objdict.c.

Referenced by gene_SYNC_operational().

UNS16 acceptanceFilter4 = 0x0

Definition at line 12 of file objdict.c.

Referenced by gene_SYNC_operational().

UNS8 applyDownloadedFilters = 0x0

Definition at line 17 of file objdict.c.

Referenced by gene_SYNC_operational(), and gene_SYNC_preOperational().

UNS8 gene_SYNC_bDeviceNodeId = 0x03

Definition at line 34 of file objdict.c.

UNS8 gene_SYNC_count_sync[1] = {0,}

Definition at line 235 of file objdict.c.

CO_Data gene_SYNC_Data = CANOPEN_NODE_DATA_INITIALIZER(gene_SYNC)

Definition at line 257 of file objdict.c.

Referenced by initSensor(), and main().

quick_index gene_SYNC_firstIndex

Initial value:

 {
  6, 
  0, 
  0, 
  0, 
  0, 
  0 
}

Definition at line 237 of file objdict.c.

TIMER_HANDLE gene_SYNC_heartBeatTimers[1]

Definition at line 41 of file objdict.c.

UNS8 gene_SYNC_highestSubIndex_obj1016 = 0

Definition at line 95 of file objdict.c.

UNS8 gene_SYNC_highestSubIndex_obj1018 = 4

Definition at line 103 of file objdict.c.

UNS8 gene_SYNC_highestSubIndex_obj1200 = 2

Definition at line 118 of file objdict.c.

const UNS8 gene_SYNC_iam_a_slave = 1

Definition at line 39 of file objdict.c.

subindex gene_SYNC_Index1000[]

Initial value:

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

Definition at line 53 of file objdict.c.

subindex gene_SYNC_Index1001[]

Initial value:

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

Definition at line 60 of file objdict.c.

subindex gene_SYNC_Index1005[]

Initial value:

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

Definition at line 71 of file objdict.c.

ODCallback_t gene_SYNC_Index1005_callbacks[]

Initial value:

 
                     {
                       NULL,
                     }

Definition at line 67 of file objdict.c.

Referenced by gene_SYNC_scanIndexOD().

subindex gene_SYNC_Index1006[]

Initial value:

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

Definition at line 82 of file objdict.c.

ODCallback_t gene_SYNC_Index1006_callbacks[]

Initial value:

 
                     {
                       NULL,
                     }

Definition at line 78 of file objdict.c.

Referenced by gene_SYNC_scanIndexOD().

subindex gene_SYNC_Index1008[]

Initial value:

Definition at line 89 of file objdict.c.

subindex gene_SYNC_Index1016[]

Definition at line 97 of file objdict.c.

subindex gene_SYNC_Index1018[]

Initial value:

 
                     {
                       { RO, uint8, sizeof (UNS8), (void*)&gene_SYNC_highestSubIndex_obj1018 },
                       { RO, uint32, sizeof (UNS32), (void*)&gene_SYNC_obj1018_Vendor_ID },
                       { RO, uint32, sizeof (UNS32), (void*)&gene_SYNC_obj1018_Product_Code },
                       { RO, uint32, sizeof (UNS32), (void*)&gene_SYNC_obj1018_Revision_Number },
                       { RO, uint32, sizeof (UNS32), (void*)&gene_SYNC_obj1018_Serial_Number }
                     }

Definition at line 108 of file objdict.c.

subindex gene_SYNC_Index1200[]

Initial value:

Definition at line 121 of file objdict.c.

subindex gene_SYNC_Index2015[]

Initial value:

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

Definition at line 129 of file objdict.c.

subindex gene_SYNC_Index2016[]

Initial value:

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

Definition at line 135 of file objdict.c.

subindex gene_SYNC_Index2017[]

Initial value:

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

Definition at line 141 of file objdict.c.

subindex gene_SYNC_Index2018[]

Initial value:

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

Definition at line 147 of file objdict.c.

subindex gene_SYNC_Index2019[]

Initial value:

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

Definition at line 153 of file objdict.c.

subindex gene_SYNC_Index2020[]

Initial value:

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

Definition at line 159 of file objdict.c.

subindex gene_SYNC_Index2021[]

Initial value:

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

Definition at line 165 of file objdict.c.

subindex gene_SYNC_Index2022[]

Initial value:

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

Definition at line 171 of file objdict.c.

subindex gene_SYNC_Index2023[]

Initial value:

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

Definition at line 177 of file objdict.c.

quick_index gene_SYNC_lastIndex

Initial value:

 {
  6, 
  0, 
  0, 
  0, 
  0, 
  0 
}

Definition at line 246 of file objdict.c.

UNS32 gene_SYNC_obj1000 = 0x0

Definition at line 52 of file objdict.c.

UNS8 gene_SYNC_obj1001 = 0x0

Definition at line 59 of file objdict.c.

UNS32 gene_SYNC_obj1005 = 0x40000080

Definition at line 66 of file objdict.c.

UNS32 gene_SYNC_obj1006 = 0x2710

Definition at line 77 of file objdict.c.

UNS8 gene_SYNC_obj1008[10] = "GENE_SYNC"

Definition at line 88 of file objdict.c.

UNS32 gene_SYNC_obj1016[]

Definition at line 96 of file objdict.c.

UNS16 gene_SYNC_obj1017 = 0x0

Definition at line 100 of file objdict.c.

UNS32 gene_SYNC_obj1018_Product_Code = 0x0

Definition at line 105 of file objdict.c.

UNS32 gene_SYNC_obj1018_Revision_Number = 0x0

Definition at line 106 of file objdict.c.

UNS32 gene_SYNC_obj1018_Serial_Number = 0x0

Definition at line 107 of file objdict.c.

UNS32 gene_SYNC_obj1018_Vendor_ID = 0x0

Definition at line 104 of file objdict.c.

UNS32 gene_SYNC_obj1200_COB_ID_Client_to_Server_Receive_SDO = 0x0

Definition at line 119 of file objdict.c.

UNS32 gene_SYNC_obj1200_COB_ID_Server_to_Client_Transmit_SDO = 0x0

Definition at line 120 of file objdict.c.

const indextable gene_SYNC_objdict[]

Initial value:

 
{
  { (subindex*)gene_SYNC_Index1000,sizeof(gene_SYNC_Index1000)/sizeof(gene_SYNC_Index1000[0]), 0x1000},
  { (subindex*)gene_SYNC_Index1001,sizeof(gene_SYNC_Index1001)/sizeof(gene_SYNC_Index1001[0]), 0x1001},
  { (subindex*)gene_SYNC_Index1005,sizeof(gene_SYNC_Index1005)/sizeof(gene_SYNC_Index1005[0]), 0x1005},
  { (subindex*)gene_SYNC_Index1006,sizeof(gene_SYNC_Index1006)/sizeof(gene_SYNC_Index1006[0]), 0x1006},
  { (subindex*)gene_SYNC_Index1008,sizeof(gene_SYNC_Index1008)/sizeof(gene_SYNC_Index1008[0]), 0x1008},
  { (subindex*)gene_SYNC_Index1018,sizeof(gene_SYNC_Index1018)/sizeof(gene_SYNC_Index1018[0]), 0x1018},
  { (subindex*)gene_SYNC_Index1200,sizeof(gene_SYNC_Index1200)/sizeof(gene_SYNC_Index1200[0]), 0x1200},
  { (subindex*)gene_SYNC_Index2015,sizeof(gene_SYNC_Index2015)/sizeof(gene_SYNC_Index2015[0]), 0x2015},
  { (subindex*)gene_SYNC_Index2016,sizeof(gene_SYNC_Index2016)/sizeof(gene_SYNC_Index2016[0]), 0x2016},
  { (subindex*)gene_SYNC_Index2017,sizeof(gene_SYNC_Index2017)/sizeof(gene_SYNC_Index2017[0]), 0x2017},
  { (subindex*)gene_SYNC_Index2018,sizeof(gene_SYNC_Index2018)/sizeof(gene_SYNC_Index2018[0]), 0x2018},
  { (subindex*)gene_SYNC_Index2019,sizeof(gene_SYNC_Index2019)/sizeof(gene_SYNC_Index2019[0]), 0x2019},
  { (subindex*)gene_SYNC_Index2020,sizeof(gene_SYNC_Index2020)/sizeof(gene_SYNC_Index2020[0]), 0x2020},
  { (subindex*)gene_SYNC_Index2021,sizeof(gene_SYNC_Index2021)/sizeof(gene_SYNC_Index2021[0]), 0x2021},
  { (subindex*)gene_SYNC_Index2022,sizeof(gene_SYNC_Index2022)/sizeof(gene_SYNC_Index2022[0]), 0x2022},
  { (subindex*)gene_SYNC_Index2023,sizeof(gene_SYNC_Index2023)/sizeof(gene_SYNC_Index2023[0]), 0x2023},
}

Definition at line 182 of file objdict.c.

Referenced by gene_SYNC_scanIndexOD().

UNS16 gene_SYNC_ObjdictSize = sizeof(gene_SYNC_objdict)/sizeof(gene_SYNC_objdict[0])

Definition at line 255 of file objdict.c.

UNS16 mask1 = 0x0

Definition at line 13 of file objdict.c.

Referenced by gene_SYNC_operational().

UNS16 mask2 = 0x0

Definition at line 14 of file objdict.c.

Referenced by gene_SYNC_operational().

UNS16 mask3 = 0x0

Definition at line 15 of file objdict.c.

Referenced by gene_SYNC_operational().

UNS16 mask4 = 0x0

Definition at line 16 of file objdict.c.

Referenced by gene_SYNC_operational().


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