LUFA Library  140928
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
USB_StdDescriptor_Endpoint_t Struct Reference

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
 

Detailed Description

Type define for a standard Endpoint Descriptor. This structure uses the relevant standard's given element names to ensure compatibility with the standard.

See also
USB_Descriptor_Endpoint_t for the version of this type with non-standard LUFA specific element names.
Note
Regardless of CPU architecture, these values should be stored as little endian.

Field Documentation

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.


The documentation for this struct was generated from the following file: