USB标准设备请求
时间:12-15
来源:互联网
点击:
This section describes the standard device requests defined for all USB devices. Table 9-3 outlines the standard device requests, while Table 9-4 and Table 9-5 give the standard request codes and descriptor types,
respectively.USB devices must respond to standard device requests, even if the device has not yet been assigned an address or has not been configured.
Feature selectors are used when enabling or setting features, such as remote wakeup, specific to a device,interface, or endpoint. The values for the feature selectors are given in Table 9-6.
If an unsupported or invalid request is made to a USB device, the device responds by returning STALL inthe Data or Status stage of the request. If the device detects the error in the Setup stage, it is preferred that the device returns STALL at the earlier of the Data or Status stage. Receipt of an unsupported or invalid request does NOT cause the optional Halt feature on the control pipe to be set. If for any reason, the device becomes unable to communicate via its Default Control Pipe due to an error condition, the device must be reset to clear the condition and restart the Default Control Pipe.
respectively.USB devices must respond to standard device requests, even if the device has not yet been assigned an address or has not been configured.
Feature selectors are used when enabling or setting features, such as remote wakeup, specific to a device,interface, or endpoint. The values for the feature selectors are given in Table 9-6.
If an unsupported or invalid request is made to a USB device, the device responds by returning STALL inthe Data or Status stage of the request. If the device detects the error in the Setup stage, it is preferred that the device returns STALL at the earlier of the Data or Status stage. Receipt of an unsupported or invalid request does NOT cause the optional Halt feature on the control pipe to be set. If for any reason, the device becomes unable to communicate via its Default Control Pipe due to an error condition, the device must be reset to clear the condition and restart the Default Control Pipe.
USB标准设 相关文章:
- Windows CE 进程、线程和内存管理(11-09)
- RedHatLinux新手入门教程(5)(11-12)
- uClinux介绍(11-09)
- openwebmailV1.60安装教学(11-12)
- Linux嵌入式系统开发平台选型探讨(11-09)
- Windows CE 进程、线程和内存管理(二)(11-09)