USBDevice library fork to add multi-function (e.g. Keyboard(HID) + Virtual COM Port(CDC)) usb support.
Fork of USBDevice by
Diff: USBHID/USBHID.h
- Revision:
- 25:7c72828865f3
- Parent:
- 1:80ab0d068708
- Child:
- 70:7e8e3be9f0e3
--- a/USBHID/USBHID.h Fri May 16 09:00:39 2014 +0100 +++ b/USBHID/USBHID.h Tue Jun 03 11:30:32 2014 +0100 @@ -70,8 +70,8 @@ * @returns true if successful */ bool send(HID_REPORT *report); - - + + /** * Send a Report. warning: non blocking * @@ -79,7 +79,7 @@ * @returns true if successful */ bool sendNB(HID_REPORT *report); - + /** * Read a report: blocking * @@ -87,7 +87,7 @@ * @returns true if successful */ bool read(HID_REPORT * report); - + /** * Read a report: non blocking * @@ -98,7 +98,7 @@ protected: uint16_t reportLength; - + /* * Get the Report descriptor * @@ -119,14 +119,14 @@ * @returns pointer to the string product descriptor */ virtual uint8_t * stringIproductDesc(); - + /* * Get string interface descriptor * * @returns pointer to the string interface descriptor */ virtual uint8_t * stringIinterfaceDesc(); - + /* * Get configuration descriptor *