English
Language : 

EZ-USB Datasheet, PDF (133/334 Pages) Cypress Semiconductor – The EZ-USB USB Integrated Circuit
7.3.3 Clear Feature
Clear Feature is used to disable remote wakeup or to clear a stalled endpoint.
Table 7-8. Clear Feature-Device (Clear Remote Wakeup Bit)
Byte
Field
0 bmRequestType
1 bRequest
2 wValueL
3 wValueH
4 wIndexL
5 wIndexH
6 wLengthL
7 wLengthH
Value
Meaning
0x00 OUT, Device
0x01 “Clear Feature”
0x01 Feature Selector:
Remote Wakeup
0x00
0x00
0x00
0x00
0x00
8051 Response
Clear the remote wakeup bit
Table 7-9. Clear Feature-Endpoint (Clear Stall)
Byte
Field
0 bmRequestType
1 bRequest
2 wValueL
3 wValueH
4 wIndexL
5 wIndexH
6 wLengthL
7 wLengthH
Value
Meaning
0x02 OUT, Endpoint
0x01 “Clear Feature”
0x00 Feature Selector:
STALL
0x00
EP
0x00
0x00
0x00
8051 Response
Clear the STALL bit for the
indicated endpoint:
EP(n):
0x00-0x07: OUT0-OUT7
0x80-0x87: IN0-IN7
If the USB device supports remote wakeup (as reported in its descriptor table when the
device is enumerated), the Clear_Feature/Remote Wakeup request disables the wakeup
capability.
The Clear_Feature/Stall removes the stall condition from an endpoint. The 8051 should
respond by clearing the stall bit in the indicated endpoint’s CS register.
7.3.4 Get Descriptor
During enumeration, the host queries a USB device to learn its capabilities and require-
ments using Get_Descriptor requests. Using tables of descriptors, the device sends back
Page 7-12
Chapter 7. EZ-USB CPU
EZ-USB TRM v1.9