AR# 40455: XPS USB2 - How can I read/set Device Descriptor fields?
AR# 40455
|
XPS USB2 - How can I read/set Device Descriptor fields?
描述
I am using the XPS USB 2.0 Processor IP core in my design. I am trying to understand how the different Device Descriptor fields are set for a given configuration. Where can I learn more about these fields?
解决方案
Device Descriptor fields are set during software design. For example, see the xusb_storage.h file in the $XILINX_EDK/sw/XilinxProcessorIPLib/drivers/usb_v3_02_a/examples folder. The structure "USB_STD_DEV_DESC" defines the device descriptor for this particular example.
Refer to the USB 2.0 Specification for more details on Device Descriptor fields.