include/def.h
changeset 235 f812bf6b7237
parent 71 95cd3376cc9f
child 288 26015ee2c2c9
equal deleted inserted replaced
234:5a17bcb520ef 235:f812bf6b7237
    60 #define Rx 0
    60 #define Rx 0
    61 #define Tx 1
    61 #define Tx 1
    62 #define TRUE  1
    62 #define TRUE  1
    63 #define FALSE 0
    63 #define FALSE 0
    64 
    64 
    65 /* TODO: remove this limitation. do bit granularity mapping */
    65     
    66 #define PDO_MAX_LEN 8    
       
    67                                
       
    68 /** Status of the SDO transmission
    66 /** Status of the SDO transmission
    69  */
    67  */
    70 #define SDO_RESET                0x0      /* Transmission not started. Init state. */
    68 #define SDO_RESET                0x0      /* Transmission not started. Init state. */
    71 #define SDO_FINISHED             0x1      /* data are available */                          
    69 #define SDO_FINISHED             0x1      /* data are available */                          
    72 #define	SDO_ABORTED_RCV          0x80     /* Received an abort message. Data not available */
    70 #define	SDO_ABORTED_RCV          0x80     /* Received an abort message. Data not available */