added support for SoE setup
This commit is contained in:
@@ -131,6 +131,14 @@ typedef struct {
|
||||
uint8_t data[];
|
||||
} lcec_slave_sdoconf_t;
|
||||
|
||||
typedef struct {
|
||||
uint8_t drive;
|
||||
uint16_t idn;
|
||||
ec_al_state_t state;
|
||||
size_t length;
|
||||
uint8_t data[];
|
||||
} lcec_slave_idnconf_t;
|
||||
|
||||
typedef struct lcec_slave {
|
||||
struct lcec_slave *prev;
|
||||
struct lcec_slave *next;
|
||||
@@ -155,6 +163,7 @@ typedef struct lcec_slave {
|
||||
ec_pdo_info_t *generic_pdos;
|
||||
ec_sync_info_t *generic_sync_managers;
|
||||
lcec_slave_sdoconf_t *sdo_config;
|
||||
lcec_slave_idnconf_t *idn_config;
|
||||
} lcec_slave_t;
|
||||
|
||||
int lcec_read_sdo(struct lcec_slave *slave, uint16_t index, uint8_t subindex, uint8_t *target, size_t size);
|
||||
|
||||
Reference in New Issue
Block a user