Ignore:
Timestamp:
2014-01-24T02:10:16Z (10 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
42de21a
Parents:
3de7a62
Message:

usb: Add support for multiple packets per microframe.

File:
1 edited

Legend:

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

    r3de7a62 r4e732f1a  
    5757        /** Maximum size of data packets. */
    5858        size_t max_packet_size;
     59        /** Additional opportunities per uframe */
     60        unsigned packets;
    5961        /** Necessary bandwidth. */
    6062        size_t bandwidth;
     
    8587endpoint_t * endpoint_create(usb_address_t address, usb_endpoint_t endpoint,
    8688    usb_direction_t direction, usb_transfer_type_t type, usb_speed_t speed,
    87     size_t max_packet_size, size_t bw, usb_address_t tt_address,
    88     unsigned tt_port);
     89    size_t max_packet_size, unsigned packets, size_t bw,
     90    usb_address_t tt_address, unsigned tt_port);
    8991void endpoint_destroy(endpoint_t *instance);
    9092
Note: See TracChangeset for help on using the changeset viewer.