|
IgH EtherCAT Master
1.5.2
|
EtherCAT FMMU configuration methods. More...
Go to the source code of this file.
Functions | |
| void | ec_fmmu_config_init (ec_fmmu_config_t *fmmu, ec_slave_config_t *sc, ec_domain_t *domain, uint8_t sync_index, ec_direction_t dir) |
| FMMU configuration constructor. More... | |
| void | ec_fmmu_set_domain_offset_size (ec_fmmu_config_t *fmmu, uint32_t logical_domain_offset, unsigned data_size) |
| void | ec_fmmu_config_page (const ec_fmmu_config_t *fmmu, const ec_sync_t *sync, uint8_t *data) |
| Initializes an FMMU configuration page. More... | |
EtherCAT FMMU configuration methods.
Definition in file fmmu_config.c.
| void ec_fmmu_config_init | ( | ec_fmmu_config_t * | fmmu, |
| ec_slave_config_t * | sc, | ||
| ec_domain_t * | domain, | ||
| uint8_t | sync_index, | ||
| ec_direction_t | dir | ||
| ) |
FMMU configuration constructor.
Inits an FMMU configuration, sets the logical start address and adds the process data size for the mapped PDOs of the given direction to the domain data size.
| fmmu | EtherCAT FMMU configuration. |
| sc | EtherCAT slave configuration. |
| domain | EtherCAT domain. |
| sync_index | Sync manager index to use. |
| dir | PDO direction. |
Definition at line 50 of file fmmu_config.c.
| void ec_fmmu_set_domain_offset_size | ( | ec_fmmu_config_t * | fmmu, |
| uint32_t | logical_domain_offset, | ||
| unsigned | data_size | ||
| ) |
| fmmu | EtherCAT FMMU configuration. |
| logical_domain_offset | Logical offset address relative to domain->logical_base_address. |
| data_size | Covered PDO size. |
| fmmu | EtherCAT FMMU configuration. |
| logical_domain_offset | Logical offset address relative to domain->logical_base_address. |
| data_size | Covered PDO size. |
Definition at line 69 of file fmmu_config.c.
| void ec_fmmu_config_page | ( | const ec_fmmu_config_t * | fmmu, |
| const ec_sync_t * | sync, | ||
| uint8_t * | data | ||
| ) |
Initializes an FMMU configuration page.
The referenced memory (data) must be at least EC_FMMU_PAGE_SIZE bytes.
| fmmu | EtherCAT FMMU configuration. |
| sync | Sync manager. |
| data |
|
Definition at line 86 of file fmmu_config.c.