| LUFA Library 140302 |

All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
USB_StdDescriptor_Header_t Struct Reference
USB Descriptors

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

`#include <StdDescriptors.h>`

## Data Fields
uint8_t | bDescriptorType
uint8_t | bLength

## Detailed Description

Type define for all descriptors' standard header, indicating the descriptor's length and type. This structure uses the relevant standard's given element names to ensure compatibility with the standard.

See also
  USB_Descriptor_Header_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_Header_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_Header_t::bLength

Size of the descriptor, in bytes.

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

- Drivers/USB/Core/StdDescriptors.h