| LUFA Library 140302 |

All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
USB_CDC_StdDescriptor_FunctionalHeader_t Struct Reference
Common Class Definitions

CDC class-specific Functional Header Descriptor (USB-IF naming conventions). More...

`#include <CDCClassCommon.h>`

## Data Fields
uint16_t | bcdCDC
uint8_t | bDescriptorSubType
uint8_t | bDescriptorType
uint8_t | bFunctionLength

## Detailed Description

Type define for a CDC class-specific functional header descriptor. This indicates to the host that the device contains one or more CDC functional data descriptors, which give the CDC interface's capabilities and configuration. See the CDC class specification for more details.

See also
  USB_CDC_Descriptor_FunctionalHeader_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

uint16_t USB_CDC_StdDescriptor_FunctionalHeader_t::bcdCDC

Version number of the CDC specification implemented by the device, encoded in BCD format.

See also
  VERSION_BCD() utility macro.

uint8_t USB_CDC_StdDescriptor_FunctionalHeader_t::bDescriptorSubType

Sub type value used to distinguish between CDC class-specific descriptors, must be CDC_DSUBTYPE_CSInterface_Header.

uint8_t USB_CDC_StdDescriptor_FunctionalHeader_t::bDescriptorType

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

uint8_t USB_CDC_StdDescriptor_FunctionalHeader_t::bFunctionLength

Size of the descriptor, in bytes.

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

- Drivers/USB/Class/Common/CDCClassCommon.h