|
标题有误,
刚刚了解到,USB设备分复合设备和组合设备
我正在开发的驱动应该是属于组合设备得驱动。
设备描述如下:
- Device Descriptor:
- bcdUSB: 0x0110
- bDeviceClass: 0x00
- bDeviceSubClass: 0x00
- bDeviceProtocol: 0x00
- bMaxPacketSize0: 0x40 (64) //最大包大小
- idVendor: 0xXXXX //生产商ID
- idProduct: 0xXXXX //产品ID
- bcdDevice: 0x0000
- iManufacturer: 0x01
- iProduct: 0x02
- iSerialNumber: 0x00
- bNumConfigurations: 0x01
- ConnectionStatus: DeviceConnected
- Current Config Value: 0x01
- Device Bus Speed: Full
- Device Address: 0x01 //设备地址,随机
- Open Pipes: 9 //端点数量
- Endpoint Descriptor:
- bEndpointAddress: 0x81
- Transfer Type: Interrupt
- wMaxPacketSize: 0x0010 (16)
- bInterval: 0x80
- Endpoint Descriptor:
- bEndpointAddress: 0x82
- Transfer Type: Bulk
- wMaxPacketSize: 0x0040 (64)
- bInterval: 0x00
- Endpoint Descriptor:
- bEndpointAddress: 0x02
- Transfer Type: Bulk
- wMaxPacketSize: 0x0040 (64)
- bInterval: 0x00
- Endpoint Descriptor:
- bEndpointAddress: 0x84
- Transfer Type: Bulk
- wMaxPacketSize: 0x0040 (64)
- bInterval: 0x00
- Endpoint Descriptor:
- bEndpointAddress: 0x04
- Transfer Type: Bulk
- wMaxPacketSize: 0x0040 (64)
- bInterval: 0x00
- Endpoint Descriptor:
- bEndpointAddress: 0x87
- Transfer Type: Bulk
- wMaxPacketSize: 0x0040 (64)
- bInterval: 0x00
- Endpoint Descriptor:
- bEndpointAddress: 0x07
- Transfer Type: Bulk
- wMaxPacketSize: 0x0040 (64)
- bInterval: 0x00
- Endpoint Descriptor:
- bEndpointAddress: 0x88
- Transfer Type: Bulk
- wMaxPacketSize: 0x0040 (64)
- bInterval: 0x00
- Endpoint Descriptor:
- bEndpointAddress: 0x08
- Transfer Type: Bulk
- wMaxPacketSize: 0x0040 (64)
- bInterval: 0x00
复制代码 |
|