USB Class Codes
来源:互联网 发布:sql server 左联 编辑:程序博客网 时间:2024/06/01 11:48
USB defines class code information that is used to identify a device’s functionality and to nominally load a device driver based on that functionality. The information is contained in three bytes with the names Base Class, SubClass, and Protocol. (Note that ‘Base Class’ is used in this description to identify the first byte of the Class Code triple. That terminology is not used in the USB Specification). There are two places on a device where class code information can be placed.One place is in the Device Descriptor, and the other is in Interface Descriptors. Some defined class codes are allowed to be used only in a Device Descriptor, others can be used in both Device and Interface Descriptors, and some can only be used in Interface Descriptors. The table below shows the currently defined set of Base Class values, what the generic usage is, and where that Base Class can be used (either Device or Interface Descriptors or both).
Base Class
Descriptor Usage
Description
00h
Device
Use class information in the Interface Descriptors
01h
Interface
Audio
02h
Both
Communications and CDC Control
03h
Interface
HID (Human Interface Device)
05h
Interface
Physical
06h
Interface
Image
07h
Interface
Printer
08h
Interface
Mass Storage
09h
Device
Hub
0Ah
Interface
CDC-Data
0Bh
Interface
Smart Card
0Dh
Interface
Content Security
0Eh
Interface
Video
0Fh
Interface
Personal Healthcare
DCh
Both
Diagnostic Device
E0h
Interface
Wireless Controller
EFh
Both
Miscellaneous
FEh
Interface
Application Specific
FFh
Both
Vendor Specific
This base class is defined to be used in Device Descriptors to indicate that class information should be determined from the Interface Descriptors in the device. There is one class code definition in this base class. All other values are reserved. This value is also used in Interface Descriptors to indicate a null class code triple. Base Class SubClass Protocol Meaning 00h 00h 00h Use class code info from Interface Descriptors
Base Class 00h (Device)
- USB Class Codes
- USB Class Codes
- USB Class Codes
- USB Class Codes
- USB Class Codes
- USB Class Codes
- USB Class Codes
- USB Class Codes
- Video Device Class Codes
- usb class
- USB Class
- swift class inheritance * some codes
- usb device class
- USB class总结
- usb 的device class
- 设备管理 USB class
- codes
- codes
- A* Algorithm( GO ON)
- C#常用函数表
- 使用飞信WebService获取到飞信好友列表(C#)
- Sybase函数
- FTP 211-Extension supported 停止的解决方法
- USB Class Codes
- C#操作XML
- Linux设置环境变量小结
- C语言算法之背包问题
- 马云变身“跳水王子”
- Teewn 算法记载和运动
- 灵活正确的实现.NET插件机制
- html编程规范
- 最完整的:JAVA调用ORACLE的存储过程、函数的返回结果集例子