diff -r a1eea08070e1 -r ed85368b2b2e master/globals.h --- a/master/globals.h Wed Apr 05 13:57:01 2006 +0000 +++ b/master/globals.h Wed Apr 05 14:02:56 2006 +0000 @@ -50,6 +50,22 @@ /*****************************************************************************/ +/** + Code - Message Pair. + + Some EtherCAT commands support reading a status code to display a certain + message. This type allows to map a code to a message string. +*/ + +typedef struct +{ + uint32_t code; /**< Code */ + const char *message; /**< Message belonging to \a code */ +} +ec_code_msg_t; + +/*****************************************************************************/ + #endif /* Emacs-Konfiguration