equal
deleted
inserted
replaced
220 const ec_domain_t *domain; /**< domain */ |
220 const ec_domain_t *domain; /**< domain */ |
221 const ec_sii_sync_t *sync; /**< sync manager */ |
221 const ec_sii_sync_t *sync; /**< sync manager */ |
222 uint32_t logical_start_address; /**< logical start address */ |
222 uint32_t logical_start_address; /**< logical start address */ |
223 } |
223 } |
224 ec_fmmu_t; |
224 ec_fmmu_t; |
225 |
|
226 /*****************************************************************************/ |
|
227 |
|
228 /** |
|
229 Variable-sized field information. |
|
230 */ |
|
231 |
|
232 typedef struct |
|
233 { |
|
234 struct list_head list; /**< list item */ |
|
235 const ec_sii_pdo_t *pdo; /**< PDO */ |
|
236 size_t size; /**< field size */ |
|
237 } |
|
238 ec_varsize_t; |
|
239 |
225 |
240 /*****************************************************************************/ |
226 /*****************************************************************************/ |
241 |
227 |
242 /** |
228 /** |
243 EtherCAT slave. |
229 EtherCAT slave. |
313 void ec_slave_clear(struct kobject *); |
299 void ec_slave_clear(struct kobject *); |
314 |
300 |
315 int ec_slave_prepare_fmmu(ec_slave_t *, const ec_domain_t *, |
301 int ec_slave_prepare_fmmu(ec_slave_t *, const ec_domain_t *, |
316 const ec_sii_sync_t *); |
302 const ec_sii_sync_t *); |
317 |
303 |
318 // CoE |
|
319 //int ec_slave_fetch_sdo_list(ec_slave_t *); |
|
320 |
|
321 // SII categories |
304 // SII categories |
322 int ec_slave_fetch_strings(ec_slave_t *, const uint8_t *); |
305 int ec_slave_fetch_strings(ec_slave_t *, const uint8_t *); |
323 void ec_slave_fetch_general(ec_slave_t *, const uint8_t *); |
306 void ec_slave_fetch_general(ec_slave_t *, const uint8_t *); |
324 int ec_slave_fetch_sync(ec_slave_t *, const uint8_t *, size_t); |
307 int ec_slave_fetch_sync(ec_slave_t *, const uint8_t *, size_t); |
325 int ec_slave_fetch_pdo(ec_slave_t *, const uint8_t *, size_t, |
308 int ec_slave_fetch_pdo(ec_slave_t *, const uint8_t *, size_t, |