http://mbed.org/users/alpov/code/USBDeviceLite/#419386cf801c