USBHost library. NOTE: This library is only officially supported on the LPC1768 platform. For more information, please see the handbook page.
Dependencies: FATFileSystem mbed-rtos
Dependents: BTstack WallbotWii SD to Flash Data Transfer USBHost-MSD_HelloWorld ... more
Legacy Warning
This is an mbed 2 library. To learn more about mbed OS 5, visit the docs.
Pull requests against this repository are no longer supported. Please raise against mbed OS 5 as documented above.
Diff: USBHostSerial/USBHostSerial.h
- Revision:
- 2:5e8fdc541b98
- Parent:
- 1:0a457e34fa9e
- Child:
- 3:0f5c32575eb8
--- a/USBHostSerial/USBHostSerial.h Wed Mar 06 17:10:32 2013 +0000 +++ b/USBHostSerial/USBHostSerial.h Wed Mar 06 17:44:00 2013 +0000 @@ -68,6 +68,7 @@ * * @param tptr pointer to the object to call the member function on * @param mptr pointer to the member function to be called + * @param irq irq type */ template<typename T> inline void attach(T* tptr, void (T::*mptr)(void), IrqType irq = RxIrq) { @@ -83,7 +84,7 @@ /** * Attach a callback called when a packet is received * - * @param fptr function pointer + * @param ptr function pointer */ inline void attach(void (*fn)(void), IrqType irq = RxIrq) { if (fn != NULL) {