/home/epimerde/documents/tc11/CanFestival-3/include/def.h File Reference

#include "config.h"

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 Documentation

#define FALSE   0

Definition at line 63 of file def.h.

#define NMT   0x0

Definition at line 86 of file def.h.

#define NMT_Enter_PreOperational   0x80

Definition at line 106 of file def.h.

#define NMT_Reset_Comunication   0x82

Definition at line 108 of file def.h.

#define NMT_Reset_Node   0x81

Definition at line 107 of file def.h.

#define NMT_Start_Node   0x01

Definition at line 104 of file def.h.

#define NMT_Stop_Node   0x02

Definition at line 105 of file def.h.

#define NODE_GUARD   0xE

Definition at line 99 of file def.h.

#define NOT_A_REQUEST   0

Definition at line 55 of file def.h.

#define OD_LENGTH_DATA_INVALID   0x06070010

Definition at line 36 of file def.h.

#define OD_NO_SUCH_OBJECT   0x06020000

Definition at line 34 of file def.h.

#define OD_NO_SUCH_SUBINDEX   0x06090011

Definition at line 37 of file def.h.

#define OD_NOT_MAPPABLE   0x06040041

Definition at line 35 of file def.h.

#define OD_READ_NOT_ALLOWED   0x06010001

Definition at line 32 of file def.h.

#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.

#define OD_VALUE_TOO_HIGH   0x06090032

Definition at line 39 of file def.h.

#define OD_VALUE_TOO_LOW   0x06090031

Definition at line 38 of file def.h.

#define OD_WRITE_NOT_ALLOWED   0x06010002

Definition at line 33 of file def.h.

#define PDO1rx   0x4

Definition at line 90 of file def.h.

#define PDO1tx   0x3

Definition at line 89 of file def.h.

#define PDO2rx   0x6

Definition at line 92 of file def.h.

#define PDO2tx   0x5

Definition at line 91 of file def.h.

#define PDO3rx   0x8

Definition at line 94 of file def.h.

#define PDO3tx   0x7

Definition at line 93 of file def.h.

#define PDO4rx   0xA

Definition at line 96 of file def.h.

#define PDO4tx   0x9

Definition at line 95 of file def.h.

#define PDO_MAX_LEN   8

Definition at line 66 of file def.h.

#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.

#define Rx   0

Definition at line 60 of file def.h.

#define SDO_ABORTED_INTERNAL   0x85

Definition at line 73 of file def.h.

#define SDO_ABORTED_RCV   0x80

Definition at line 72 of file def.h.

#define SDO_CLIENT   0x2

Definition at line 79 of file def.h.

#define SDO_DOWNLOAD_IN_PROGRESS   0x2

Definition at line 74 of file def.h.

#define SDO_FINISHED   0x1

Definition at line 71 of file def.h.

#define SDO_RESET   0x0

Status of the SDO transmission

Definition at line 70 of file def.h.

#define SDO_SERVER   0x1

Definition at line 78 of file def.h.

#define SDO_UNKNOWN   0x3

Definition at line 80 of file def.h.

#define SDO_UPLOAD_IN_PROGRESS   0x3

Definition at line 75 of file def.h.

#define SDOABT_GENERAL_ERROR   0x08000000

Definition at line 45 of file def.h.

#define SDOABT_LOCAL_CTRL_ERROR   0x08000021

Definition at line 46 of file def.h.

#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.

#define SDOABT_TOGGLE_NOT_ALTERNED   0x05030000

Definition at line 42 of file def.h.

#define SDOrx   0xC

Definition at line 98 of file def.h.

#define SDOtx   0xB

Definition at line 97 of file def.h.

#define state1   0x01

Definition at line 113 of file def.h.

#define state10   0x0A

Definition at line 122 of file def.h.

#define state11   0x0B

Definition at line 123 of file def.h.

#define state2   0x02

Definition at line 114 of file def.h.

#define state3   0x03

Definition at line 115 of file def.h.

#define state4   0x04

Definition at line 116 of file def.h.

#define state5   0x05

Definition at line 117 of file def.h.

#define state6   0x06

Definition at line 118 of file def.h.

#define state7   0x07

Definition at line 119 of file def.h.

#define state8   0x08

Definition at line 120 of file def.h.

#define state9   0x09

Definition at line 121 of file def.h.

#define SYNC   0x1

Definition at line 87 of file def.h.

#define TIME_STAMP   0x2

Definition at line 88 of file def.h.

#define TRUE   1

Definition at line 62 of file def.h.

#define Tx   1

Definition at line 61 of file def.h.


Generated on Mon Jun 4 16:29:07 2007 for CanFestival by  doxygen 1.5.1