void ec_sync_clear(ec_sync_t *)
Destructor.
void ec_sync_page(const ec_sync_t *, uint8_t, uint16_t, const ec_sync_config_t *, uint8_t, uint8_t *)
Initializes a sync manager configuration page.
int ec_sync_add_pdo(ec_sync_t *, const ec_pdo_t *)
Adds a PDO to the list of known mapped PDOs.
void ec_sync_init(ec_sync_t *, ec_slave_t *)
Constructor.
Global definitions and macros.
EtherCAT PDO list structure.
ec_direction_t ec_sync_default_direction(const ec_sync_t *)
Determines the default direction from the control register.
ec_direction_t
Direction type for PDO assignment functions.
ec_slave_t * slave
Slave, the sync manager belongs to.
uint8_t control_register
Control register value.
void ec_sync_init_copy(ec_sync_t *, const ec_sync_t *)
Copy constructor.
uint8_t enable
Enable bit.
Sync manager configuration.
ec_pdo_list_t pdos
Current PDO assignment.
uint16_t physical_start_address
Physical start address.
uint16_t default_length
Data length in bytes.