Ignore:
Timestamp:
2011-05-08T20:00:07Z (13 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
55054db0, 9212f8a
Parents:
19065c7
Message:

libusb divided into sublibraries

Also removed address keeper test from tester as it is useless.

Directory reorganization of the include/ will follow.

File:
1 moved

Legend:

Unmodified
Added
Removed
  • uspace/lib/usbhid/include/usb/classes/hid.h

    r19065c7 r3e4f2e0  
    6969} usb_hid_iface_protocol_t;
    7070
    71 /** Part of standard USB HID descriptor specifying one class descriptor.
    72  *
    73  * (See HID Specification, p.22)
    74  */
    75 typedef struct {
    76         /** Type of class-specific descriptor (Report or Physical). */
    77         uint8_t type;
    78         /** Length of class-specific descriptor in bytes. */
    79         uint16_t length;
    80 } __attribute__ ((packed)) usb_standard_hid_class_descriptor_info_t;
    81 
    82 /** Standard USB HID descriptor.
    83  *
    84  * (See HID Specification, p.22)
    85  *
    86  * It is actually only the "header" of the descriptor, it does not contain
    87  * the last two mandatory fields (type and length of the first class-specific
    88  * descriptor).
    89  */
    90 typedef struct {
    91         /** Total size of this descriptor in bytes.
    92          *
    93          * This includes all class-specific descriptor info - type + length
    94          * for each descriptor.
    95          */
    96         uint8_t length;
    97         /** Descriptor type (USB_DESCTYPE_HID). */
    98         uint8_t descriptor_type;
    99         /** HID Class Specification release. */
    100         uint16_t spec_release;
    101         /** Country code of localized hardware. */
    102         uint8_t country_code;
    103         /** Total number of class-specific (i.e. Report and Physical)
    104          * descriptors.
    105          *
    106          * @note There is always only one Report descriptor.
    107          */
    108         uint8_t class_desc_count;
    109         /** First mandatory class descriptor (Report) info. */
    110         usb_standard_hid_class_descriptor_info_t report_desc_info;
    111 } __attribute__ ((packed)) usb_standard_hid_descriptor_t;
    112 
    11371
    11472#endif
Note: See TracChangeset for help on using the changeset viewer.