![]() |
usb
Xilinx SDK Drivers API Documentation
|
The XUsb_DeviceConfig structure contains the configuration information to configure the USB controller for DEVICE mode. More...
Data Fields | |
| u8 | NumEndpoints |
| Number of Endpoints. More... | |
| XUsb_EpConfig | Ep [XUSB_MAX_ENDPOINTS] |
| An array of end points. More... | |
| u8 | Status |
| USB device Status. More... | |
| u8 | CurrentConfiguration |
| Current state of enumeration enumerated (1)/Not enumerated (0) More... | |
| u32 | CurrentSpeed |
| Current Speed. More... | |
The XUsb_DeviceConfig structure contains the configuration information to configure the USB controller for DEVICE mode.
This data structure is used with the XUsb_ConfigureDevice() function call.
| u8 XUsb_DeviceConfig::CurrentConfiguration |
Current state of enumeration enumerated (1)/Not enumerated (0)
| u32 XUsb_DeviceConfig::CurrentSpeed |
Current Speed.
Referenced by ReadTransfer().
| XUsb_EpConfig XUsb_DeviceConfig::Ep[XUSB_MAX_ENDPOINTS] |
An array of end points.
Referenced by InitUsbInterface(), SetupControlWriteStatusStage(), XUsb_ConfigureDevice(), XUsb_EpDataRecv(), XUsb_EpDataSend(), and XUsb_EpSetHandler().
| u8 XUsb_DeviceConfig::NumEndpoints |
Number of Endpoints.
Referenced by InitUsbInterface(), XUsb_CfgInitialize(), and XUsb_ConfigureDevice().
| u8 XUsb_DeviceConfig::Status |
USB device Status.