Ignore:
Timestamp:
2013-01-04T12:55:23Z (11 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
daf199f
Parents:
0816c2e
Message:

libusbhost: Add more hcd wrappers.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usbhost/include/usb/host/hcd.h

    r0816c2e rb4c1c95  
    8282}
    8383
     84usb_address_t hcd_request_address(hcd_t *hcd, usb_speed_t speed);
     85
     86int hcd_release_address(hcd_t *hcd, usb_address_t address);
     87
     88int hcd_reserve_default_address(hcd_t *hcd, usb_speed_t speed);
     89
     90static inline int hcd_release_default_address(hcd_t *hcd, usb_address_t address)
     91{
     92        return hcd_release_address(hcd, USB_ADDRESS_DEFAULT);
     93}
     94
    8495int hcd_add_ep(hcd_t *hcd, usb_target_t target, usb_direction_t dir,
    8596    usb_transfer_type_t type, size_t max_packet_size, size_t size);
Note: See TracChangeset for help on using the changeset viewer.