usb_desc_hid_t Struct Reference

USB HID descriptor struct. More...

Detailed Description

USB HID descriptor struct.

See also
USB HID 1.11 spec section 6.2.1

Definition at line 101 of file hid.h.

#include <hid.h>

Data Fields

uint8_t length
 Numeric expression that is the total size of the HID descriptor.
 
uint8_t desc_type
 Constant name specifying type of HID descriptor.
 
uint16_t bcd_hid
 Numeric expression identifying the HID Class Specification release.
 
uint8_t country_code
 Numeric expression identifying country code of the localized hardware. More...
 
uint8_t num_descrs
 Numeric expression specifying the number of class descriptors.
 
uint8_t report_type
 Type of HID class report.
 
uint16_t report_length
 the total size of the Report descriptor.
 

Field Documentation

◆ country_code

uint8_t usb_desc_hid_t::country_code

Numeric expression identifying country code of the localized hardware.


Definition at line 109 of file hid.h.


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