#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 | PDO_MAX_LEN 8 |
| #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 |
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 |
| #define NMT_Enter_PreOperational 0x80 |
| #define NMT_Reset_Comunication 0x82 |
| #define NMT_Reset_Node 0x81 |
| #define NMT_Start_Node 0x01 |
| #define NMT_Stop_Node 0x02 |
| #define NODE_GUARD 0xE |
Definition at line 99 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 masterSendNMTstateChange(), PDOmGR(), proceedPDO(), sendPDO(), 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 |
| #define OD_READ_NOT_ALLOWED 0x06010001 |
| #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(), decompo_dcf(), gene_SYNC_scanIndexOD(), main(), objdictToSDOline(), proceedPDO(), proceedSYNC(), RegisterSetODentryCallBack(), SDOlineToObjdict(), setState(), TestMaster_scanIndexOD(), TestSlave_scanIndexOD(), and win32test_scanIndexOD().
| #define OD_VALUE_TOO_HIGH 0x06090032 |
| #define OD_VALUE_TOO_LOW 0x06090031 |
| #define OD_WRITE_NOT_ALLOWED 0x06010002 |
Definition at line 33 of file def.h.
Referenced by _getODentry(), _setODentry(), and accessDictionaryError().
| #define PDO1rx 0x4 |
| #define PDO1tx 0x3 |
| #define PDO2rx 0x6 |
| #define PDO2tx 0x5 |
| #define PDO3rx 0x8 |
| #define PDO3tx 0x7 |
| #define PDO4rx 0xA |
| #define PDO4tx 0x9 |
| #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(), sendPDO(), and sendPDOrequest().
| #define SDO_ABORTED_INTERNAL 0x85 |
Definition at line 73 of file def.h.
Referenced by failedSDO(), getReadResultNetworkDict(), getWriteResultNetworkDict(), SDOTimeoutAlarm(), and TestMaster_post_TPDO().
| #define SDO_ABORTED_RCV 0x80 |
| #define SDO_CLIENT 0x2 |
Definition at line 79 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 74 of file def.h.
Referenced by _writeNetworkDict(), initSDOline(), proceedSDO(), and TestMaster_post_TPDO().
| #define SDO_FINISHED 0x1 |
Definition at line 71 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 70 of file def.h.
Referenced by getSDOfreeLine(), getSDOlineOnUse(), resetSDOline(), and TestMaster_post_TPDO().
| #define SDO_SERVER 0x1 |
Definition at line 78 of file def.h.
Referenced by failedSDO(), proceedSDO(), SDOTimeoutAlarm(), and sendSDO().
| #define SDO_UNKNOWN 0x3 |
| #define SDO_UPLOAD_IN_PROGRESS 0x3 |
Definition at line 75 of file def.h.
Referenced by _readNetworkDict(), initSDOline(), proceedSDO(), ReadSDO(), and TestMaster_post_TPDO().
| #define SDOABT_GENERAL_ERROR 0x08000000 |
| #define SDOABT_LOCAL_CTRL_ERROR 0x08000021 |
| #define SDOABT_TIMED_OUT 0x05040000 |
| #define SDOABT_TOGGLE_NOT_ALTERNED 0x05030000 |
| #define SDOrx 0xC |
| #define SDOtx 0xB |
| #define state1 0x01 |
| #define state10 0x0A |
| #define state11 0x0B |
| #define state2 0x02 |
| #define state3 0x03 |
| #define state4 0x04 |
| #define state5 0x05 |
| #define state7 0x07 |
| #define state8 0x08 |
| #define state9 0x09 |
| #define SYNC 0x1 |
| #define TIME_STAMP 0x2 |
| #define TRUE 1 |
1.5.1