equal
deleted
inserted
replaced
67 #define EC_IOCTL_SLAVE_SII_WRITE EC_IOW(0x0f, ec_ioctl_slave_sii_t) |
67 #define EC_IOCTL_SLAVE_SII_WRITE EC_IOW(0x0f, ec_ioctl_slave_sii_t) |
68 #define EC_IOCTL_CONFIG EC_IOWR(0x10, ec_ioctl_config_t) |
68 #define EC_IOCTL_CONFIG EC_IOWR(0x10, ec_ioctl_config_t) |
69 #define EC_IOCTL_CONFIG_PDO EC_IOWR(0x11, ec_ioctl_config_pdo_t) |
69 #define EC_IOCTL_CONFIG_PDO EC_IOWR(0x11, ec_ioctl_config_pdo_t) |
70 #define EC_IOCTL_CONFIG_PDO_ENTRY EC_IOWR(0x12, ec_ioctl_config_pdo_entry_t) |
70 #define EC_IOCTL_CONFIG_PDO_ENTRY EC_IOWR(0x12, ec_ioctl_config_pdo_entry_t) |
71 #define EC_IOCTL_CONFIG_SDO EC_IOWR(0x13, ec_ioctl_config_sdo_t) |
71 #define EC_IOCTL_CONFIG_SDO EC_IOWR(0x13, ec_ioctl_config_sdo_t) |
|
72 #define EC_IOCTL_SLAVE_FOE_READ EC_IOWR(0x14, ec_ioctl_slave_foe_t) |
|
73 #define EC_IOCTL_SLAVE_FOE_WRITE EC_IOW(0x15, ec_ioctl_slave_foe_t) |
72 |
74 |
73 #define EC_IOCTL_STRING_SIZE 64 |
75 #define EC_IOCTL_STRING_SIZE 64 |
74 |
76 |
75 /*****************************************************************************/ |
77 /*****************************************************************************/ |
76 |
78 |
340 uint8_t data[4]; |
342 uint8_t data[4]; |
341 } ec_ioctl_config_sdo_t; |
343 } ec_ioctl_config_sdo_t; |
342 |
344 |
343 /*****************************************************************************/ |
345 /*****************************************************************************/ |
344 |
346 |
|
347 typedef struct { |
|
348 // inputs |
|
349 uint16_t slave_position; |
|
350 uint16_t offset; |
|
351 uint32_t buffer_size; |
|
352 uint8_t *buffer; |
|
353 |
|
354 // outputs |
|
355 uint32_t data_size; |
|
356 uint32_t abort_code; |
|
357 char file_name[32]; |
|
358 } ec_ioctl_slave_foe_t; |
|
359 |
|
360 /*****************************************************************************/ |
|
361 |
345 /** \endcond */ |
362 /** \endcond */ |
346 |
363 |
347 #endif |
364 #endif |