看到的所有的端点描述上都是以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。理论应该还能够提高的。
|