usbps: xusbps_endpoint.c File Reference

| usbps Xilinx SDK Drivers API Documentation

- Overview
- Data Structures
- APIs
- File List
- Examples

Functions
xusbps_endpoint.c File Reference

## 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...
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...
int | XUsbPs_EpSetHandler (XUsbPs *InstancePtr, u8 EpNum, u8 Direction, XUsbPs_EpHandlerFunc CallBackFunc, void *CallBackRef)
| This function sets the handler for 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...