IgH EtherCAT Master
1.5.3
|
EtherCAT FMMU configuration structure. More...
Go to the source code of this file.
Data Structures | |
struct | ec_fmmu_config_t |
FMMU configuration. More... | |
Functions | |
void | ec_fmmu_config_init (ec_fmmu_config_t *, ec_slave_config_t *, ec_domain_t *, uint8_t, ec_direction_t) |
FMMU configuration constructor. More... | |
void | ec_fmmu_config_page (const ec_fmmu_config_t *, const ec_sync_t *, uint8_t *) |
Initializes an FMMU configuration page. More... | |
EtherCAT FMMU configuration structure.
Definition in file fmmu_config.h.
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_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 76 of file fmmu_config.c.