![]() |
![]() |
This structure defines the configurable paramters of an endpoint. The protocol core is expected to call the config routine with this structure populated as many times as there are endpoints. More...
#include <usb_dev_object.h>
Data Fields | |
| const void * | pDesc |
| usbTransferType_t | endpointType |
| usbTokenType_t | endpointDirection |
| uint32_t | MaxEndpointSize |
| uint32_t | endpointNumber |
| uint32_t | endpointInterval |
This structure defines the configurable paramters of an endpoint. The protocol core is expected to call the config routine with this structure populated as many times as there are endpoints.
| usbTokenType_t usbDevEndptInfo::endpointDirection |
IN , OUT or Setup .
| uint32_t usbDevEndptInfo::endpointInterval |
dcd uses this field to configure the polling rate of the periodic endpoint.
| uint32_t usbDevEndptInfo::endpointNumber |
USB2.0 spec specifies 4 bits this needs to be extended for USB 3.0.
| usbTransferType_t usbDevEndptInfo::endpointType |
type of usb transfer this endpoint supports.
| uint32_t usbDevEndptInfo::MaxEndpointSize |
max ep size - 8, 64, 512, 1024 etc.
| const void* usbDevEndptInfo::pDesc |
pointer to descriptor Structure Incase descriptors are needed at some point of time.