USB设备的时间片问题:高速HID是可以125us的,如何设置呢?

[复制链接]
1967|0
 楼主| ysdx 发表于 2013-10-29 10:51 | 显示全部楼层 |阅读模式
看到的所有的端点描述上都是以ms为单位的。但是查HID规范,高速的时候是可以到125us的。

        7,                // Num bytes of this descriptor
        5,                // Endpoint descriptor type
        0x80|EP_IN_NUM,    // Endpoint number, bit7=0 shows IN      endpoint
        0x03,                //  
        0x00,            // Maximum packet size LSB
        0x04,            // Maximum packet size MSB
        0x01,            //  1ms once tranceiver

        7,                // Num bytes of this descriptor
        5,                // Endpoint descriptor type
        0x00|EP_OUT_NUM,// Endpoint number, bit7=0 shows IN       endpoint
        0x03,                //
        0x00,            // Maximum packet size LSB
        0x04,            // Maximum packet size MSB
        0x01            // 1 ms once tranceiver     //就是这里我如果想设置成125us,如何弄?

请问高速的时候我想设置成125us一次,如何操作设置这个参数呢?

我现在用HID通讯,设置成0的时候,上传数据率能够到1.6MB/S。理论应该还能够提高的。



您需要登录后才可以回帖 登录 | 注册

本版积分规则

个人签名:新手死于追涨,老手死于抄底,高手死于杠杆,价值投资死于满仓死杠!

338

主题

1056

帖子

21

粉丝
快速回复 在线客服 返回列表 返回顶部