usbpsu
Xilinx SDK Drivers API Documentation
XUsbPsu_Ep Struct Reference

Endpoint representation. More...

Data Fields

struct XUsbPsu_Trb EpTrb ALIGNMENT_CACHELINE
 < User handler called when data is sent for IN Ep and received for OUT Ep More...
 
u32 EpStatus
 Flags to represent Endpoint status. More...
 
u32 RequestedBytes
 RequestedBytes for transfer. More...
 
u32 BytesTxed
 Actual Bytes transferred. More...
 
u16 MaxSize
 Size of endpoint. More...
 
u8 * BufferPtr
 Buffer location. More...
 
u8 ResourceIndex
 Resource Index assigned to Endpoint by core. More...
 
u8 PhyEpNum
 Physical Endpoint Number in core. More...
 
u8 UsbEpNum
 USB Endpoint Number. More...
 
u8 Type
 Type of Endpoint - Control/BULK/INTERRUPT/ISOC. More...
 
u8 Direction
 Direction - EP_DIR_OUT/EP_DIR_IN. More...
 

Detailed Description

Endpoint representation.

Field Documentation

◆ ALIGNMENT_CACHELINE

struct XUsbPsu_Trb EpTrb XUsbPsu_Ep::ALIGNMENT_CACHELINE

< User handler called when data is sent for IN Ep and received for OUT Ep

TRB used by endpoint

◆ BufferPtr

u8* XUsbPsu_Ep::BufferPtr

Buffer location.

◆ BytesTxed

u32 XUsbPsu_Ep::BytesTxed

Actual Bytes transferred.

◆ Direction

u8 XUsbPsu_Ep::Direction

Direction - EP_DIR_OUT/EP_DIR_IN.

Referenced by XUsbPsu_EpXferComplete().

◆ EpStatus

u32 XUsbPsu_Ep::EpStatus

Flags to represent Endpoint status.

Referenced by XUsbPsu_Ep0Send(), XUsbPsu_Ep0StallRestart(), XUsbPsu_EpInterrupt(), and XUsbPsu_RecvSetup().

◆ MaxSize

u16 XUsbPsu_Ep::MaxSize

Size of endpoint.

◆ PhyEpNum

u8 XUsbPsu_Ep::PhyEpNum

Physical Endpoint Number in core.

Referenced by XUsbPsu_EpBufferSend(), XUsbPsu_EpDisable(), and XUsbPsu_IsEpStalled().

◆ RequestedBytes

u32 XUsbPsu_Ep::RequestedBytes

RequestedBytes for transfer.

◆ ResourceIndex

u8 XUsbPsu_Ep::ResourceIndex

Resource Index assigned to Endpoint by core.

Referenced by XUsbPsu_Ep0_EndControlData().

◆ Type

u8 XUsbPsu_Ep::Type

Type of Endpoint - Control/BULK/INTERRUPT/ISOC.

◆ UsbEpNum

u8 XUsbPsu_Ep::UsbEpNum

USB Endpoint Number.