Ignore:
Timestamp:
2013-12-31T06:58:19Z (10 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
1760556
Parents:
643e7ba
Message:

libusbhost: Add dummy USB 2.0 calculations.

File:
1 edited

Legend:

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

    r643e7ba r75d8821  
    5353#define BANDWIDTH_AVAILABLE_USB11 ((BANDWIDTH_TOTAL_USB11 / 10) * 9)
    5454
     55//TODO: Implement
     56#define BANDWIDTH_AVAILABLE_USB20  1
     57
    5558typedef size_t (*bw_count_func_t)(usb_speed_t, usb_transfer_type_t, size_t, size_t);
    5659typedef void (*ep_remove_callback_t)(endpoint_t *, void *);
     
    7881
    7982size_t bandwidth_count_usb11(usb_speed_t speed, usb_transfer_type_t type,
     83    size_t size, size_t max_packet_size);
     84size_t bandwidth_count_usb20(usb_speed_t speed, usb_transfer_type_t type,
    8085    size_t size, size_t max_packet_size);
    8186
Note: See TracChangeset for help on using the changeset viewer.