usbps
Xilinx SDK Drivers API Documentation
XUsbPs_EpSetup Struct Reference

Data structures used to configure endpoints. More...

Data Fields

u32 Type
 Endpoint type: More...
 
u32 NumBufs
 Number of buffers to be handled by this endpoint. More...
 
u32 BufSize
 Buffer size. More...
 
u16 MaxPacketSize
 Maximum packet size for this endpoint. More...
 

Detailed Description

Data structures used to configure endpoints.

Field Documentation

◆ BufSize

u32 XUsbPs_EpSetup::BufSize

Buffer size.

Only relevant for OUT (receive) Endpoints.

Referenced by XUsbPs_EpBufferReceive().

◆ MaxPacketSize

u16 XUsbPs_EpSetup::MaxPacketSize

Maximum packet size for this endpoint.

This number will define the maximum number of bytes sent on the wire per transaction. Range: 0..1024

Referenced by XUsbPs_EpBufferSendWithZLT().

◆ NumBufs

u32 XUsbPs_EpSetup::NumBufs

Number of buffers to be handled by this endpoint.

Referenced by XUsbPs_ReconfigureEp().

◆ Type

u32 XUsbPs_EpSetup::Type

Endpoint type:

  • XUSBPS_EP_TYPE_CONTROL
  • XUSBPS_EP_TYPE_ISOCHRONOUS
  • XUSBPS_EP_TYPE_BULK
  • XUSBPS_EP_TYPE_INTERRUPT