master/globals.h
changeset 164 ed85368b2b2e
parent 152 9654f3cf588d
child 184 2fc86cec12df
--- 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