http://mbed.org/users/ganeshsubram1/code/USBHost/#b010bddab593