Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of USBHostWANDongle by
Diff: USBHost/USBHost.h
- Revision:
- 6:075e36a3463e
- Parent:
- 0:ae46a0638b2c
- Child:
- 8:0d1ec493842c
--- a/USBHost/USBHost.h Wed Jul 25 11:13:50 2012 +0000 +++ b/USBHost/USBHost.h Fri Jul 27 16:14:07 2012 +0000 @@ -22,6 +22,7 @@ #include "USBHALHost.h" #include "USBDeviceConnected.h" #include "Endpoint.h" +#include "IUSBEnumerator.h" #define MAX_DEVICE_NB 1 @@ -133,7 +134,7 @@ * * @returns status of the enumeration */ - USB_TYPE enumerate(USBDeviceConnected * dev) ; + USB_TYPE enumerate(USBDeviceConnected * dev, IUSBEnumerator* pEnumerator) ; /* * Get a device @@ -228,7 +229,7 @@ uint16_t lenReportDescr; void fillControlBuf(uint8_t requestType, uint8_t request, uint32_t value, uint32_t index, int len) ; - void parseConfDescr(USBDeviceConnected * dev, uint8_t * conf_descr, uint32_t len) ; + void parseConfDescr(USBDeviceConnected * dev, uint8_t * conf_descr, uint32_t len, IUSBEnumerator* pEnumerator) ; void freeDevice(USBDeviceConnected * dev) ; int findDevice(USBDeviceConnected * dev) ;