master/slave.h
changeset 1586 eb9185dfa8ac
parent 1583 017fa8fd9ac1
child 1596 ea8d2b4ee742
equal deleted inserted replaced
1581:e51cf2af3ff9 1586:eb9185dfa8ac
    43 #include "globals.h"
    43 #include "globals.h"
    44 #include "datagram.h"
    44 #include "datagram.h"
    45 #include "pdo.h"
    45 #include "pdo.h"
    46 #include "sync.h"
    46 #include "sync.h"
    47 #include "sdo.h"
    47 #include "sdo.h"
       
    48 #include "fsm_slave.h"
    48 
    49 
    49 /*****************************************************************************/
    50 /*****************************************************************************/
    50 
    51 
    51 /** Slave port.
    52 /** Slave port.
    52  */
    53  */
   155     ec_sii_t sii; /**< Extracted SII data. */
   156     ec_sii_t sii; /**< Extracted SII data. */
   156 
   157 
   157     struct list_head sdo_dictionary; /**< SDO dictionary list */
   158     struct list_head sdo_dictionary; /**< SDO dictionary list */
   158     uint8_t sdo_dictionary_fetched; /**< Dictionary has been fetched. */
   159     uint8_t sdo_dictionary_fetched; /**< Dictionary has been fetched. */
   159     unsigned long jiffies_preop; /**< Time, the slave went to PREOP. */
   160     unsigned long jiffies_preop; /**< Time, the slave went to PREOP. */
       
   161 
       
   162     ec_fsm_slave_t fsm; /**< Slave state machine. */
       
   163     ec_datagram_t fsm_datagram; /**< Datagram used for state machines. */
   160 };
   164 };
   161 
   165 
   162 /*****************************************************************************/
   166 /*****************************************************************************/
   163 
   167 
   164 // slave construction/destruction
   168 // slave construction/destruction