master/slave.h
changeset 251 c1d0b63a9302
parent 246 0bf7c769de06
child 260 5fe7df7f2433
equal deleted inserted replaced
250:440ae5f6d2c3 251:c1d0b63a9302
   270     char *eeprom_desc; /**< slave description acc. to EEPROM */
   270     char *eeprom_desc; /**< slave description acc. to EEPROM */
   271 
   271 
   272     struct list_head sdo_dictionary; /**< SDO directory list */
   272     struct list_head sdo_dictionary; /**< SDO directory list */
   273 
   273 
   274     ec_command_t mbox_command; /**< mailbox command */
   274     ec_command_t mbox_command; /**< mailbox command */
       
   275 
       
   276     ec_slave_state_t requested_state; /**< requested slave state */
       
   277     ec_slave_state_t current_state; /**< current slave state */
       
   278     unsigned int state_error; /**< a state error has happened */
   275 };
   279 };
   276 
   280 
   277 /*****************************************************************************/
   281 /*****************************************************************************/
   278 
   282 
   279 // slave construction/destruction
   283 // slave construction/destruction