def.h File Reference

#include "config.h"

Include dependency graph for def.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define OD_SUCCESSFUL   0x00000000
#define OD_READ_NOT_ALLOWED   0x06010001
#define OD_WRITE_NOT_ALLOWED   0x06010002
#define OD_NO_SUCH_OBJECT   0x06020000
#define OD_NOT_MAPPABLE   0x06040041
#define OD_LENGTH_DATA_INVALID   0x06070010
#define OD_NO_SUCH_SUBINDEX   0x06090011
#define OD_VALUE_TOO_LOW   0x06090031
#define OD_VALUE_TOO_HIGH   0x06090032
#define SDOABT_TOGGLE_NOT_ALTERNED   0x05030000
#define SDOABT_TIMED_OUT   0x05040000
#define SDOABT_OUT_OF_MEMORY   0x05040005
#define SDOABT_GENERAL_ERROR   0x08000000
#define SDOABT_LOCAL_CTRL_ERROR   0x08000021
#define REQUEST   1
#define NOT_A_REQUEST   0
#define Rx   0
#define Tx   1
#define TRUE   1
#define FALSE   0
#define SDO_RESET   0x0
#define SDO_FINISHED   0x1
#define SDO_ABORTED_RCV   0x80
#define SDO_ABORTED_INTERNAL   0x85
#define SDO_DOWNLOAD_IN_PROGRESS   0x2
#define SDO_UPLOAD_IN_PROGRESS   0x3
#define SDO_SERVER   0x1
#define SDO_CLIENT   0x2
#define SDO_UNKNOWN   0x3
#define NMT   0x0
#define SYNC   0x1
#define TIME_STAMP   0x2
#define PDO1tx   0x3
#define PDO1rx   0x4
#define PDO2tx   0x5
#define PDO2rx   0x6
#define PDO3tx   0x7
#define PDO3rx   0x8
#define PDO4tx   0x9
#define PDO4rx   0xA
#define SDOtx   0xB
#define SDOrx   0xC
#define NODE_GUARD   0xE
#define NMT_Start_Node   0x01
#define NMT_Stop_Node   0x02
#define NMT_Enter_PreOperational   0x80
#define NMT_Reset_Node   0x81
#define NMT_Reset_Comunication   0x82
#define state1   0x01
#define state2   0x02
#define state3   0x03
#define state4   0x04
#define state5   0x05
#define state6   0x06
#define state7   0x07
#define state8   0x08
#define state9   0x09
#define state10   0x0A
#define state11   0x0B


Define Documentation

#define FALSE   0

Definition at line 63 of file def.h.

Referenced by can_uvccm_win32::open_rs232(), can_uvccm_win32::receive(), and can_uvccm_win32::send().

#define NMT   0x0

Definition at line 84 of file def.h.

Referenced by canDispatch(), and print_message().

#define NMT_Enter_PreOperational   0x80

Definition at line 104 of file def.h.

Referenced by proceedNMTstateChange().

#define NMT_Reset_Comunication   0x82

Definition at line 106 of file def.h.

Referenced by proceedNMTstateChange().

#define NMT_Reset_Node   0x81

Definition at line 105 of file def.h.

Referenced by main(), and proceedNMTstateChange().

#define NMT_Start_Node   0x01

Definition at line 102 of file def.h.

Referenced by main(), and proceedNMTstateChange().

#define NMT_Stop_Node   0x02

Definition at line 103 of file def.h.

Referenced by main(), and proceedNMTstateChange().

#define NODE_GUARD   0xE

Definition at line 97 of file def.h.

Referenced by canDispatch(), masterSendNMTnodeguard(), print_message(), and slaveSendBootUp().

#define NOT_A_REQUEST   0

Definition at line 55 of file def.h.

Referenced by buildPDO(), masterSendNMTstateChange(), proceedPDO(), sendSDO(), sendSYNC(), and slaveSendBootUp().

#define OD_LENGTH_DATA_INVALID   0x06070010

Definition at line 36 of file def.h.

Referenced by _getODentry(), _setODentry(), and accessDictionaryError().

#define OD_NO_SUCH_OBJECT   0x06020000

Definition at line 34 of file def.h.

Referenced by accessDictionaryError(), gene_SYNC_scanIndexOD(), TestMaster_scanIndexOD(), TestSlave_scanIndexOD(), and win32test_scanIndexOD().

#define OD_NO_SUCH_SUBINDEX   0x06090011

Definition at line 37 of file def.h.

Referenced by _getODentry(), _setODentry(), and accessDictionaryError().

#define OD_NOT_MAPPABLE   0x06040041

Definition at line 35 of file def.h.

Referenced by accessDictionaryError().

#define OD_READ_NOT_ALLOWED   0x06010001

Definition at line 32 of file def.h.

Referenced by _getODentry().

#define OD_SUCCESSFUL   0x00000000

definitions used for object dictionary access. ie SDO Abort codes . (See DS 301 v.4.02 p.48)

Definition at line 31 of file def.h.

Referenced by _getODentry(), _setODentry(), buildPDO(), decompo_dcf(), gene_SYNC_scanIndexOD(), main(), objdictToSDOline(), PDOInit(), proceedPDO(), RegisterSetODentryCallBack(), SDOlineToObjdict(), setState(), TestMaster_scanIndexOD(), TestSlave_scanIndexOD(), and win32test_scanIndexOD().

#define OD_VALUE_TOO_HIGH   0x06090032

Definition at line 39 of file def.h.

Referenced by accessDictionaryError().

#define OD_VALUE_TOO_LOW   0x06090031

Definition at line 38 of file def.h.

Referenced by accessDictionaryError().

#define OD_WRITE_NOT_ALLOWED   0x06010002

Definition at line 33 of file def.h.

Referenced by _getODentry(), _setODentry(), and accessDictionaryError().

#define PDO1rx   0x4

Definition at line 88 of file def.h.

Referenced by canDispatch(), and print_message().

#define PDO1tx   0x3

Definition at line 87 of file def.h.

Referenced by canDispatch(), and print_message().

#define PDO2rx   0x6

Definition at line 90 of file def.h.

Referenced by canDispatch(), and print_message().

#define PDO2tx   0x5

Definition at line 89 of file def.h.

Referenced by canDispatch(), and print_message().

#define PDO3rx   0x8

Definition at line 92 of file def.h.

Referenced by canDispatch(), and print_message().

#define PDO3tx   0x7

Definition at line 91 of file def.h.

Referenced by canDispatch(), and print_message().

#define PDO4rx   0xA

Definition at line 94 of file def.h.

Referenced by canDispatch(), and print_message().

#define PDO4tx   0x9

Definition at line 93 of file def.h.

Referenced by canDispatch(), and print_message().

#define REQUEST   1

Constantes which permit to define if a PDO frame is a request one or a data one

Definition at line 54 of file def.h.

Referenced by masterSendNMTnodeguard(), proceedPDO(), and sendPDOrequest().

#define Rx   0

Definition at line 60 of file def.h.

#define SDO_ABORTED_INTERNAL   0x85

Definition at line 71 of file def.h.

Referenced by failedSDO(), getReadResultNetworkDict(), getWriteResultNetworkDict(), SDOTimeoutAlarm(), and TestMaster_post_TPDO().

#define SDO_ABORTED_RCV   0x80

Definition at line 70 of file def.h.

Referenced by proceedSDO(), and TestMaster_post_TPDO().

#define SDO_CLIENT   0x2

Definition at line 77 of file def.h.

Referenced by _readNetworkDict(), _writeNetworkDict(), failedSDO(), getReadResultNetworkDict(), getWriteResultNetworkDict(), proceedSDO(), ReadSDO(), and TestMaster_post_TPDO().

#define SDO_DOWNLOAD_IN_PROGRESS   0x2

Definition at line 72 of file def.h.

Referenced by _writeNetworkDict(), initSDOline(), proceedSDO(), and TestMaster_post_TPDO().

#define SDO_FINISHED   0x1

Definition at line 69 of file def.h.

Referenced by getReadResultNetworkDict(), proceedSDO(), ReadSDO(), and TestMaster_post_TPDO().

#define SDO_RESET   0x0

Status of the SDO transmission

Definition at line 68 of file def.h.

Referenced by getSDOfreeLine(), getSDOlineOnUse(), resetSDOline(), and TestMaster_post_TPDO().

#define SDO_SERVER   0x1

Definition at line 76 of file def.h.

Referenced by failedSDO(), proceedSDO(), SDOTimeoutAlarm(), and sendSDO().

#define SDO_UNKNOWN   0x3

Definition at line 78 of file def.h.

Referenced by proceedSDO().

#define SDO_UPLOAD_IN_PROGRESS   0x3

Definition at line 73 of file def.h.

Referenced by _readNetworkDict(), initSDOline(), proceedSDO(), ReadSDO(), and TestMaster_post_TPDO().

#define SDOABT_GENERAL_ERROR   0x08000000

Definition at line 45 of file def.h.

Referenced by proceedSDO().

#define SDOABT_LOCAL_CTRL_ERROR   0x08000021

Definition at line 46 of file def.h.

Referenced by proceedSDO().

#define SDOABT_OUT_OF_MEMORY   0x05040005

Definition at line 44 of file def.h.

#define SDOABT_TIMED_OUT   0x05040000

Definition at line 43 of file def.h.

Referenced by SDOTimeoutAlarm().

#define SDOABT_TOGGLE_NOT_ALTERNED   0x05030000

Definition at line 42 of file def.h.

Referenced by proceedSDO().

#define SDOrx   0xC

Definition at line 96 of file def.h.

Referenced by canDispatch(), and print_message().

#define SDOtx   0xB

Definition at line 95 of file def.h.

Referenced by canDispatch(), and print_message().

#define state1   0x01

Definition at line 111 of file def.h.

Referenced by proceedPDO().

#define state10   0x0A

Definition at line 120 of file def.h.

#define state11   0x0B

Definition at line 121 of file def.h.

Referenced by _sendPDOevent().

#define state2   0x02

Definition at line 112 of file def.h.

Referenced by proceedPDO().

#define state3   0x03

Definition at line 113 of file def.h.

Referenced by _sendPDOevent().

#define state4   0x04

Definition at line 114 of file def.h.

Referenced by proceedPDO().

#define state5   0x05

Definition at line 115 of file def.h.

Referenced by _sendPDOevent(), and proceedPDO().

#define state6   0x06

Definition at line 116 of file def.h.

#define state7   0x07

Definition at line 117 of file def.h.

#define state8   0x08

Definition at line 118 of file def.h.

#define state9   0x09

Definition at line 119 of file def.h.

#define SYNC   0x1

Definition at line 85 of file def.h.

Referenced by canDispatch(), and print_message().

#define TIME_STAMP   0x2

Definition at line 86 of file def.h.

Referenced by print_message().

#define TRUE   1

Definition at line 62 of file def.h.

Referenced by can_uvccm_win32::open_rs232().

#define Tx   1

Definition at line 61 of file def.h.


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