LUFA Library
USB_StdDescriptor_DeviceQualifier_t Struct Reference

Standard USB Device Qualifier Descriptor (USB-IF naming conventions). More...

#include <StdDescriptors.h>

Data Fields

uint16_t bcdUSB
uint8_t bDescriptorType
uint8_t bDeviceClass
uint8_t bDeviceProtocol
uint8_t bDeviceSubClass
uint8_t bLength
uint8_t bMaxPacketSize0
uint8_t bNumConfigurations
uint8_t bReserved

Detailed Description

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

See also
USB_Descriptor_DeviceQualifier_t for the version of this type with non-standard LUFA specific element names.

Field Documentation

◆ bcdUSB

uint16_t USB_StdDescriptor_DeviceQualifier_t::bcdUSB

BCD of the supported USB specification.

See also
VERSION_BCD() utility macro.

◆ bDescriptorType

uint8_t USB_StdDescriptor_DeviceQualifier_t::bDescriptorType

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

◆ bDeviceClass

uint8_t USB_StdDescriptor_DeviceQualifier_t::bDeviceClass

USB device class.

◆ bDeviceProtocol

uint8_t USB_StdDescriptor_DeviceQualifier_t::bDeviceProtocol

USB device protocol.

◆ bDeviceSubClass

uint8_t USB_StdDescriptor_DeviceQualifier_t::bDeviceSubClass

USB device subclass.

◆ bLength

uint8_t USB_StdDescriptor_DeviceQualifier_t::bLength

Size of the descriptor, in bytes.

◆ bMaxPacketSize0

uint8_t USB_StdDescriptor_DeviceQualifier_t::bMaxPacketSize0

Size of the control (address 0) endpoint's bank in bytes.

◆ bNumConfigurations

uint8_t USB_StdDescriptor_DeviceQualifier_t::bNumConfigurations

Total number of configurations supported by the device.

◆ bReserved

uint8_t USB_StdDescriptor_DeviceQualifier_t::bReserved

Reserved for future use, must be 0.

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