adds a USB serial port to your design
Dependents: Example_WatchDog_Timer
Diff: USBHID/USBHID.h
- Revision:
- 25:7c72828865f3
- Parent:
- 1:80ab0d068708
diff -r 33920e3786aa -r 7c72828865f3 USBHID/USBHID.h --- 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 *