master/master.h
changeset 1394 e77728ddf0f9
parent 1388 3c886ec376f5
child 1396 9d04cc08f40f
equal deleted inserted replaced
1393:979a7b26036d 1394:e77728ddf0f9
   115     ec_slave_t *slaves; /**< Array of slaves on the bus. */
   115     ec_slave_t *slaves; /**< Array of slaves on the bus. */
   116     unsigned int slave_count; /**< Number of slaves on the bus. */
   116     unsigned int slave_count; /**< Number of slaves on the bus. */
   117 
   117 
   118     struct list_head configs; /**< List of slave configurations. */
   118     struct list_head configs; /**< List of slave configurations. */
   119     
   119     
       
   120     ec_datagram_t sync_datagram; /**< Datagram used for DC drift
       
   121                                    compensation. */
       
   122     
   120     unsigned int scan_busy; /**< Current scan state. */
   123     unsigned int scan_busy; /**< Current scan state. */
   121     unsigned int allow_scan; /**< \a True, if slave scanning is allowed. */
   124     unsigned int allow_scan; /**< \a True, if slave scanning is allowed. */
   122     struct semaphore scan_sem; /**< Semaphore protecting the \a scan_busy
   125     struct semaphore scan_sem; /**< Semaphore protecting the \a scan_busy
   123                                  variable and the \a allow_scan flag. */
   126                                  variable and the \a allow_scan flag. */
   124     wait_queue_head_t scan_queue; /**< Queue for processes that wait for
   127     wait_queue_head_t scan_queue; /**< Queue for processes that wait for