Standard USB Endpoint Descriptor (USB-IF naming conventions). More...
#include <StdDescriptors.h>
Data Fields | |
uint8_t | bDescriptorType |
uint8_t | bEndpointAddress |
uint8_t | bInterval |
uint8_t | bLength |
uint8_t | bmAttributes |
uint16_t | wMaxPacketSize |
Type define for a standard Endpoint Descriptor. This structure uses the relevant standard's given element names to ensure compatibility with the standard.
uint8_t USB_StdDescriptor_Endpoint_t::bDescriptorType |
Type of the descriptor, either a value in USB_DescriptorTypes_t or a value given by the specific class.
uint8_t USB_StdDescriptor_Endpoint_t::bEndpointAddress |
Logical address of the endpoint within the device for the current configuration, including direction mask.
uint8_t USB_StdDescriptor_Endpoint_t::bInterval |
Polling interval in milliseconds for the endpoint if it is an INTERRUPT or ISOCHRONOUS type.
uint8_t USB_StdDescriptor_Endpoint_t::bLength |
Size of the descriptor, in bytes.
uint8_t USB_StdDescriptor_Endpoint_t::bmAttributes |
Endpoint attributes, comprised of a mask of the endpoint type (EP_TYPE_*) and attributes (ENDPOINT_ATTR_*) masks.
uint16_t USB_StdDescriptor_Endpoint_t::wMaxPacketSize |
Size of the endpoint bank, in bytes. This indicates the maximum packet size that the endpoint can receive at a time.