master/ioctl.h
changeset 1242 632a6b91f8e4
parent 1200 ce1a65f06efc
child 1244 0b70040d3daa
equal deleted inserted replaced
1241:794cbccdcd00 1242:632a6b91f8e4
    76 #define EC_IOCTL_SLAVE_PHY_WRITE       EC_IOW(0x11, ec_ioctl_slave_phy_t)
    76 #define EC_IOCTL_SLAVE_PHY_WRITE       EC_IOW(0x11, ec_ioctl_slave_phy_t)
    77 #define EC_IOCTL_CONFIG               EC_IOWR(0x12, ec_ioctl_config_t)
    77 #define EC_IOCTL_CONFIG               EC_IOWR(0x12, ec_ioctl_config_t)
    78 #define EC_IOCTL_CONFIG_PDO           EC_IOWR(0x13, ec_ioctl_config_pdo_t)
    78 #define EC_IOCTL_CONFIG_PDO           EC_IOWR(0x13, ec_ioctl_config_pdo_t)
    79 #define EC_IOCTL_CONFIG_PDO_ENTRY     EC_IOWR(0x14, ec_ioctl_config_pdo_entry_t)
    79 #define EC_IOCTL_CONFIG_PDO_ENTRY     EC_IOWR(0x14, ec_ioctl_config_pdo_entry_t)
    80 #define EC_IOCTL_CONFIG_SDO           EC_IOWR(0x15, ec_ioctl_config_sdo_t)
    80 #define EC_IOCTL_CONFIG_SDO           EC_IOWR(0x15, ec_ioctl_config_sdo_t)
       
    81 #define EC_IOCTL_REQUEST               EC_IOR(0x16, ec_ioctl_request_t)
    81 
    82 
    82 #define EC_IOCTL_STRING_SIZE 64
    83 #define EC_IOCTL_STRING_SIZE 64
    83 
    84 
    84 /*****************************************************************************/
    85 /*****************************************************************************/
    85 
    86 
   359     uint8_t data[4];
   360     uint8_t data[4];
   360 } ec_ioctl_config_sdo_t;
   361 } ec_ioctl_config_sdo_t;
   361 
   362 
   362 /*****************************************************************************/
   363 /*****************************************************************************/
   363 
   364 
       
   365 typedef struct {
       
   366     ec_master_t *handle;
       
   367 } ec_ioctl_request_t;
       
   368 
       
   369 /*****************************************************************************/
       
   370 
   364 /** \endcond */
   371 /** \endcond */
   365 
   372 
   366 #endif
   373 #endif