Ignore:
Timestamp:
2018-01-19T17:38:22Z (6 years ago)
Author:
Ondřej Hlavatý <aearsis@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
2833bb4
Parents:
861b5d6
git-author:
Ondřej Hlavatý <aearsis@…> (2018-01-19 17:06:40)
git-committer:
Ondřej Hlavatý <aearsis@…> (2018-01-19 17:38:22)
Message:

libusbhost: move utility functions to new header utility.h

File:
1 edited

Legend:

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

    r861b5d6 r944f8fdd  
    110110int hc_driver_main(const hc_driver_t *);
    111111
    112 /* TODO: These are a kind of utility functions, they should probably go
    113  * somewhere else.
    114  */
    115 extern int hcd_get_ep0_max_packet_size(uint16_t *, bus_t *, device_t *);
    116 
    117 /** How many toggles need to be reset */
    118 typedef enum {
    119         RESET_NONE,
    120         RESET_EP,
    121         RESET_ALL
    122 } toggle_reset_mode_t;
    123 
    124 extern toggle_reset_mode_t hcd_get_request_toggle_reset_mode(
    125     const usb_device_request_setup_packet_t *request);
    126 
    127112#endif
    128113
Note: See TracChangeset for help on using the changeset viewer.