![]() |
![]() |
Data Structure for USB Endpoint Object. More...
#include <csl_usb.h>
Data Fields | |
| CSL_UsbEpNum | epNum |
| USB endpoint number. | |
| CSL_UsbXferType | xferType |
| USB xfer type supported by the EP. | |
| Uint16 | maxPktSiz |
| Max pkt size supported by the EP. | |
| Uint16 | eventMask |
| ORed value of USB_EVENTS, the USB. | |
| CSL_USB_EVENT_ISR | fxn |
| Pointer to USB event ISR Event dispatcher will call the event ISR if event matches with EventMask. | |
| Uint16 | dataFlags |
| ORed combination of USB_DATA_INOUT_FLAGS. | |
| Uint16 | status |
| Reserved for future use. | |
| Uint16 | epDescRegSAddr |
| Endpoint desc reg block start addr. | |
| Uint16 | dmaRegSAddr |
| DMA reg block start addr. | |
| Uint16 | totByteCnt |
| Total number of bytes to xfer. | |
| Uint16 | byteInThisSeg |
| # of bytes in the active node of the linked list | |
| Uint16 * | xferBytCnt |
| Pointer to store the number of bytes moved in (out) stored in the first of the buffer. | |
| Uint16 * | pBuffer |
| Active data buffer pointer. | |
| CSL_UsbDataStruct * | pNextBuffer |
| Pointer to the next node of the linked list. | |
| Uint16 | eventFlag |
| Flag to indicate the event caused USB interrupt. | |
Data Structure for USB Endpoint Object.
Every active USB endpoint is associated with an endpoint object which keeps track of the endpoint related initialization and runtime information
1.7.4