usb_standard_hid_descriptor_t Struct Reference
[Base USB library]

Standard USB HID descriptor. More...

#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.


Detailed Description

Standard USB HID descriptor.

(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.


Field Documentation

uint8_t class_desc_count

Total number of class-specific (i.e.

Report and Physical) descriptors.

Note:
There is always only one Report descriptor.

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.


The documentation for this struct was generated from the following file:
Generated on Thu Jun 2 07:46:01 2011 for HelenOS/USB by  doxygen 1.4.7