master/master.h
changeset 1987 f452c93f7723
parent 1907 dd276ae226b4
child 1989 6aa393418fb3
equal deleted inserted replaced
1986:314d0acc4b67 1987:f452c93f7723
   128     ec_datagram_t sync_datagram; /**< Datagram used for DC drift
   128     ec_datagram_t sync_datagram; /**< Datagram used for DC drift
   129                                    compensation. */
   129                                    compensation. */
   130     ec_datagram_t sync_mon_datagram; /**< Datagram used for DC synchronisation
   130     ec_datagram_t sync_mon_datagram; /**< Datagram used for DC synchronisation
   131                                        monitoring. */
   131                                        monitoring. */
   132     ec_slave_t *dc_ref_clock; /**< DC reference clock slave. */
   132     ec_slave_t *dc_ref_clock; /**< DC reference clock slave. */
   133     
   133 #ifdef EC_HAVE_CYCLES
       
   134     cycles_t dc_cycles_app_time; /** cycles at last ecrt_master_sync() call.*/
       
   135 #endif
       
   136     unsigned long dc_jiffies_app_time;/** jiffies at last
       
   137                                             ecrt_master_sync() call.*/
   134     unsigned int scan_busy; /**< Current scan state. */
   138     unsigned int scan_busy; /**< Current scan state. */
   135     unsigned int allow_scan; /**< \a True, if slave scanning is allowed. */
   139     unsigned int allow_scan; /**< \a True, if slave scanning is allowed. */
   136     struct semaphore scan_sem; /**< Semaphore protecting the \a scan_busy
   140     struct semaphore scan_sem; /**< Semaphore protecting the \a scan_busy
   137                                  variable and the \a allow_scan flag. */
   141                                  variable and the \a allow_scan flag. */
   138     wait_queue_head_t scan_queue; /**< Queue for processes that wait for
   142     wait_queue_head_t scan_queue; /**< Queue for processes that wait for