![]() |
usbps
Xilinx SDK Drivers API Documentation
|
The XUsbPs_DeviceConfig structure contains the configuration information to configure the USB controller for DEVICE mode. More...
Data Fields | |
| u8 | NumEndpoints |
| Number of Endpoints for the controller. More... | |
| XUsbPs_EpConfig | EpCfg [XUSBPS_MAX_ENDPOINTS] |
| List of endpoint configurations. More... | |
| u32 | DMAMemPhys |
| Physical base address of DMAable memory allocated for the driver. More... | |
| XUsbPs_Endpoint | Ep [XUSBPS_MAX_ENDPOINTS] |
| List of endpoint metadata structures. More... | |
| u32 | PhysAligned |
| 64 byte aligned base address of the DMA memory block. More... | |
The XUsbPs_DeviceConfig structure contains the configuration information to configure the USB controller for DEVICE mode.
This data structure is used with the XUsbPs_ConfigureDevice() function call.
| u32 XUsbPs_DeviceConfig::DMAMemPhys |
Physical base address of DMAable memory allocated for the driver.
Referenced by XUsbPs_ConfigureDevice().
| XUsbPs_Endpoint XUsbPs_DeviceConfig::Ep[XUSBPS_MAX_ENDPOINTS] |
List of endpoint metadata structures.
Referenced by XUsbPs_EpBufferReceive(), XUsbPs_EpGetSetupData(), and XUsbPs_ReconfigureEp().
| XUsbPs_EpConfig XUsbPs_DeviceConfig::EpCfg[XUSBPS_MAX_ENDPOINTS] |
List of endpoint configurations.
Referenced by XUsbPs_EpBufferReceive(), XUsbPs_EpBufferSendWithZLT(), and XUsbPs_ReconfigureEp().
| u8 XUsbPs_DeviceConfig::NumEndpoints |
Number of Endpoints for the controller.
This number depends on the runtime configuration of driver. The driver may configure fewer endpoints than are available in the core.
| u32 XUsbPs_DeviceConfig::PhysAligned |
64 byte aligned base address of the DMA memory block.
Will be computed and set by the L0/L1 driver.
Referenced by XUsbPs_ConfigureDevice().