Added ecrt_master_reset() method.

This commit is contained in:
Florian Pose
2010-11-30 15:24:21 +01:00
parent 379ab87b98
commit 6929f2f718
5 changed files with 91 additions and 32 deletions
+12
View File
@@ -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 @@ uint32_t ecrt_master_sync_monitor_process(
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
*****************************************************************************/