master/slave.h
changeset 742 03d2fe3d4a93
parent 741 aece53f82df3
child 758 8fa6f825eb7d
equal deleted inserted replaced
741:aece53f82df3 742:03d2fe3d4a93
   173 
   173 
   174     struct kobject sdo_kobj; /**< kobject for SDOs */
   174     struct kobject sdo_kobj; /**< kobject for SDOs */
   175     struct list_head sdo_dictionary; /**< SDO dictionary list */
   175     struct list_head sdo_dictionary; /**< SDO dictionary list */
   176     struct list_head sdo_confs; /**< list of SDO configurations */
   176     struct list_head sdo_confs; /**< list of SDO configurations */
   177     uint8_t sdo_dictionary_fetched; /**< dictionary has been fetched */
   177     uint8_t sdo_dictionary_fetched; /**< dictionary has been fetched */
       
   178     unsigned long jiffies_preop; /**< time, the slave went to PREOP */
       
   179 
   178     uint8_t pdo_mapping_fetched; /**< PDO mapping has been fetched */
   180     uint8_t pdo_mapping_fetched; /**< PDO mapping has been fetched */
   179     unsigned long jiffies_preop; /**< time, the slave went to PREOP */
       
   180 };
   181 };
   181 
   182 
   182 /*****************************************************************************/
   183 /*****************************************************************************/
   183 
   184 
   184 // slave construction/destruction
   185 // slave construction/destruction
   193 void ec_slave_request_state(ec_slave_t *, ec_slave_state_t);
   194 void ec_slave_request_state(ec_slave_t *, ec_slave_state_t);
   194 void ec_slave_set_state(ec_slave_t *, ec_slave_state_t);
   195 void ec_slave_set_state(ec_slave_t *, ec_slave_state_t);
   195 void ec_slave_set_online_state(ec_slave_t *, ec_slave_online_state_t);
   196 void ec_slave_set_online_state(ec_slave_t *, ec_slave_online_state_t);
   196 
   197 
   197 // SII categories
   198 // SII categories
   198 int ec_slave_fetch_sii_strings(ec_slave_t *, const uint8_t *);
   199 int ec_slave_fetch_sii_strings(ec_slave_t *, const uint8_t *, size_t);
   199 void ec_slave_fetch_sii_general(ec_slave_t *, const uint8_t *);
   200 int ec_slave_fetch_sii_general(ec_slave_t *, const uint8_t *, size_t);
   200 int ec_slave_fetch_sii_syncs(ec_slave_t *, const uint8_t *, size_t);
   201 int ec_slave_fetch_sii_syncs(ec_slave_t *, const uint8_t *, size_t);
   201 int ec_slave_fetch_sii_pdos(ec_slave_t *, const uint8_t *, size_t,
   202 int ec_slave_fetch_sii_pdos(ec_slave_t *, const uint8_t *, size_t,
   202         ec_pdo_type_t);
   203         ec_pdo_type_t);
   203 
   204 
   204 // misc.
   205 // misc.