master/globals.h
changeset 98 f564d0929292
parent 95 0066de7a456d
child 141 5f76a36cd9b4
--- a/master/globals.h	Thu Mar 02 13:08:07 2006 +0000
+++ b/master/globals.h	Mon Mar 06 15:12:34 2006 +0000
@@ -15,7 +15,7 @@
 
 // EtherCAT-Protokoll
 #define EC_MAX_FRAME_SIZE 1500 /**< Maximale Größe eines EtherCAT-Frames ohne
-                                  Ethernet-II-Header und -Prüfsumme*/
+                                  Ethernet-II-Header und -Prüfsumme */
 #define EC_MIN_FRAME_SIZE 46 /** Minimale Größe, s. o. */
 #define EC_FRAME_HEADER_SIZE 2 /**< Größe des EtherCAT-Frame-Headers */
 #define EC_COMMAND_HEADER_SIZE 10 /**< Größe eines EtherCAT-Kommando-Headers */
@@ -43,28 +43,6 @@
 
 /*****************************************************************************/
 
-/**
-   Zustand eines EtherCAT-Slaves
-*/
-
-typedef enum
-{
-    EC_SLAVE_STATE_UNKNOWN = 0x00, /**< Status unbekannt */
-    EC_SLAVE_STATE_INIT = 0x01,    /**< Init-Zustand (Keine Mailbox-
-                                      Kommunikation, Kein I/O) */
-    EC_SLAVE_STATE_PREOP = 0x02,   /**< Pre-Operational (Mailbox-
-                                      Kommunikation, Kein I/O) */
-    EC_SLAVE_STATE_SAVEOP = 0x04,  /**< Save-Operational (Mailbox-
-                                      Kommunikation und Input Update) */
-    EC_SLAVE_STATE_OP = 0x08,      /**< Operational, (Mailbox-
-                                      Kommunikation und Input/Output Update) */
-    EC_ACK = 0x10                  /**< Acknoledge-Bit beim Zustandswechsel
-                                      (dies ist kein eigener Zustand) */
-}
-ec_slave_state_t;
-
-/*****************************************************************************/
-
 #endif
 
 /* Emacs-Konfiguration