Changeset 2193471 in mainline for uspace/lib/usb/devreq.h


Ignore:
Timestamp:
2010-10-12T16:45:02Z (14 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
2b887bf7
Parents:
bbf79e0
Message:

Add missing standard USB descriptors

Now, following standard descriptors are ready (in usb/descriptor.h):
device, configuration, interface, endpoint. String descriptors will be
added later.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usb/devreq.h

    rbbf79e0 r2193471  
    5555} usb_stddevreq_t;
    5656
    57 /** Descriptor type. */
    58 typedef enum {
    59         USB_DESCTYPE_DEVICE = 1,
    60         USB_DESCTYPE_CONFIGURATION = 2,
    61         USB_DESCTYPE_STRING = 3,
    62         USB_DESCTYPE_INTERFACE = 4,
    63         USB_DESCTYPE_ENDPOINT = 5
    64 } usb_descriptor_type_t;
    65 
    6657/** Device request setup packet.
    6758 * The setup packet describes the request.
Note: See TracChangeset for help on using the changeset viewer.