master/slave.h
changeset 1426 af45bba80d85
parent 1425 c1322a8793c0
child 1465 3099d78343ea
equal deleted inserted replaced
1425:c1322a8793c0 1426:af45bba80d85
   139     uint8_t base_dc_supported; /**< Distributed clocks are supported. */
   139     uint8_t base_dc_supported; /**< Distributed clocks are supported. */
   140     ec_slave_dc_range_t base_dc_range; /**< DC range. */
   140     ec_slave_dc_range_t base_dc_range; /**< DC range. */
   141     uint8_t has_dc_system_time; /**< The slave supports the DC system time
   141     uint8_t has_dc_system_time; /**< The slave supports the DC system time
   142                                   register. Otherwise it can only be used for
   142                                   register. Otherwise it can only be used for
   143                                   delay measurement. */
   143                                   delay measurement. */
   144     uint32_t transition_delay; /**< DC transition delay (from reference
   144     uint32_t transmission_delay; /**< DC system time transmission delay
   145                                  clock). */
   145                                    (offset from reference clock). */
   146 
   146 
   147     // SII
   147     // SII
   148     uint16_t *sii_words; /**< Complete SII image. */
   148     uint16_t *sii_words; /**< Complete SII image. */
   149     size_t sii_nwords; /**< Size of the SII contents in words. */
   149     size_t sii_nwords; /**< Size of the SII contents in words. */
   150 
   150 
   185 uint16_t ec_slave_sdo_count(const ec_slave_t *);
   185 uint16_t ec_slave_sdo_count(const ec_slave_t *);
   186 const ec_pdo_t *ec_slave_find_pdo(const ec_slave_t *, uint16_t);
   186 const ec_pdo_t *ec_slave_find_pdo(const ec_slave_t *, uint16_t);
   187 void ec_slave_attach_pdo_names(ec_slave_t *);
   187 void ec_slave_attach_pdo_names(ec_slave_t *);
   188 
   188 
   189 void ec_slave_calc_port_delays(ec_slave_t *);
   189 void ec_slave_calc_port_delays(ec_slave_t *);
   190 void ec_slave_calc_transition_delays_rec(ec_slave_t *, uint32_t *);
   190 void ec_slave_calc_transmission_delays_rec(ec_slave_t *, uint32_t *);
   191 
   191 
   192 /*****************************************************************************/
   192 /*****************************************************************************/
   193 
   193 
   194 #endif
   194 #endif