- /* Type Defines: */\r
- /** Type define for the HID class specific HID descriptor. A HID descriptor is used in HID class devices\r
- * to give information about the HID device, including the HID specification used, and the report descriptors\r
- * the device contains to describe how the HID device should be controlled.\r
- */\r
- typedef struct\r
- {\r
- USB_Descriptor_Header_t Header; /**< Standard USB descriptor header */\r
- \r
- uint16_t HIDSpec; /**< HID specification implemented by the device, in BCD form */\r
- uint8_t CountryCode; /**< Country code for the country the HID device is localised for */\r
- \r
- uint8_t TotalHIDDescriptors; /**< Total number of HID reports linked to this HID interface */\r
-\r
- uint8_t HIDReportType; /**< Type of the first HID report descriptor */\r
- uint16_t HIDReportLength; /**< Length of the first HID report descriptor */\r
- } USB_Descriptor_HID_t;\r
-\r
- /** Type define for the data type used for the HID Report descriptor data elements. A HID report\r
- * descriptor contains an array of this data type, indicating how the reports from and to the\r
- * device are formatted and how the report data is to be used by the host.\r
- */\r
- typedef uint8_t USB_Descriptor_HIDReport_Datatype_t;\r