![]() |
usb
Xilinx SDK Drivers API Documentation
|
Functions | |
| int | XUsb_CfgInitialize (XUsb *InstancePtr, XUsb_Config *ConfigPtr, UINTPTR EffectiveAddr) |
| This function initializes a XUsb instance/driver. More... | |
| int | XUsb_ConfigureDevice (XUsb *InstancePtr, XUsb_DeviceConfig *CfgPtr) |
| This function initializes USB End points. More... | |
| void | XUsb_Start (XUsb *InstancePtr) |
| This function starts the USB Device. More... | |
| void | XUsb_Stop (XUsb *InstancePtr) |
| This function stops the USB device. More... | |
| u32 | XUsb_GetFrameNum (const XUsb *InstancePtr) |
| This function returns the current frame number. More... | |
| int | XUsb_SetDeviceAddress (XUsb *InstancePtr, u8 Address) |
| This function sets the USB device address. More... | |
| void | XUsb_SetTestMode (XUsb *InstancePtr, u8 TestMode, u8 *BufPtr) |
| This function sets the USB device into a given test mode. More... | |
| void | XUsb_DmaReset (XUsb *InstancePtr) |
| This function resets the DMA module of the USB device. More... | |
| void | XUsb_DmaTransfer (XUsb *InstancePtr, UINTPTR *SrcAddr, UINTPTR *DstAddr, u16 Length) |
| This function sets the DMA registers with the given values to initiate a DMA data transfer. More... | |
| void | XUsb_ReadErrorCounters (XUsb *InstancePtr, u8 *BitStuffErrors, u8 *PidErrors, u8 *CrcErrors) |
| This function reads the USB error counter regsiter and returns the error counters information. More... | |
| u8 | XUsb_UlpiPhyReadRegister (XUsb *InstancePtr, u8 RegAddr) |
| This function initiates the USB ULPI PHY regsiter read transaction. More... | |
| int | XUsb_UlpiPhyWriteRegister (XUsb *InstancePtr, u8 RegAddr, u8 UlpiPhyRegData) |
| This function initiates the USB ULPI PHY regsiter write transaction. More... | |
| void | XUsb_SieReset (XUsb *InstancePtr) |
| This function resets the Serial Interface Engine. More... | |