![]() |
![]() |
#include <usblib.h>
Data Fields | |
| uint8_t | cMultiplier |
| uint32_t | bDoubleBuffer |
| uint16_t | usEPFlags |
This structure defines how a given endpoint's FIFO is configured in relation to the maximum packet size for the endpoint as specified in the endpoint descriptor.
| uint32_t tFIFOEntry::bDoubleBuffer |
This field indicates whether to configure an endpoint's FIFO to be double- or single-buffered. If true, a double-buffered FIFO is created and the amount of required FIFO storage is multiplied by two.
| uint8_t tFIFOEntry::cMultiplier |
The multiplier to apply to an endpoint's maximum packet size when configuring the FIFO for that endpoint. For example, setting this value to 2 will result in a 128 byte FIFO being configured if bDoubleBuffer is false and the associated endpoint is set to use a 64 byte maximum packet size.
| uint16_t tFIFOEntry::usEPFlags |
This field defines endpoint mode flags which cannot be deduced from the configuration descriptor, namely any in the set USB_EP_AUTO_xxx or USB_EP_DMA_MODE_x. USBDCDConfig adds these flags to the endpoint mode and direction determined from the config descriptor before it configures the endpoint using a call to USBDevEndpointConfigSet().