Loading...
Searching...
No Matches
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.
 
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

◆ bcd_hid

uint16_t usb_desc_hid_t::bcd_hid

Numeric expression identifying the HID Class Specification release.

Definition at line 107 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 109 of file hid.h.

◆ desc_type

uint8_t usb_desc_hid_t::desc_type

Constant name specifying type of HID descriptor.

Definition at line 104 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 102 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 111 of file hid.h.

◆ report_length

uint16_t usb_desc_hid_t::report_length

the total size of the Report descriptor.

Definition at line 115 of file hid.h.

◆ report_type

uint8_t usb_desc_hid_t::report_type

Type of HID class report.

Definition at line 114 of file hid.h.


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