include/def.h
changeset 320 f82e758840bd
parent 301 f4b64aa848e1
child 343 118c1cabd0b0
equal deleted inserted replaced
319:4b331759169a 320:f82e758840bd
    58 /* Misc constants */
    58 /* Misc constants */
    59 /* -------------- */
    59 /* -------------- */
    60 /* Should not be modified */
    60 /* Should not be modified */
    61 #define Rx 0
    61 #define Rx 0
    62 #define Tx 1
    62 #define Tx 1
       
    63 #ifndef TRUE
    63 #define TRUE  1
    64 #define TRUE  1
       
    65 #endif
       
    66 #ifndef FALSE
    64 #define FALSE 0
    67 #define FALSE 0
    65 
    68 #endif
    66     
    69     
    67 /** Status of the SDO transmission
    70 /** Status of the SDO transmission
    68  */
    71  */
    69 #define SDO_RESET                0x0      /* Transmission not started. Init state. */
    72 #define SDO_RESET                0x0      /* Transmission not started. Init state. */
    70 #define SDO_FINISHED             0x1      /* data are available */                          
    73 #define SDO_FINISHED             0x1      /* data are available */