![]() |
usb
Xilinx SDK Drivers API Documentation
|
The XUsb driver instance data. More...
Data Fields | |
XUsb_Config | Config |
Configuration structure. More... | |
u32 | IsReady |
Device is initialized and ready. More... | |
u32 | USBAddress |
The USB address of the device. More... | |
u32 | EndPointOffset [XUSB_MAX_ENDPOINTS] |
End point Offsets. More... | |
XUsb_DeviceConfig | DeviceConfig |
The following structure holds the configuration for the controller. More... | |
XUsb_IntrHandlerFunc | HandlerFunc |
Callbacks and callback references. More... | |
The XUsb driver instance data.
The user is required to allocate a variable of this type for every USB device in the system. A pointer to a variable of this type is then passed to the driver API functions.
XUsb_Config XUsb::Config |
Configuration structure.
Referenced by Chapter9(), InitUsbInterface(), SetupControlWriteStatusStage(), XUsb_CfgInitialize(), XUsb_DmaReset(), XUsb_DmaTransfer(), XUsb_EpConfigure(), XUsb_EpDataRecv(), XUsb_EpDataSend(), XUsb_EpDisable(), XUsb_EpEnable(), XUsb_EpIsoTransferConfigure(), XUsb_EpStall(), XUsb_EpUnstall(), XUsb_GetFrameNum(), XUsb_IntrDisable(), XUsb_IntrEnable(), XUsb_ReadErrorCounters(), XUsb_SetDeviceAddress(), XUsb_SetTestMode(), XUsb_SieReset(), XUsb_Start(), XUsb_Stop(), XUsb_UlpiPhyReadRegister(), and XUsb_UlpiPhyWriteRegister().
XUsb_DeviceConfig XUsb::DeviceConfig |
The following structure holds the configuration for the controller.
They are initialized using the XUsb_ConfigureDevice() function call.
Referenced by InitUsbInterface(), ReadTransfer(), SetupControlWriteStatusStage(), XUsb_CfgInitialize(), XUsb_ConfigureDevice(), XUsb_EpDataRecv(), XUsb_EpDataSend(), and XUsb_EpSetHandler().
u32 XUsb::EndPointOffset[XUSB_MAX_ENDPOINTS] |
End point Offsets.
Referenced by SetupControlWriteStatusStage(), XUsb_CfgInitialize(), XUsb_EpConfigure(), XUsb_EpDataSend(), XUsb_EpDisable(), XUsb_EpEnable(), XUsb_EpIsoTransferConfigure(), XUsb_EpStall(), and XUsb_EpUnstall().
XUsb_IntrHandlerFunc XUsb::HandlerFunc |
Callbacks and callback references.
Referenced by XUsb_CfgInitialize(), and XUsb_IntrSetHandler().
u32 XUsb::IsReady |
Device is initialized and ready.
Referenced by XUsb_DmaIntrSetHandler(), XUsb_EpDataRecv(), XUsb_EpDataSend(), XUsb_EpDisable(), XUsb_EpEnable(), XUsb_EpIsoTransferConfigure(), XUsb_EpStall(), XUsb_EpUnstall(), XUsb_ErrIntrSetHandler(), XUsb_GetFrameNum(), XUsb_IntrDisable(), XUsb_IntrEnable(), XUsb_IntrSetHandler(), XUsb_SetDeviceAddress(), XUsb_SetTestMode(), XUsb_Start(), XUsb_Stop(), and XUsb_UlpiIntrSetHandler().
u32 XUsb::USBAddress |
The USB address of the device.