master/slave_config.c
changeset 1942 cd6ff5adae84
parent 1933 d11036537092
child 1944 73896ef6d077
equal deleted inserted replaced
1941:e12266a4f473 1942:cd6ff5adae84
   685 
   685 
   686 void ecrt_slave_config_dc(ec_slave_config_t *sc, uint16_t assign_activate,
   686 void ecrt_slave_config_dc(ec_slave_config_t *sc, uint16_t assign_activate,
   687         uint32_t sync0_cycle_time, uint32_t sync0_shift_time,
   687         uint32_t sync0_cycle_time, uint32_t sync0_shift_time,
   688         uint32_t sync1_cycle_time, uint32_t sync1_shift_time)
   688         uint32_t sync1_cycle_time, uint32_t sync1_shift_time)
   689 {
   689 {
       
   690     EC_CONFIG_DBG(sc, 1, "%s(sc = 0x%p, assign_activate = 0x%04X,"
       
   691             " sync0_cycle = %u, sync0_shift = %u,"
       
   692             " sync1_cycle = %u, sync1_shift = %u\n",
       
   693             __func__, sc, assign_activate, sync0_cycle_time, sync0_shift_time,
       
   694             sync1_cycle_time, sync1_shift_time);
       
   695 
   690     sc->dc_assign_activate = assign_activate;
   696     sc->dc_assign_activate = assign_activate;
   691     sc->dc_sync[0].cycle_time = sync0_cycle_time;
   697     sc->dc_sync[0].cycle_time = sync0_cycle_time;
   692     sc->dc_sync[0].shift_time = sync0_shift_time;
   698     sc->dc_sync[0].shift_time = sync0_shift_time;
   693     sc->dc_sync[1].cycle_time = sync1_cycle_time;
   699     sc->dc_sync[1].cycle_time = sync1_cycle_time;
   694     sc->dc_sync[1].shift_time = sync1_shift_time;
   700     sc->dc_sync[1].shift_time = sync1_shift_time;