include/AT91/config.h
changeset 698 a0b50d6ce746
parent 694 8dd1e58b3815
equal deleted inserted replaced
693:e21822be8189 698:a0b50d6ce746
    49 #define AT91C_MASTER_CLOCK      48000000UL    // Master Clock
    49 #define AT91C_MASTER_CLOCK      48000000UL    // Master Clock
    50 #define CAN_BAUDRATE 125
    50 #define CAN_BAUDRATE 125
    51 
    51 
    52 // Needed defines by Canfestival lib
    52 // Needed defines by Canfestival lib
    53 #define MAX_CAN_BUS_ID 1
    53 #define MAX_CAN_BUS_ID 1
    54 #define SDO_MAX_LENGTH_TRANSFERT 32
    54 #define SDO_MAX_LENGTH_TRANSFER 32
    55 #define SDO_MAX_SIMULTANEOUS_TRANSFERTS 1
    55 #define SDO_MAX_SIMULTANEOUS_TRANSFERS 1
    56 #define NMT_MAX_NODE_ID 128
    56 #define NMT_MAX_NODE_ID 128
    57 #define SDO_TIMEOUT_MS 3000U
    57 #define SDO_TIMEOUT_MS 3000U
    58 #define MAX_NB_TIMER 8
    58 #define MAX_NB_TIMER 8
    59 
    59 
    60 // CANOPEN_BIG_ENDIAN is not defined
    60 // CANOPEN_BIG_ENDIAN is not defined
    61 #define CANOPEN_LITTLE_ENDIAN 1
    61 #define CANOPEN_LITTLE_ENDIAN 1
    62 
    62 
    63 #define US_TO_TIMEVAL_FACTOR 8
    63 #define US_TO_TIMEVAL_FACTOR 8
    64 
    64 
    65 #define REPEAT_SDO_MAX_SIMULTANEOUS_TRANSFERTS_TIMES(repeat)\
    65 #define REPEAT_SDO_MAX_SIMULTANEOUS_TRANSFERS_TIMES(repeat)\
    66 repeat
    66 repeat
    67 #define REPEAT_NMT_MAX_NODE_ID_TIMES(repeat)\
    67 #define REPEAT_NMT_MAX_NODE_ID_TIMES(repeat)\
    68 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
    68 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
    69 
    69 
    70 #define EMCY_MAX_ERRORS 8
    70 #define EMCY_MAX_ERRORS 8