LUFA Library  120730
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
USB_CDC_StdDescriptor_FunctionalHeader_t Struct Reference

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

#include <CDCClassCommon.h>

Data Fields

uint8_t bFunctionLength
uint8_t bDescriptorType
uint8_t bDescriptorSubType
uint16_t bcdCDC

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.

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: