Skip to content
Snippets Groups Projects
Commit 01b7e218 authored by Florian Pose's avatar Florian Pose
Browse files

Added shift times to api.

parent 41b14d08
No related branches found
No related tags found
No related merge requests found
......@@ -42,8 +42,9 @@
* Changes in version 1.5:
*
* - Added the distributed clocks feature and the respective methods
* ecrt_slave_config_dc_assign_activate() and
* ecrt_slave_config_dc_sync_cycle_times() to configure a slave for cyclic
* ecrt_slave_config_dc_assign_activate(),
* ecrt_slave_config_dc_sync_cycle_times() and
* ecrt_slave_config_dc_sync_shift_times() to configure a slave for cyclic
* operation, and ecrt_master_sync_reference_clock() and
* ecrt_master_sync_slave_clocks() for drift compensation.
* - Changed the meaning of the negative return values of
......@@ -714,6 +715,14 @@ void ecrt_slave_config_dc_sync_cycle_times(
uint32_t sync1_cycle_time /**< SYNC1 cycle time [ns]. */
);
/** Sets the shift times for the SYNC0 and SYNC1 signals.
*/
void ecrt_slave_config_dc_sync_shift_times(
ec_slave_config_t *sc, /**< Slave configuration. */
uint32_t sync0_shift_time, /**< SYNC0 shift time [ns]. */
uint32_t sync1_shift_time /**< SYNC1 shift time [ns]. */
);
/** Add an SDO configuration.
*
* An SDO configuration is stored in the slave configuration object and is
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment