![]() |
usb
Xilinx SDK Drivers API Documentation
|
The XUsb_EpConfig structure is used to configure endpoints. More...
Data Fields | |
| int | OutIn |
| The end point direction. More... | |
| int | EpType |
| Bulk/interrupt/Isochronous. More... | |
| int | Buffer0Count |
| Pkt Size for the first ping-pong buffer. More... | |
| volatile int | Buffer0Ready |
| Status flag for first ping-pong buffer. More... | |
| int | Buffer1Count |
| Pkt Size for the second ping-pong buffer. More... | |
| volatile int | Buffer1Ready |
| Status flag for second ping-pong buffer. More... | |
| u32 | Size |
| Maximum buffer size for this end point. More... | |
| u32 | RamBase |
| The rambase offset value in the end point buffer space. More... | |
| volatile int | CurBufNum |
| The current ping-pong buffer to be used. More... | |
| XUsb_EpHandlerFunc | HandlerFunc |
| Call back function for this end point. More... | |
| void * | HandlerRef |
| Callback reference. More... | |
The XUsb_EpConfig structure is used to configure endpoints.
| int XUsb_EpConfig::Buffer0Count |
Pkt Size for the first ping-pong buffer.
Referenced by SetupControlWriteStatusStage(), XUsb_ConfigureDevice(), and XUsb_EpConfigure().
| volatile int XUsb_EpConfig::Buffer0Ready |
Status flag for first ping-pong buffer.
Referenced by InitUsbInterface(), XUsb_ConfigureDevice(), XUsb_EpConfigure(), XUsb_EpDataRecv(), and XUsb_EpDataSend().
| int XUsb_EpConfig::Buffer1Count |
Pkt Size for the second ping-pong buffer.
Referenced by XUsb_ConfigureDevice(), and XUsb_EpConfigure().
| volatile int XUsb_EpConfig::Buffer1Ready |
Status flag for second ping-pong buffer.
Referenced by InitUsbInterface(), XUsb_ConfigureDevice(), XUsb_EpConfigure(), XUsb_EpDataRecv(), and XUsb_EpDataSend().
| volatile int XUsb_EpConfig::CurBufNum |
The current ping-pong buffer to be used.
Referenced by XUsb_ConfigureDevice(), XUsb_EpDataRecv(), and XUsb_EpDataSend().
| int XUsb_EpConfig::EpType |
Bulk/interrupt/Isochronous.
Referenced by InitUsbInterface(), XUsb_ConfigureDevice(), and XUsb_EpConfigure().
| XUsb_EpHandlerFunc XUsb_EpConfig::HandlerFunc |
Call back function for this end point.
Referenced by XUsb_EpSetHandler().
| void* XUsb_EpConfig::HandlerRef |
Callback reference.
Referenced by XUsb_EpSetHandler().
| int XUsb_EpConfig::OutIn |
The end point direction.
Referenced by InitUsbInterface(), XUsb_ConfigureDevice(), and XUsb_EpConfigure().
| u32 XUsb_EpConfig::RamBase |
The rambase offset value in the end point buffer space.
Referenced by InitUsbInterface(), XUsb_ConfigureDevice(), and XUsb_EpConfigure().
| u32 XUsb_EpConfig::Size |
Maximum buffer size for this end point.
Referenced by InitUsbInterface(), XUsb_ConfigureDevice(), and XUsb_EpConfigure().