nico@215: nico@215:
nico@215:#include "config.h"
nico@215: Include dependency graph for def.h:
nico@215: This graph shows which files directly or indirectly include this file:
nico@215: 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 FALSE 0 | nico@215:
nico@215: nico@215:
nico@215: Definition at line 63 of file def.h. nico@215:
nico@215: Referenced by can_uvccm_win32::open_rs232(), can_uvccm_win32::receive(), and can_uvccm_win32::send(). nico@215:
#define NMT 0x0 | nico@215:
nico@215: nico@215:
etisserant@240: Definition at line 84 of file def.h. etisserant@240:
etisserant@240: Referenced by canDispatch(), and print_message(). etisserant@240:
etisserant@240: etisserant@240:
#define NMT_Enter_PreOperational 0x80 | etisserant@240:
etisserant@240: etisserant@240:
etisserant@240: Definition at line 104 of file def.h. etisserant@240:
etisserant@240: Referenced by proceedNMTstateChange(). etisserant@240:
etisserant@240: etisserant@240:
#define NMT_Reset_Comunication 0x82 | etisserant@240:
etisserant@240: etisserant@240:
etisserant@240: Definition at line 106 of file def.h. etisserant@240:
etisserant@240: Referenced by proceedNMTstateChange(). etisserant@240:
etisserant@240: etisserant@240:
#define NMT_Reset_Node 0x81 | etisserant@240:
etisserant@240: etisserant@240:
etisserant@240: Definition at line 105 of file def.h. etisserant@240:
etisserant@240: Referenced by main(), and proceedNMTstateChange(). etisserant@240:
etisserant@240: etisserant@240:
#define NMT_Start_Node 0x01 | etisserant@240:
etisserant@240: etisserant@240:
etisserant@240: Definition at line 102 of file def.h. etisserant@240:
etisserant@240: Referenced by main(), and proceedNMTstateChange(). etisserant@240:
etisserant@240: etisserant@240:
#define NMT_Stop_Node 0x02 | etisserant@240:
etisserant@240: etisserant@240:
etisserant@240: Definition at line 103 of file def.h. etisserant@240:
etisserant@240: Referenced by main(), and proceedNMTstateChange(). etisserant@240:
etisserant@240: etisserant@240:
#define NODE_GUARD 0xE | etisserant@240:
etisserant@240: etisserant@240:
etisserant@240: Definition at line 97 of file def.h. etisserant@240:
etisserant@240: Referenced by canDispatch(), masterSendNMTnodeguard(), print_message(), and slaveSendBootUp(). etisserant@240:
etisserant@240: etisserant@240:
#define NOT_A_REQUEST 0 | etisserant@240:
etisserant@240: etisserant@240:
etisserant@240: Definition at line 55 of file def.h. etisserant@240:
etisserant@240: Referenced by buildPDO(), masterSendNMTstateChange(), proceedPDO(), sendSDO(), sendSYNC(), and slaveSendBootUp(). etisserant@240:
etisserant@240: etisserant@240:
#define OD_LENGTH_DATA_INVALID 0x06070010 | etisserant@240:
etisserant@240: etisserant@240:
etisserant@240: Definition at line 36 of file def.h. etisserant@240:
etisserant@240: Referenced by _getODentry(), _setODentry(), and accessDictionaryError(). etisserant@240:
etisserant@240: etisserant@240:
#define OD_NO_SUCH_OBJECT 0x06020000 | etisserant@240:
etisserant@240: etisserant@240:
etisserant@240: Definition at line 34 of file def.h. etisserant@240:
etisserant@240: Referenced by accessDictionaryError(), gene_SYNC_scanIndexOD(), TestMaster_scanIndexOD(), TestSlave_scanIndexOD(), and win32test_scanIndexOD(). etisserant@240:
etisserant@240: etisserant@240:
#define OD_NO_SUCH_SUBINDEX 0x06090011 | etisserant@240:
etisserant@240: etisserant@240:
etisserant@240: Definition at line 37 of file def.h. etisserant@240:
etisserant@240: Referenced by _getODentry(), _setODentry(), and accessDictionaryError(). etisserant@240:
etisserant@240: etisserant@240:
#define OD_NOT_MAPPABLE 0x06040041 | etisserant@240:
etisserant@240: etisserant@240:
etisserant@240: Definition at line 35 of file def.h. etisserant@240:
etisserant@240: Referenced by accessDictionaryError(). etisserant@240:
etisserant@240: etisserant@240:
#define OD_READ_NOT_ALLOWED 0x06010001 | etisserant@240:
etisserant@240: etisserant@240:
etisserant@240: Definition at line 32 of file def.h. etisserant@240:
etisserant@240: Referenced by _getODentry(). etisserant@240:
etisserant@240: etisserant@240:
#define OD_SUCCESSFUL 0x00000000 | etisserant@240:
etisserant@240: definitions used for object dictionary access. ie SDO Abort codes . (See DS 301 v.4.02 p.48) etisserant@240:
etisserant@240: Definition at line 31 of file def.h. etisserant@240:
etisserant@240: Referenced by _getODentry(), _setODentry(), buildPDO(), decompo_dcf(), gene_SYNC_scanIndexOD(), main(), objdictToSDOline(), PDOInit(), proceedPDO(), RegisterSetODentryCallBack(), SDOlineToObjdict(), setState(), TestMaster_scanIndexOD(), TestSlave_scanIndexOD(), and win32test_scanIndexOD(). etisserant@240:
etisserant@240: etisserant@240:
#define OD_VALUE_TOO_HIGH 0x06090032 | etisserant@240:
etisserant@240: etisserant@240:
etisserant@240: Definition at line 39 of file def.h. etisserant@240:
etisserant@240: Referenced by accessDictionaryError(). etisserant@240:
etisserant@240: etisserant@240:
#define OD_VALUE_TOO_LOW 0x06090031 | etisserant@240:
etisserant@240: etisserant@240:
etisserant@240: Definition at line 38 of file def.h. etisserant@240:
etisserant@240: Referenced by accessDictionaryError(). etisserant@240:
etisserant@240: etisserant@240:
#define OD_WRITE_NOT_ALLOWED 0x06010002 | etisserant@240:
etisserant@240: etisserant@240:
etisserant@240: Definition at line 33 of file def.h. etisserant@240:
etisserant@240: Referenced by _getODentry(), _setODentry(), and accessDictionaryError(). etisserant@240:
etisserant@240: etisserant@240:
#define PDO1rx 0x4 | etisserant@240:
etisserant@240: etisserant@240:
etisserant@240: Definition at line 88 of file def.h. etisserant@240:
etisserant@240: Referenced by canDispatch(), and print_message(). etisserant@240:
etisserant@240: etisserant@240:
#define PDO1tx 0x3 | etisserant@240:
etisserant@240: etisserant@240:
etisserant@240: Definition at line 87 of file def.h. etisserant@240:
etisserant@240: Referenced by canDispatch(), and print_message(). etisserant@240:
etisserant@240: etisserant@240:
#define PDO2rx 0x6 | etisserant@240:
etisserant@240: etisserant@240:
etisserant@240: Definition at line 90 of file def.h. etisserant@240:
etisserant@240: Referenced by canDispatch(), and print_message(). etisserant@240:
etisserant@240: etisserant@240:
#define PDO2tx 0x5 | etisserant@240:
etisserant@240: etisserant@240:
etisserant@240: Definition at line 89 of file def.h. etisserant@240:
etisserant@240: Referenced by canDispatch(), and print_message(). etisserant@240:
etisserant@240: etisserant@240:
#define PDO3rx 0x8 | etisserant@240:
etisserant@240: etisserant@240:
etisserant@240: Definition at line 92 of file def.h. etisserant@240:
etisserant@240: Referenced by canDispatch(), and print_message(). etisserant@240:
etisserant@240: etisserant@240:
#define PDO3tx 0x7 | etisserant@240:
etisserant@240: etisserant@240:
etisserant@240: Definition at line 91 of file def.h. etisserant@240:
etisserant@240: Referenced by canDispatch(), and print_message(). etisserant@240:
etisserant@240: etisserant@240:
#define PDO4rx 0xA | etisserant@240:
etisserant@240: etisserant@240:
etisserant@240: Definition at line 94 of file def.h. etisserant@240:
etisserant@240: Referenced by canDispatch(), and print_message(). etisserant@240:
etisserant@240: etisserant@240:
#define PDO4tx 0x9 | etisserant@240:
etisserant@240: etisserant@240:
etisserant@240: Definition at line 93 of file def.h. etisserant@240:
etisserant@240: Referenced by canDispatch(), and print_message(). etisserant@240:
etisserant@240: etisserant@240:
#define REQUEST 1 | etisserant@240:
etisserant@240: Constantes which permit to define if a PDO frame is a request one or a data one etisserant@240:
etisserant@240: Definition at line 54 of file def.h. etisserant@240:
etisserant@240: Referenced by masterSendNMTnodeguard(), proceedPDO(), and sendPDOrequest(). etisserant@240:
etisserant@240: etisserant@240:
#define Rx 0 | etisserant@240:
etisserant@240: etisserant@240:
#define SDO_ABORTED_INTERNAL 0x85 | etisserant@240:
etisserant@240: etisserant@240:
etisserant@240: Definition at line 71 of file def.h. etisserant@240:
etisserant@240: Referenced by failedSDO(), getReadResultNetworkDict(), getWriteResultNetworkDict(), SDOTimeoutAlarm(), and TestMaster_post_TPDO(). etisserant@240:
etisserant@240: etisserant@240:
#define SDO_ABORTED_RCV 0x80 | etisserant@240:
etisserant@240: etisserant@240:
etisserant@240: Definition at line 70 of file def.h. etisserant@240:
etisserant@240: Referenced by proceedSDO(), and TestMaster_post_TPDO(). etisserant@240:
etisserant@240: etisserant@240:
#define SDO_CLIENT 0x2 | etisserant@240:
etisserant@240: etisserant@240:
etisserant@240: Definition at line 77 of file def.h. etisserant@240:
etisserant@240: Referenced by _readNetworkDict(), _writeNetworkDict(), failedSDO(), getReadResultNetworkDict(), getWriteResultNetworkDict(), proceedSDO(), ReadSDO(), and TestMaster_post_TPDO(). etisserant@240:
etisserant@240: etisserant@240:
#define SDO_DOWNLOAD_IN_PROGRESS 0x2 | etisserant@240:
etisserant@240: etisserant@240:
etisserant@240: Definition at line 72 of file def.h. etisserant@240:
etisserant@240: Referenced by _writeNetworkDict(), initSDOline(), proceedSDO(), and TestMaster_post_TPDO(). etisserant@240:
etisserant@240: etisserant@240:
#define SDO_FINISHED 0x1 | etisserant@240:
etisserant@240: etisserant@240:
etisserant@240: Definition at line 69 of file def.h. etisserant@240:
etisserant@240: Referenced by getReadResultNetworkDict(), proceedSDO(), ReadSDO(), and TestMaster_post_TPDO(). etisserant@240:
etisserant@240: etisserant@240:
#define SDO_RESET 0x0 | etisserant@240:
etisserant@240: Status of the SDO transmission etisserant@240:
etisserant@240: Definition at line 68 of file def.h. etisserant@240:
etisserant@240: Referenced by getSDOfreeLine(), getSDOlineOnUse(), resetSDOline(), and TestMaster_post_TPDO(). etisserant@240:
etisserant@240: etisserant@240:
#define SDO_SERVER 0x1 | etisserant@240:
etisserant@240: etisserant@240:
etisserant@240: Definition at line 76 of file def.h. etisserant@240:
etisserant@240: Referenced by failedSDO(), proceedSDO(), SDOTimeoutAlarm(), and sendSDO(). etisserant@240:
etisserant@240: etisserant@240:
#define SDO_UNKNOWN 0x3 | etisserant@240:
etisserant@240: etisserant@240:
etisserant@240: Definition at line 78 of file def.h. etisserant@240:
etisserant@240: Referenced by proceedSDO(). etisserant@240:
etisserant@240: etisserant@240:
#define SDO_UPLOAD_IN_PROGRESS 0x3 | etisserant@240:
etisserant@240: etisserant@240:
etisserant@240: Definition at line 73 of file def.h. etisserant@240:
etisserant@240: Referenced by _readNetworkDict(), initSDOline(), proceedSDO(), ReadSDO(), and TestMaster_post_TPDO(). etisserant@240:
etisserant@240: etisserant@240:
#define SDOABT_GENERAL_ERROR 0x08000000 | etisserant@240:
etisserant@240: etisserant@240:
etisserant@240: Definition at line 45 of file def.h. etisserant@240:
etisserant@240: Referenced by proceedSDO(). etisserant@240:
etisserant@240: etisserant@240:
#define SDOABT_LOCAL_CTRL_ERROR 0x08000021 | etisserant@240:
etisserant@240: etisserant@240:
etisserant@240: Definition at line 46 of file def.h. etisserant@240:
etisserant@240: Referenced by proceedSDO(). etisserant@240:
etisserant@240: etisserant@240:
#define SDOABT_OUT_OF_MEMORY 0x05040005 | etisserant@240:
etisserant@240: etisserant@240:
#define SDOABT_TIMED_OUT 0x05040000 | etisserant@240:
etisserant@240: etisserant@240:
etisserant@240: Definition at line 43 of file def.h. etisserant@240:
etisserant@240: Referenced by SDOTimeoutAlarm(). etisserant@240:
etisserant@240: etisserant@240:
#define SDOABT_TOGGLE_NOT_ALTERNED 0x05030000 | etisserant@240:
etisserant@240: etisserant@240:
etisserant@240: Definition at line 42 of file def.h. etisserant@240:
etisserant@240: Referenced by proceedSDO(). etisserant@240:
etisserant@240: etisserant@240:
#define SDOrx 0xC | etisserant@240:
etisserant@240: etisserant@240:
etisserant@240: Definition at line 96 of file def.h. etisserant@240:
etisserant@240: Referenced by canDispatch(), and print_message(). etisserant@240:
etisserant@240: etisserant@240:
#define SDOtx 0xB | etisserant@240:
etisserant@240: etisserant@240:
etisserant@240: Definition at line 95 of file def.h. etisserant@240:
etisserant@240: Referenced by canDispatch(), and print_message(). etisserant@240:
etisserant@240: etisserant@240:
#define state1 0x01 | etisserant@240:
etisserant@240: etisserant@240:
etisserant@240: Definition at line 111 of file def.h. etisserant@240:
etisserant@240: Referenced by proceedPDO(). etisserant@240:
etisserant@240: etisserant@240:
#define state10 0x0A | etisserant@240:
etisserant@240: etisserant@240:
#define state11 0x0B | etisserant@240:
etisserant@240: etisserant@240:
etisserant@240: Definition at line 121 of file def.h. etisserant@240:
etisserant@240: Referenced by _sendPDOevent(). etisserant@240:
etisserant@240: etisserant@240:
#define state2 0x02 | etisserant@240:
etisserant@240: etisserant@240:
etisserant@240: Definition at line 112 of file def.h. etisserant@240:
etisserant@240: Referenced by proceedPDO(). etisserant@240:
etisserant@240: etisserant@240:
#define state3 0x03 | etisserant@240:
etisserant@240: etisserant@240:
etisserant@240: Definition at line 113 of file def.h. etisserant@240:
etisserant@240: Referenced by _sendPDOevent(). etisserant@240:
etisserant@240: etisserant@240:
#define state4 0x04 | etisserant@240:
etisserant@240: etisserant@240:
etisserant@240: Definition at line 114 of file def.h. etisserant@240:
etisserant@240: Referenced by proceedPDO(). etisserant@240:
etisserant@240: etisserant@240:
#define state5 0x05 | etisserant@240:
etisserant@240: etisserant@240:
etisserant@240: Definition at line 115 of file def.h. etisserant@240:
etisserant@240: Referenced by _sendPDOevent(), and proceedPDO(). etisserant@240:
etisserant@240: etisserant@240:
#define state6 0x06 | etisserant@240:
etisserant@240: etisserant@240:
#define state7 0x07 | etisserant@240:
etisserant@240: etisserant@240:
#define state8 0x08 | etisserant@240:
etisserant@240: etisserant@240:
#define state9 0x09 | etisserant@240:
etisserant@240: etisserant@240:
#define SYNC 0x1 | etisserant@240:
etisserant@240: etisserant@240:
etisserant@240: Definition at line 85 of file def.h. etisserant@240:
etisserant@240: Referenced by canDispatch(), and print_message(). etisserant@240:
etisserant@240: etisserant@240:
#define TIME_STAMP 0x2 | etisserant@240:
etisserant@240: etisserant@240:
nico@215: Definition at line 86 of file def.h. nico@215:
nico@215: Referenced by print_message(). nico@215:
#define TRUE 1 | nico@215:
nico@215: nico@215:
nico@215: Definition at line 62 of file def.h. nico@215:
nico@215: Referenced by can_uvccm_win32::open_rs232(). nico@215:
#define Tx 1 | nico@215:
etisserant@240: