Changeset 237df2f in mainline for uspace/lib/usb/include


Ignore:
Timestamp:
2013-01-04T16:49:53Z (13 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
0e97b4b5
Parents:
daf199f
Message:

libusbhost: Add host side device initialization.

Add new roothub initialization functions (the old one is going away).
change usb device names created by host controller to be less awkward.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usb/include/usb/request.h

    rdaf199f r237df2f  
    7979        uint8_t request_type;
    8080#define SETUP_REQUEST_TYPE_DEVICE_TO_HOST (1 << 7)
     81#define SETUP_REQUEST_TYPE_HOST_TO_DEVICE (0 << 7)
    8182#define SETUP_REQUEST_TYPE_GET_TYPE(rt) ((rt >> 5) & 0x3)
    8283#define SETUP_REQUEST_TYPE_GET_RECIPIENT(rec) (rec & 0x1f)
Note: See TracChangeset for help on using the changeset viewer.