00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 #ifndef _CONFIG_H_
00023 #define _CONFIG_H_
00024
00025 #define MAX_CAN_BUS_ID 1
00026 #define SDO_MAX_LENGTH_TRANSFERT 32
00027 #define SDO_MAX_SIMULTANEOUS_TRANSFERTS 4
00028 #define NMT_MAX_NODE_ID 128
00029 #define SDO_TIMEOUT_MS 3000
00030 #define MAX_NB_TIMER 32
00031
00032
00033 #define US_TO_TIMEVAL_FACTOR 1
00034
00035 #define REPEAT_SDO_MAX_SIMULTANEOUS_TRANSFERTS_TIMES(repeat)\
00036 repeat repeat repeat repeat
00037 #define REPEAT_NMT_MAX_NODE_ID_TIMES(repeat)\
00038 repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat repeat
00039
00040 #endif