48 const ec_slave_config_t *sc; /**< EtherCAT slave config. */ |
48 const ec_slave_config_t *sc; /**< EtherCAT slave config. */ |
49 const ec_domain_t *domain; /**< Domain. */ |
49 const ec_domain_t *domain; /**< Domain. */ |
50 uint8_t sync_index; /**< Index of sync manager to use. */ |
50 uint8_t sync_index; /**< Index of sync manager to use. */ |
51 ec_direction_t dir; /**< FMMU direction. */ |
51 ec_direction_t dir; /**< FMMU direction. */ |
52 uint32_t logical_start_address; /**< Logical start address. */ |
52 uint32_t logical_start_address; /**< Logical start address. */ |
|
53 size_t tx_size; /**< Transmitted (bus) size. */ |
|
54 uint32_t domain_address; /** Domain start address */ |
53 unsigned int data_size; /**< Covered PDO size. */ |
55 unsigned int data_size; /**< Covered PDO size. */ |
54 } ec_fmmu_config_t; |
56 } ec_fmmu_config_t; |
55 |
57 |
56 /*****************************************************************************/ |
58 /*****************************************************************************/ |
57 |
59 |
58 void ec_fmmu_config_init(ec_fmmu_config_t *, ec_slave_config_t *, |
60 void ec_fmmu_config_init(ec_fmmu_config_t *, ec_slave_config_t *, |
59 ec_domain_t *, uint8_t, ec_direction_t); |
61 uint8_t, ec_direction_t); |
|
62 |
|
63 void ec_fmmu_config_domain(ec_fmmu_config_t *, ec_domain_t *, |
|
64 uint32_t , size_t); |
60 |
65 |
61 void ec_fmmu_config_page(const ec_fmmu_config_t *, const ec_sync_t *, |
66 void ec_fmmu_config_page(const ec_fmmu_config_t *, const ec_sync_t *, |
62 uint8_t *); |
67 uint8_t *); |
63 |
68 |
64 /*****************************************************************************/ |
69 /*****************************************************************************/ |