master/globals.h
changeset 164 ed85368b2b2e
parent 152 9654f3cf588d
child 184 2fc86cec12df
equal deleted inserted replaced
163:a1eea08070e1 164:ed85368b2b2e
    48 extern void ec_print_data(const uint8_t *, size_t);
    48 extern void ec_print_data(const uint8_t *, size_t);
    49 extern void ec_print_data_diff(const uint8_t *, const uint8_t *, size_t);
    49 extern void ec_print_data_diff(const uint8_t *, const uint8_t *, size_t);
    50 
    50 
    51 /*****************************************************************************/
    51 /*****************************************************************************/
    52 
    52 
       
    53 /**
       
    54    Code - Message Pair.
       
    55 
       
    56    Some EtherCAT commands support reading a status code to display a certain
       
    57    message. This type allows to map a code to a message string.
       
    58 */
       
    59 
       
    60 typedef struct
       
    61 {
       
    62     uint32_t code; /**< Code */
       
    63     const char *message; /**< Message belonging to \a code */
       
    64 }
       
    65 ec_code_msg_t;
       
    66 
       
    67 /*****************************************************************************/
       
    68 
    53 #endif
    69 #endif
    54 
    70 
    55 /* Emacs-Konfiguration
    71 /* Emacs-Konfiguration
    56 ;;; Local Variables: ***
    72 ;;; Local Variables: ***
    57 ;;; c-basic-offset:4 ***
    73 ;;; c-basic-offset:4 ***