Mention registers in watchdog configuration.

This commit is contained in:
Florian Pose 2022-12-11 15:44:30 +01:00
parent 992e13e782
commit 3893e863e7
1 changed files with 9 additions and 8 deletions

View File

@ -1158,14 +1158,15 @@ int ecrt_slave_config_sync_manager(
*/ */
void ecrt_slave_config_watchdog( void ecrt_slave_config_watchdog(
ec_slave_config_t *sc, /**< Slave configuration. */ ec_slave_config_t *sc, /**< Slave configuration. */
uint16_t watchdog_divider, /**< Number of 40 ns intervals. Used as a uint16_t watchdog_divider, /**< Number of 40 ns intervals (register
base unit for all slave watchdogs. If set 0x0400). Used as a base unit for all
to zero, the value is not written, so the slave watchdogs^. If set to zero, the
default is used. */ value is not written, so the default is
uint16_t watchdog_intervals /**< Number of base intervals for process used. */
data watchdog. If set to zero, the value uint16_t watchdog_intervals /**< Number of base intervals for sync
is not written, so the default is used. manager watchdog (register 0x0420). If
*/ set to zero, the value is not written,
so the default is used. */
); );
/** Add a PDO to a sync manager's PDO assignment. /** Add a PDO to a sync manager's PDO assignment.