Adaptation of the official mbed USBHost repository to work with the LPC4088 Display Module
Dependents: DMSupport DMSupport DMSupport DMSupport
Fork of DM_USBHost by
Diff: USBHost/USBHost.h
- Revision:
- 30:ffec1f271b7c
- Parent:
- 27:aa2fd412f1d3
- Child:
- 33:819bbf04163b
diff -r dc8179214fd7 -r ffec1f271b7c USBHost/USBHost.h --- a/USBHost/USBHost.h Mon Dec 08 12:46:05 2014 +0000 +++ b/USBHost/USBHost.h Tue Jan 20 09:09:10 2015 +0100 @@ -186,6 +186,8 @@ dev->onDisconnect(intf, fn); } } + + void signalOnConnections(osThreadId threadId, uint32_t signal) { listener = threadId; listenerSignal = signal; } /** * Instantiate to protect USB thread from accessing shared objects (USBConnectedDevices and Interfaces) @@ -283,6 +285,9 @@ Mail<message_t, 10> mail_usb_event; Mutex usb_mutex; Mutex td_mutex; + + osThreadId listener; + uint32_t listenerSignal; // buffer for conf descriptor #define SAFE_USB_HOST_DATA_BUFF_SIZE (415)