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