include/ecrt.h
changeset 1536 171ddba165d2
parent 1535 0c484ee12d89
child 1580 1baac79a40cf
equal deleted inserted replaced
1535:0c484ee12d89 1536:171ddba165d2
   817         ec_direction_t direction, /**< Input/Output. */
   817         ec_direction_t direction, /**< Input/Output. */
   818         ec_watchdog_mode_t watchdog_mode /** Watchdog mode. */
   818         ec_watchdog_mode_t watchdog_mode /** Watchdog mode. */
   819         );
   819         );
   820 
   820 
   821 /** Configure a slave's watchdog times.
   821 /** Configure a slave's watchdog times.
   822 */	 
   822  */
   823 void ecrt_slave_config_watchdog(
   823 void ecrt_slave_config_watchdog(
   824         ec_slave_config_t *sc, /**< Slave configuration. */
   824         ec_slave_config_t *sc, /**< Slave configuration. */
   825         uint16_t watchdog_divider, /**< Number of 40 ns intervals. Used as a
   825         uint16_t watchdog_divider, /**< Number of 40 ns intervals. Used as a
   826                                     base unit for all slave watchdogs. */
   826                                      base unit for all slave watchdogs. If set
       
   827                                      to zero, the value is not written, so the
       
   828                                      default ist used. */
   827         uint16_t watchdog_intervals /**< Number of base intervals for process
   829         uint16_t watchdog_intervals /**< Number of base intervals for process
   828                                       data watchdog. */
   830                                       data watchdog. If set to zero, the value
       
   831                                       is not written, so the default is used.
       
   832                                      */
   829         );
   833         );
   830 
   834 
   831 /** Add a PDO to a sync manager's PDO assignment.
   835 /** Add a PDO to a sync manager's PDO assignment.
   832  *
   836  *
   833  * \see ecrt_slave_config_pdos()
   837  * \see ecrt_slave_config_pdos()