阅读:2018回复:6
新手问:usb中断传输方式中,host多久发一次中断呢?我可以设置吗?谢谢
如题。谢谢!
|
|
沙发#
发布于:2004-09-06 16:30
你可以设置,在你的device endpoint descriptor里面有一栏interval的设定。
-------------------------------------------------------------------------------------------- 如果答的好请给分 |
|
板凳#
发布于:2004-09-06 16:47
vennychang老兄:我用的是driverstudio3.0,我没找到“device endpoint descriptor里面有一栏interval”,我只有设置device endpoint。你能具体的告诉我在哪吗???
一定把分给你。 |
|
地板#
发布于:2004-09-07 09:27
你做的是固件还是驱动?DEVICE ENDPOINT DESCRIPTOR是在固件里的.
|
|
|
地下室#
发布于:2004-09-08 11:39
没错 是在固件里的,你得找找你所采用的芯片是否可以透过烧写或是外接EEPROM等方法让你改变descriptor
HOST会因为这个宣告而改变对device interrupt endpoint 的polling 时间间隔 |
|
5楼#
发布于:2008-08-11 13:56
是在设备里操作还是在上位机操作?
|
|
|
6楼#
发布于:2008-09-05 09:16
const endpoint_descriptor Endpoint1Desc =
{ 0x07, // bLength 0x05, // bDescriptorType 0x81, // bEndpointAddress 0x03, // bmAttributes EP1_PACKET_SIZE_LE, // MaxPacketSize (LITTLE ENDIAN) 10 // bInterval }; //end of Endpoint1Desc const endpoint_descriptor Endpoint2Desc = { 0x07, // bLength 0x05, // bDescriptorType 0x02, // bEndpointAddress 0x03, // bmAttributes EP2_PACKET_SIZE_LE, // MaxPacketSize (LITTLE ENDIAN) 10 // bInterval }; //end of Endpoint2Desc |
|