equal
deleted
inserted
replaced
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 #define EC_IOCTL_SDO_DOWNLOAD EC_IOW(0x0e, ec_ioctl_sdo_download_t) |
70 #define EC_IOCTL_SII_READ EC_IOWR(0x0f, ec_ioctl_sii_read_t) |
70 #define EC_IOCTL_SII_READ EC_IOWR(0x0f, ec_ioctl_sii_t) |
|
71 #define EC_IOCTL_SII_WRITE EC_IOW(0x10, ec_ioctl_sii_t) |
71 |
72 |
72 /*****************************************************************************/ |
73 /*****************************************************************************/ |
73 |
74 |
74 typedef struct { |
75 typedef struct { |
75 uint32_t slave_count; |
76 uint32_t slave_count; |
262 // inputs |
263 // inputs |
263 uint16_t slave_position; |
264 uint16_t slave_position; |
264 uint16_t offset; |
265 uint16_t offset; |
265 uint32_t nwords; |
266 uint32_t nwords; |
266 uint16_t *words; |
267 uint16_t *words; |
267 } ec_ioctl_sii_read_t; |
268 } ec_ioctl_sii_t; |
268 |
269 |
269 /*****************************************************************************/ |
270 /*****************************************************************************/ |
270 |
271 |
271 #endif |
272 #endif |