usbpsu
Vitis Drivers API Documentation
|
Functions | |
void | XUsbPsu_StopTransfer (struct XUsbPsu *InstancePtr, u8 UsbEpNum, u8 Dir, u8 Force) |
Stops transfer on Endpoint. More... | |
void | XUsbPsu_EpTransferDeactive (struct XUsbPsu *InstancePtr, u8 UsbEpNum, u8 Dir) |
Reset and Deactivate transfer Endpoint. More... | |
void | XUsbPsu_SaveEndpointState (struct XUsbPsu *InstancePtr, struct XUsbPsu_Ep *Ept) |
Query endpoint state and save it in EpSavedState. More... | |
void | XUsbPsu_ClearStalls (struct XUsbPsu *InstancePtr) |
Clears Stall on all endpoints. More... | |
s32 | XUsbPsu_EpBufferSend (struct XUsbPsu *InstancePtr, u8 UsbEp, u8 *BufferPtr, u32 BufferLen) |
Initiates DMA to send data on endpoint to Host. More... | |
s32 | XUsbPsu_EpBufferRecv (struct XUsbPsu *InstancePtr, u8 UsbEp, u8 *BufferPtr, u32 Length) |
Initiates DMA to receive data on Endpoint from Host. More... | |
void | XUsbPsu_EpSetStall (struct XUsbPsu *InstancePtr, u8 Epnum, u8 Dir) |
Stalls an Endpoint. More... | |
void | XUsbPsu_EpClearStall (struct XUsbPsu *InstancePtr, u8 Epnum, u8 Dir) |
Clears Stall on an Endpoint. More... | |
void | XUsbPsu_SetEpHandler (struct XUsbPsu *InstancePtr, u8 Epnum, u8 Dir, void(*Handler)(void *, u32, u32)) |
Sets an user handler to be called after data is sent/received by an Endpoint. More... | |
s32 | XUsbPsu_IsEpStalled (struct XUsbPsu *InstancePtr, u8 Epnum, u8 Dir) |
Returns status of endpoint - Stalled or not. More... | |
void | XUsbPsu_EpXferComplete (struct XUsbPsu *InstancePtr, const struct XUsbPsu_Event_Epevt *Event) |
Checks the Data Phase and calls user Endpoint handler. More... | |
void | XUsbPsu_EpXferNotReady (struct XUsbPsu *InstancePtr, const struct XUsbPsu_Event_Epevt *Event) |
For Isochronous transfer, get the microframe time and calls respective Endpoint handler. More... | |