LUFA Library  120219
USB_StdDescriptor_Endpoint_t Struct Reference

Standard USB Endpoint Descriptor (USB-IF naming conventions). More...

#include <StdDescriptors.h>

Data Fields

uint8_t bLength
uint8_t bDescriptorType
uint8_t bEndpointAddress
uint8_t bmAttributes
uint16_t wMaxPacketSize
uint8_t bInterval

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.
Regardless of CPU architecture, these values should be stored as little endian.

Field Documentation

Type of the descriptor, either a value in USB_DescriptorTypes_t or a value given by the specific class.

Logical address of the endpoint within the device for the current configuration, including direction mask.

Polling interval in milliseconds for the endpoint if it is an INTERRUPT or ISOCHRONOUS type.

Size of the descriptor, in bytes.

Endpoint attributes, comprised of a mask of the endpoint type (EP_TYPE_*) and attributes (ENDPOINT_ATTR_*) masks.

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:
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines