usbps
Vitis Drivers API Documentation
|
Functions | |
int | XUsbPs_ConfigureDevice (XUsbPs *InstancePtr, const XUsbPs_DeviceConfig *CfgPtr) |
This function configures the DEVICE side of the controller. More... | |
int | XUsbPs_EpBufferSend (XUsbPs *InstancePtr, u8 EpNum, const u8 *BufferPtr, u32 BufferLen) |
This function sends a given data buffer. More... | |
int | XUsbPs_EpBufferSendWithZLT (XUsbPs *InstancePtr, u8 EpNum, const u8 *BufferPtr, u32 BufferLen) |
This function sends a given data buffer and also zero length packet if the Bufferlen is in multiples of endpoint max packet size. More... | |
void | XUsbPs_EpGetData (XUsbPs *InstancePtr, u8 EpNum, u32 BufferLen) |
This function receives a data buffer from the endpoint of the given endpoint number and pass it to the application. More... | |
int | XUsbPs_EpBufferReceive (XUsbPs *InstancePtr, u8 EpNum, u8 **BufferPtr, u32 *BufferLenPtr, u32 *Handle) |
This function receives a data buffer from the endpoint of the given endpoint number. More... | |
void | XUsbPs_EpBufferRelease (u32 Handle) |
This function returns a previously received data buffer to the driver. More... | |
s32 | XUsbPs_EpDataBufferReceive (XUsbPs *InstancePtr, u8 EpNum, u8 *BufferPtr, u32 BufferLen) |
This function receives a data buffer from the endpoint of the given endpoint number. More... | |
int | XUsbPs_EpSetHandler (XUsbPs *InstancePtr, u8 EpNum, u8 Direction, XUsbPs_EpHandlerFunc CallBackFunc, void *CallBackRef) |
This function sets the handler for endpoint events. More... | |
s32 | XUsbPs_EpSetIsoHandler (XUsbPs *InstancePtr, u8 EpNum, u8 Direction, XUsbPs_EpIsoHandlerFunc CallBackFunc) |
This function sets the handler for ISO endpoint events. More... | |
int | XUsbPs_EpPrime (XUsbPs *InstancePtr, u8 EpNum, u8 Direction) |
This function primes an endpoint. More... | |
int | XUsbPs_EpGetSetupData (XUsbPs *InstancePtr, int EpNum, XUsbPs_SetupData *SetupDataPtr) |
This function extracts the Setup Data from a given endpoint. More... | |
int | XUsbPs_ReconfigureEp (XUsbPs *InstancePtr, XUsbPs_DeviceConfig *CfgPtr, int EpNum, unsigned short NewDirection, int DirectionChanged) |
This function reconfigures one Ep corresponding to host's request of setting alternate interface. More... | |