usbpsu
Vitis Drivers API Documentation
xusbpsu_endpoint.c File Reference

Functions

u32 XUsbPsu_EpGetTransferIndex (struct XUsbPsu *InstancePtr, u8 UsbEpNum, u8 Dir)
 Returns transfer index assigned by Core for an endpoint transfer. More...
 
s32 XUsbPsu_StartEpConfig (struct XUsbPsu *InstancePtr, u32 UsbEpNum, u8 Dir)
 Sends start new configuration command to the endpoint. More...
 
s32 XUsbPsu_SetEpConfig (struct XUsbPsu *InstancePtr, u8 UsbEpNum, u8 Dir, u16 Size, u8 Type, u8 Restore)
 Sends set endpoint configuration command to the endpoint. More...
 
s32 XUsbPsu_SetXferResource (struct XUsbPsu *InstancePtr, u8 UsbEpNum, u8 Dir)
 Sends set transfer resource command to the endpoint. More...
 
void XUsbPsu_StopActiveTransfers (struct XUsbPsu *InstancePtr)
 Stops any active transfer. More...
 
void XUsbPsu_ClearStallAllEp (struct XUsbPsu *InstancePtr)
 Clears stall on all stalled endpoints. More...