master/slave.h
changeset 446 8fede404c01f
parent 423 862ff892cf18
child 448 e4b76dc7910c
--- a/master/slave.h	Wed Oct 25 16:53:17 2006 +0000
+++ b/master/slave.h	Thu Oct 26 16:29:26 2006 +0000
@@ -197,10 +197,9 @@
 
     ec_slave_state_t requested_state; /**< requested slave state */
     ec_slave_state_t current_state; /**< current slave state */
-    unsigned int configured; /**< the slave is configured by this master */
+    unsigned int configured; /**< the slave was configured by this master */
     unsigned int error_flag; /**< stop processing after an error */
     unsigned int online; /**< non-zero, if the slave responds. */
-    uint8_t registered; /**< true, if slave has been registered */
 
     // addresses
     uint16_t ring_position; /**< ring position */
@@ -261,9 +260,13 @@
 // slave construction/destruction
 int ec_slave_init(ec_slave_t *, ec_master_t *, uint16_t, uint16_t);
 
+void ec_slave_reset(ec_slave_t *);
+
 int ec_slave_prepare_fmmu(ec_slave_t *, const ec_domain_t *,
                           const ec_sii_sync_t *);
 
+void ec_slave_request_state(ec_slave_t *, ec_slave_state_t);
+
 // SII categories
 int ec_slave_fetch_strings(ec_slave_t *, const uint8_t *);
 void ec_slave_fetch_general(ec_slave_t *, const uint8_t *);