master/slave.h
changeset 611 16498ed938f4
parent 610 29489a43ecee
child 612 aede068f9a74
equal deleted inserted replaced
610:29489a43ecee 611:16498ed938f4
   201     struct kobject kobj; /**< kobject */
   201     struct kobject kobj; /**< kobject */
   202     ec_master_t *master; /**< master owning the slave */
   202     ec_master_t *master; /**< master owning the slave */
   203 
   203 
   204     ec_slave_state_t requested_state; /**< requested application state */
   204     ec_slave_state_t requested_state; /**< requested application state */
   205     ec_slave_state_t current_state; /**< current application state */
   205     ec_slave_state_t current_state; /**< current application state */
       
   206     ec_slave_online_state_t online_state; /**< online state */
   206     unsigned int self_configured; /**< slave was configured by this master */
   207     unsigned int self_configured; /**< slave was configured by this master */
   207     unsigned int error_flag; /**< stop processing after an error */
   208     unsigned int error_flag; /**< stop processing after an error */
   208     unsigned int online_state; /**< online state */
       
   209 
   209 
   210     // addresses
   210     // addresses
   211     uint16_t ring_position; /**< ring position */
   211     uint16_t ring_position; /**< ring position */
   212     uint16_t station_address; /**< configured station address */
   212     uint16_t station_address; /**< configured station address */
   213     uint16_t coupler_index; /**< index of the last bus coupler */
   213     uint16_t coupler_index; /**< index of the last bus coupler */