| LUFA Library 140302 |

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

HID class-specific HID Descriptor (LUFA naming conventions). More...

`#include <HIDClassCommon.h>`

## Data Fields
uint8_t | CountryCode
USB_Descriptor_Header_t | Header
uint16_t | HIDReportLength
uint8_t | HIDReportType
uint16_t | HIDSpec
uint8_t | TotalReportDescriptors

## Detailed Description

Type define for the HID class-specific HID descriptor, to describe the HID device's specifications. Refer to the HID specification for details on the structure elements.

See also
  USB_HID_StdDescriptor_HID_t for the version of this type with standard element names.

Note
  Regardless of CPU architecture, these values should be stored as little endian.

## Field Documentation

uint8_t USB_HID_Descriptor_HID_t::CountryCode

Country code of the localized device, or zero if universal.

USB_Descriptor_Header_t USB_HID_Descriptor_HID_t::Header

Regular descriptor header containing the descriptor's type and length.

uint16_t USB_HID_Descriptor_HID_t::HIDReportLength

Length of the associated HID report descriptor, in bytes.

uint8_t USB_HID_Descriptor_HID_t::HIDReportType

Type of HID report, set to HID_DTYPE_Report.

uint16_t USB_HID_Descriptor_HID_t::HIDSpec

BCD encoded version that the HID descriptor and device complies to.

See also
  VERSION_BCD() utility macro.

uint8_t USB_HID_Descriptor_HID_t::TotalReportDescriptors

Total number of HID report descriptors for the interface.

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

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