master/slave.h
branchstable-1.1
changeset 1717 cc1ee18207d3
parent 1716 9440f4ff25c7
child 1731 60b2aad9d40b
equal deleted inserted replaced
1716:9440f4ff25c7 1717:cc1ee18207d3
   199 
   199 
   200 /*****************************************************************************/
   200 /*****************************************************************************/
   201 
   201 
   202 typedef struct
   202 typedef struct
   203 {
   203 {
   204     struct list_head list;
   204     struct list_head list; /**< list item */
   205     uint16_t index;
   205     uint16_t index; /**< SDO index */
   206     uint8_t subindex;
   206     uint8_t subindex; /**< SDO subindex */
   207     uint8_t *data;
   207     uint8_t *data; /**< pointer to SDO data */
   208     size_t size;
   208     size_t size; /**< size of SDO data */
   209 }
   209 }
   210 ec_sdo_data_t;
   210 ec_sdo_data_t;
   211 
   211 
   212 /*****************************************************************************/
   212 /*****************************************************************************/
   213 
   213 
   331 
   331 
   332 // misc.
   332 // misc.
   333 uint16_t ec_slave_calc_sync_size(const ec_slave_t *,
   333 uint16_t ec_slave_calc_sync_size(const ec_slave_t *,
   334                                  const ec_sii_sync_t *);
   334                                  const ec_sii_sync_t *);
   335 
   335 
   336 void ec_slave_print(const ec_slave_t *, unsigned int);
       
   337 int ec_slave_is_coupler(const ec_slave_t *);
   336 int ec_slave_is_coupler(const ec_slave_t *);
   338 //int ec_slave_check_crc(ec_slave_t *);
       
   339 
   337 
   340 /*****************************************************************************/
   338 /*****************************************************************************/
   341 
   339 
   342 #endif
   340 #endif