- optional preinit function per device to allow dynamic configuration (i.e. PDO mapping count)

- FSOE parameters per device
This commit is contained in:
Sascha Ittner
2019-03-20 15:36:42 +01:00
parent a96288f155
commit 2e0a390242
8 changed files with 341 additions and 212 deletions

View File

@@ -30,10 +30,12 @@
#define LCEC_EL6900_PARAM_STDIN_NAME 2
#define LCEC_EL6900_PARAM_STDOUT_NAME 3
#define LCEC_EL6900_PARAM_SLAVEID_PDOS 6
#define LCEC_EL6900_PARAM_SLAVE_PDOS 4
#define LCEC_EL6900_PARAM_SLAVE_CH_PDOS 2
#define LCEC_EL6900_DIO_MAX_COUNT 32
int lcec_el6900_preinit(struct lcec_slave *slave);
int lcec_el6900_init(int comp_id, struct lcec_slave *slave, ec_pdo_entry_reg_t *pdo_entry_regs);
#endif