equal
deleted
inserted
replaced
64 #define EC_IOCTL_SET_DEBUG EC_IO(0x09) |
64 #define EC_IOCTL_SET_DEBUG EC_IO(0x09) |
65 #define EC_IOCTL_SLAVE_STATE EC_IOW(0x0a, ec_ioctl_slave_state_t) |
65 #define EC_IOCTL_SLAVE_STATE EC_IOW(0x0a, ec_ioctl_slave_state_t) |
66 #define EC_IOCTL_SDO EC_IOWR(0x0b, ec_ioctl_sdo_t) |
66 #define EC_IOCTL_SDO EC_IOWR(0x0b, ec_ioctl_sdo_t) |
67 #define EC_IOCTL_SDO_ENTRY EC_IOWR(0x0c, ec_ioctl_sdo_entry_t) |
67 #define EC_IOCTL_SDO_ENTRY EC_IOWR(0x0c, ec_ioctl_sdo_entry_t) |
68 #define EC_IOCTL_SDO_UPLOAD EC_IOWR(0x0d, ec_ioctl_sdo_upload_t) |
68 #define EC_IOCTL_SDO_UPLOAD EC_IOWR(0x0d, ec_ioctl_sdo_upload_t) |
|
69 #define EC_IOCTL_SDO_DOWNLOAD EC_IOW(0x0e, ec_ioctl_sdo_download_t) |
69 |
70 |
70 /*****************************************************************************/ |
71 /*****************************************************************************/ |
71 |
72 |
72 typedef struct { |
73 typedef struct { |
73 unsigned int slave_count; |
74 unsigned int slave_count; |
242 unsigned int data_size; |
243 unsigned int data_size; |
243 } ec_ioctl_sdo_upload_t; |
244 } ec_ioctl_sdo_upload_t; |
244 |
245 |
245 /*****************************************************************************/ |
246 /*****************************************************************************/ |
246 |
247 |
|
248 typedef struct { |
|
249 // inputs |
|
250 uint16_t slave_position; |
|
251 uint16_t sdo_index; |
|
252 uint8_t sdo_entry_subindex; |
|
253 unsigned int data_size; |
|
254 uint8_t *data; |
|
255 } ec_ioctl_sdo_download_t; |
|
256 |
|
257 /*****************************************************************************/ |
|
258 |
247 #endif |
259 #endif |