Device classes

USB defines class codes used to identify a device’s functionality and to load a device driver based on that functionality. This enables a device driver writer to support devices from different manufacturers that comply with a given class code.

Device classes include:[ 4]

ClassUsageDescriptionExamples
00hDeviceUnspecifiedclass 0 (Device class is unspecified. Interface descriptors are used for determining the required drivers.)
01hInterfaceAudio Speaker , microphone , sound card
02hBoth Communications and CDC Control Ethernet adapter , modem , serial port adapter
03hInterface Human Interface Device (HID) Keyboard , mouse , joystick
05hInterfacePhysical Interface Device (PID)Force feedback joystick
06hInterfaceImage Webcam , scanner
07hInterface Printer Laser printer , inkjet printer , CNC machine
08hInterface Mass Storage USB flash drive , memory card reader , digital audio player , digital camera , external drive
09hDevice USB hub Full speed hub, hi-speed hub
0AhInterfaceCDC-Data(This class is used together with class 02h - Communications and CDC Control.)
0BhInterface Smart Card USB smart card reader
0DhInterfaceContent Security-
0EhInterface Video Webcam
0FhInterfacePersonal Healthcare-
DChBothDiagnostic DeviceUSB compliance testing device
E0hInterface Wireless Controller Wi-Fi adapter, Bluetooth adapter
EFhBothMiscellaneous ActiveSync device
FEhInterfaceApplication Specific IrDA Bridge, Test & Measurement Class (USBTMC)[ 5]
FFhBothVendor Specific(This class code indicates that the device needs vendor specific drivers.)

Note class 0 : Use class information in the Interface Descriptors. 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.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值