usbpsu: xusbpsu_controltransfers.c File Reference

| usbpsu Xilinx SDK Drivers API Documentation

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

Functions
xusbpsu_controltransfers.c File Reference

## Functions
s32 | XUsbPsu_RecvSetup (struct XUsbPsu *InstancePtr)
| Initiates DMA on Control Endpoint 0 to receive Setup packet. More...
void | XUsbPsu_Ep0StallRestart (struct XUsbPsu *InstancePtr)
| Stalls Control Endpoint and restarts to receive Setup packet. More...
void | XUsbPsu_Ep0DataDone (struct XUsbPsu *InstancePtr, const struct XUsbPsu_Event_Epevt *Event)
| Checks the Data Phase and calls user Endpoint handler. More...
void | XUsbPsu_Ep0StatusDone (struct XUsbPsu *InstancePtr, const struct XUsbPsu_Event_Epevt *Event)
| Checks the Status Phase and starts next Control transfer. More...
void | XUsbPsu_Ep0XferComplete (struct XUsbPsu *InstancePtr, const struct XUsbPsu_Event_Epevt *Event)
| Handles Transfer complete event of Control Endpoints EP0 OUT and EP0 IN. More...
s32 | XUsbPsu_Ep0StartStatus (struct XUsbPsu *InstancePtr, const struct XUsbPsu_Event_Epevt *Event)
| Starts Status Phase of Control Transfer. More...
void | XUsbPsu_Ep0_EndControlData (struct XUsbPsu *InstancePtr, struct XUsbPsu_Ep *Ept)
| Ends Data Phase - used in case of error. More...
void | XUsbPsu_Ep0XferNotReady (struct XUsbPsu *InstancePtr, const struct XUsbPsu_Event_Epevt *Event)
| Handles Transfer Not Ready event of Control Endpoints EP0 OUT and EP0 IN. More...
void | XUsbPsu_Ep0Intr (struct XUsbPsu *InstancePtr, const struct XUsbPsu_Event_Epevt *Event)
| Handles Interrupts of Control Endpoints EP0 OUT and EP0 IN. More...
s32 | XUsbPsu_Ep0Send (struct XUsbPsu *InstancePtr, u8 *BufferPtr, u32 BufferLen)
| Initiates DMA to send data on Control Endpoint EP0 IN to Host. More...
s32 | XUsbPsu_Ep0Recv (struct XUsbPsu *InstancePtr, u8 *BufferPtr, u32 Length)
| Initiates DMA to receive data on Control Endpoint EP0 OUT from Host. More...
void | XUsbSleep (u32 USeconds)
| API for Sleep routine. More...