master/master.h
changeset 2001 2e05246f3b00
parent 1995 7d748d9cf9e8
child 2018 6c05411fee9b
equal deleted inserted replaced
2000:c76c01572f00 2001:2e05246f3b00
   186                                    compensation. */
   186                                    compensation. */
   187     ec_datagram_t sync_mon_datagram; /**< Datagram used for DC synchronisation
   187     ec_datagram_t sync_mon_datagram; /**< Datagram used for DC synchronisation
   188                                        monitoring. */
   188                                        monitoring. */
   189     ec_slave_t *dc_ref_clock; /**< DC reference clock slave. */
   189     ec_slave_t *dc_ref_clock; /**< DC reference clock slave. */
   190 #ifdef EC_HAVE_CYCLES
   190 #ifdef EC_HAVE_CYCLES
   191     cycles_t dc_cycles_app_time; /** cycles at last ecrt_master_sync() call.*/
   191     cycles_t dc_cycles_app_start_time; /** cycles at last ecrt_master_sync() call.*/
   192 #endif
   192 #endif
   193     unsigned long dc_jiffies_app_time;/** jiffies at last
   193     unsigned long dc_jiffies_app_start_time;/** jiffies at last
   194                                             ecrt_master_sync() call.*/
   194                                             ecrt_master_sync() call.*/
   195     unsigned int scan_busy; /**< Current scan state. */
   195     unsigned int scan_busy; /**< Current scan state. */
   196     unsigned int allow_scan; /**< \a True, if slave scanning is allowed. */
   196     unsigned int allow_scan; /**< \a True, if slave scanning is allowed. */
   197     struct semaphore scan_sem; /**< Semaphore protecting the \a scan_busy
   197     struct semaphore scan_sem; /**< Semaphore protecting the \a scan_busy
   198                                  variable and the \a allow_scan flag. */
   198                                  variable and the \a allow_scan flag. */