Changeset 0b4e7ca in mainline for uspace/lib/usb/include/usb/devdrv.h


Ignore:
Timestamp:
2011-04-03T17:35:53Z (13 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
0cec844, c593b21
Parents:
159b91f4
Message:

Add wrapper for changing interface setting

The code needs to be refactored but that can be done later.

File:
1 edited

Legend:

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

    r159b91f4 r0b4e7ca  
    7979         */
    8080        usb_endpoint_mapping_t *pipes;
     81        /** Number of other endpoint pipes. */
     82        size_t pipes_count;
    8183        /** Current interface.
    8284         * Usually, drivers operate on single interface only.
     
    157159int usb_driver_main(usb_driver_t *);
    158160
     161int usb_device_select_interface(usb_device_t *, uint8_t,
     162    usb_endpoint_description_t **);
     163
    159164typedef bool (*usb_polling_callback_t)(usb_device_t *,
    160165    uint8_t *, size_t, void *);
Note: See TracChangeset for help on using the changeset viewer.