equal
deleted
inserted
replaced
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 |