equal
deleted
inserted
replaced
120 u64 app_time; /**< Time of the last ecrt_master_sync() call. */ |
120 u64 app_time; /**< Time of the last ecrt_master_sync() call. */ |
121 ec_datagram_t ref_sync_datagram; /**< Datagram used for synchronizing the |
121 ec_datagram_t ref_sync_datagram; /**< Datagram used for synchronizing the |
122 reference clock to the master clock. */ |
122 reference clock to the master clock. */ |
123 ec_datagram_t sync_datagram; /**< Datagram used for DC drift |
123 ec_datagram_t sync_datagram; /**< Datagram used for DC drift |
124 compensation. */ |
124 compensation. */ |
|
125 ec_slave_t *dc_ref_clock; /**< DC reference clock slave. */ |
125 |
126 |
126 unsigned int scan_busy; /**< Current scan state. */ |
127 unsigned int scan_busy; /**< Current scan state. */ |
127 unsigned int allow_scan; /**< \a True, if slave scanning is allowed. */ |
128 unsigned int allow_scan; /**< \a True, if slave scanning is allowed. */ |
128 struct semaphore scan_sem; /**< Semaphore protecting the \a scan_busy |
129 struct semaphore scan_sem; /**< Semaphore protecting the \a scan_busy |
129 variable and the \a allow_scan flag. */ |
130 variable and the \a allow_scan flag. */ |
231 |
232 |
232 ec_domain_t *ecrt_master_create_domain_err(ec_master_t *); |
233 ec_domain_t *ecrt_master_create_domain_err(ec_master_t *); |
233 ec_slave_config_t *ecrt_master_slave_config_err(ec_master_t *, uint16_t, |
234 ec_slave_config_t *ecrt_master_slave_config_err(ec_master_t *, uint16_t, |
234 uint16_t, uint32_t, uint32_t); |
235 uint16_t, uint32_t, uint32_t); |
235 |
236 |
236 void ec_master_find_dc_ref_clock(ec_master_t *); |
237 void ec_master_calc_dc(ec_master_t *); |
237 void ec_master_calc_topology(ec_master_t *); |
238 |
238 |
239 /*****************************************************************************/ |
239 /*****************************************************************************/ |
240 |
240 |
241 #endif |
241 #endif |
|