USB HID descriptor struct.  
 More...
USB HID descriptor struct. 
- See also
- USB HID 1.11 spec section 6.2.1 
Definition at line 100 of file hid.h.
#include <hid.h>
|  | 
| 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. 
 | 
|  | 
| 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. 
 | 
|  | 
◆ bcd_hid
      
        
          | uint16_t usb_desc_hid_t::bcd_hid | 
      
 
Numeric expression identifying the HID Class Specification release. 
Definition at line 106 of file hid.h.
 
 
◆ country_code
      
        
          | uint8_t usb_desc_hid_t::country_code | 
      
 
Numeric expression identifying country code of the localized hardware. 
Definition at line 108 of file hid.h.
 
 
◆ desc_type
      
        
          | uint8_t usb_desc_hid_t::desc_type | 
      
 
Constant name specifying type of HID descriptor. 
Definition at line 103 of file hid.h.
 
 
◆ length
      
        
          | uint8_t usb_desc_hid_t::length | 
      
 
Numeric expression that is the total size of the HID descriptor. 
Definition at line 101 of file hid.h.
 
 
◆ num_descrs
      
        
          | uint8_t usb_desc_hid_t::num_descrs | 
      
 
Numeric expression specifying the number of class descriptors. 
Definition at line 110 of file hid.h.
 
 
◆ report_length
      
        
          | uint16_t usb_desc_hid_t::report_length | 
      
 
the total size of the Report descriptor. 
Definition at line 114 of file hid.h.
 
 
◆ report_type
      
        
          | uint8_t usb_desc_hid_t::report_type | 
      
 
Type of HID class report. 
Definition at line 113 of file hid.h.
 
 
The documentation for this struct was generated from the following file: