Changeset 2193471 in mainline for uspace/lib/usb/hcd.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/hcd.h

    rbbf79e0 r2193471  
    4444/** USB transfer type. */
    4545typedef enum {
    46         USB_TRANSFER_ISOCHRONOUS,
    47         USB_TRANSFER_INTERRUPT,
    48         USB_TRANSFER_CONTROL,
    49         USB_TRANSFER_BULK
     46        USB_TRANSFER_CONTROL = 0,
     47        USB_TRANSFER_ISOCHRONOUS = 1,
     48        USB_TRANSFER_BULK = 2,
     49        USB_TRANSFER_INTERRUPT = 3
    5050} usb_transfer_type_t;
    5151
Note: See TracChangeset for help on using the changeset viewer.