usb
Vitis Drivers API Documentation
xusb_endpoint.c File Reference

Functions

void XUsb_EpEnable (const XUsb *InstancePtr, u8 EpNum)
 This function enables the specified endpoint for all operations. More...
 
void XUsb_EpDisable (const XUsb *InstancePtr, u8 EpNum)
 This function disables the specified endpoint for all operations. More...
 
void XUsb_EpStall (const XUsb *InstancePtr, u8 EpNum)
 This function stalls operations for the specified endpoint. More...
 
void XUsb_EpUnstall (const XUsb *InstancePtr, u8 EpNum)
 This function unstalls operations for the specified endpoint. More...
 
void XUsb_EpConfigure (XUsb *InstancePtr, u8 EpNum, XUsb_EpConfig *EpCfgPtr)
 This function configures a specific end point with the given configuration data. More...
 
int XUsb_EpDataSend (XUsb *InstancePtr, u8 EpNum, u8 *BufferPtr, u32 BufferLen)
 This function copies the transmit data to the end point buffer and enables the buffer for transmission. More...
 
int XUsb_EpDataRecv (XUsb *InstancePtr, u8 EpNum, u8 *BufferPtr, u32 BufferLen)
 This function copies the received data from end point buffer to the buffer passed and then makes the device ready for receiving data again into the same end point buffer. More...
 
void XUsb_EpIsoTransferConfigure (XUsb *InstancePtr, u8 EpNum, u8 NoOfTransfers)
 This function sets the number of isochronous transfers in a microframe for a given endpoint. More...