#include <descriptor.h>
Data Fields | |
uint8_t | class_desc_count |
Total number of class-specific (i.e. | |
uint8_t | country_code |
Country code of localized hardware. | |
uint8_t | descriptor_type |
Descriptor type (USB_DESCTYPE_HID). | |
uint8_t | length |
Total size of this descriptor in bytes. | |
usb_standard_hid_class_descriptor_info_t | report_desc_info |
First mandatory class descriptor (Report) info. | |
uint16_t | spec_release |
HID Class Specification release. |
(See HID Specification, p.22)
It is actually only the "header" of the descriptor, it does not contain the last two mandatory fields (type and length of the first class-specific descriptor).
Definition at line 188 of file descriptor.h.
uint8_t class_desc_count |
Total number of class-specific (i.e.
Report and Physical) descriptors.
Definition at line 206 of file descriptor.h.
uint8_t length |
Total size of this descriptor in bytes.
This includes all class-specific descriptor info - type + length for each descriptor.
Definition at line 194 of file descriptor.h.