NNP STM Generic Remote Module git-main
Loading...
Searching...
No Matches
ObjDict.h
Go to the documentation of this file.
1
16/*This object dictionary file should only be modified by the Object Dictionary Editor */
17
18#ifndef OBJDICT_H
19#define OBJDICT_H
20
21#include "data.h"
22
23#define APP_REV 0
24#define RESTORE_COUNT 5
25
26/* Prototypes of function provided by object dictionnary */
27/* Master node data struct */
28extern CO_Data ObjDict_Data;
29UNS32 ObjDict_valueRangeTest (UNS8 typeValue, void * value);
30const indextable * ObjDict_scanIndexOD (UNS16 wIndex, UNS32 * errorCode, ODCallback_t **callbacks);
31extern UNS32 ObjDict_obj1018_Serial_Number;
32extern UNS8 ObjDict_obj1018_Product_Code;
33extern UNS32 ObjDict_obj1018_Revision_Number;
34
35extern UNS8 clockRate; /* Mapped at index 0x2000, subindex 0x00*/
36extern UNS8 X_Network; /* Mapped at index 0x2002, subindex 0x00*/
37extern UNS16 Temperature; /* Mapped at index 0x2003, subindex 0x00*/
38extern UNS8 TemperatureIMU[2];
39extern UNS8 Status_modeSelect; /* Mapped at index 0x2010, subindex 0x01 */
40extern UNS8 Status_numTPDO; /* Mapped at index 0x2010, subindex 0x02 */
41extern UNS8 Status_numRPDO; /* Mapped at index 0x2010, subindex 0x03 */
42extern UNS8 Status_channelSelect; /* Mapped at index 0x2010, subindex 0x04 */
43extern UNS8 Status_profileSelect; /* Mapped at index 0x2010, subindex 0x05 */
44extern UNS8 Status_profileWrite; /* Mapped at index 0x2010, subindex 0x06 */
45extern UNS8 Status_NodeId;
46extern UNS16 Status_TestValue;
47extern UNS16 Status_NodeTest;
48extern UNS8 Accelerometers[4]; /* Mapped at index 0x2011, subindex 0x00*/
49extern UNS8 AccelerometersFiltered[4]; /* Mapped at index 0x2011, subindex 0x01 */
50extern INTEGER8 AccelerometersTilt[4]; /* Mapped at index 0x2011, subindex 0x02 */
51extern UNS8 Gyroscopes[6];
52extern UNS8 Quaternion[16];
53extern UNS8 AccelerometerSettings; /* Mapped at index 0x2012, subindex 0x01 */
54extern UNS32 AddressRequest;
55extern UNS8 memorySelect;
56extern UNS8 triggerReadMemory;
57extern UNS8 writeByteMemory;
58extern UNS8 statusByteMemory;
59extern UNS8 ReadMemoryData[36];
60extern UNS16 addressCounter;
61extern UNS16 CAN_FormErrors;
62extern UNS16 CAN_StuffErrors;
63extern UNS16 CAN_BitErrors;
64extern UNS16 CAN_OtherErrors;
65extern UNS16 CAN_TotalErrors;
66extern UNS16 CAN_Rx_ErrCounter;
67extern UNS16 CAN_Tx_ErrCounter;
68extern UNS16 CAN_Receive_BEI;
69extern UNS16 CAN_Receive_Messages;
70extern UNS16 CAN_Transmit_Messages;
71extern UNS16 CAN_Interrupts_Off;
72extern UNS16 RestoreList[RESTORE_COUNT];
73extern UNS8 DiagnosticsEnabled;
74extern UNS8 Diagnostic_VIN;
75extern UNS8 Diagnostic_VIC;
76extern UNS8 Diagnostic_VOS;
77extern UNS8 Diagnostic_VDD;
78
79#endif // OBJDICT_H
#define UNS8
Unsigned int8 representation in CANFest.
Definition applicfg.h:25
#define UNS16
Unsigned int16 representation in CANFest.
Definition applicfg.h:26
#define INTEGER8
Signed int8 representation in CANFest.
Definition applicfg.h:15
#define UNS32
Unsigned int32 representation in CANFest.
Definition applicfg.h:27
This structure contains all necessary informations to define a CANOpen node.
Definition data.h:44