Commit Graph

7 Commits (c31929669265b51abd2d3a5102a161fdcf77108d)

Author SHA1 Message Date
neilt6 fc6cd7102b Updated USBDevice to use Callback
Updated USBAudio and USBSerial to use Callback<void()> instead of
FunctionPointer to fix compiler warnings.
2016-09-06 11:02:04 -06:00
porkybrain 250ce08712 Changed CircBuffer to take its size as a template parameters. This results in smaller code size and less ram usage because the optimizer knows the size at compile time and it does not need to be stored in ram. It should also be faster because there is no indirection to the heap.
I have not tested this code!
2015-04-15 17:07:40 +02:00
Jeremy Brodt 1bbb0ee109 Added macros to alias the endpoint callback functions to support configurability. 2015-03-17 13:41:40 -05:00
0xc0170 07dff2db5e spaces removal - USBDevice 2014-05-29 15:32:05 +02:00
Olivier Martin 29f71517d4 libraries/USBSerial: Allow to create an instance without the USB cable being plugged in
Prior to this change the connection was waiting for a USB cable to be plugged in.
2014-02-20 00:37:21 +00:00
Yihui Xiong d3ca818905 add readable(), writeable() and settings changed callback to USBSerial 2013-11-01 12:38:27 +08:00
Emilio Monti 5c20760685 Initial commit of the mbed libraries and tools 2013-02-18 15:32:11 +00:00