usbps: XUsbPs_EpSetup Struct Reference

| usbps Xilinx SDK Drivers API Documentation

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

- Data Structures
- Data Fields

Data Fields
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

u32 XUsbPs_EpSetup::BufSize

Buffer size.

Only relevant for OUT (receive) Endpoints.

Referenced by XUsbPs_EpBufferReceive().

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().

u32 XUsbPs_EpSetup::NumBufs

Number of buffers to be handled by this endpoint.

Referenced by XUsbPs_ReconfigureEp().

u32 XUsbPs_EpSetup::Type

Endpoint type:

- XUSBPS_EP_TYPE_CONTROL
- XUSBPS_EP_TYPE_ISOCHRONOUS
- XUSBPS_EP_TYPE_BULK
- XUSBPS_EP_TYPE_INTERRUPT