include/ecrt.h
changeset 2009 b5391b329b5d
parent 1952 7d9fb723fc4b
child 2042 8b358effa78b
child 2054 3417bbc4ad2f
child 2109 755e6ce823f0
--- a/include/ecrt.h	Mon Oct 25 17:06:45 2010 +0200
+++ b/include/ecrt.h	Tue Nov 30 15:24:21 2010 +0100
@@ -78,6 +78,7 @@
  * - Added ecrt_slave_config_idn() method for storing SoE IDN configurations,
  *   and ecrt_master_read_idn() and ecrt_master_write_idn() to read/write IDNs
  *   ad-hoc via the user-space library.
+ * - Added ecrt_master_reset() to initiate retrying to configure slaves.
  *
  * @{
  */
@@ -859,6 +860,17 @@
         ec_master_t *master /**< EtherCAT master. */
         );
 
+/** Retry configuring slaves.
+ *
+ * Via this method, the application can tell the master to bring all slaves to
+ * OP state. In general, this is not necessary, because it is automatically
+ * done by the master. But with special slaves, that can be reconfigured by
+ * the vendor during runtime, it can be useful.
+ */
+void ecrt_master_reset(
+        ec_master_t *master /**< EtherCAT master. */
+        );
+
 /******************************************************************************
  * Slave configuration methods
  *****************************************************************************/