Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
TransferCallback Struct Reference
Inhert this object and implemet the callback function. More...
#include <UsbStructures.h>
Public Member Functions | |
| virtual void | onReceive (int deviceID, int endpoint, int status, const uint8_t *data, int length)=0 |
| Called when a transfer has been completed that had a callback ID set. | |
Detailed Description
Inhert this object and implemet the callback function.
Then pass this object to the IO functions if you need a callback. This is a test.
Definition at line 165 of file UsbStructures.h.
Member Function Documentation
| virtual void onReceive | ( | int | deviceID, |
| int | endpoint, | ||
| int | status, | ||
| const uint8_t * | data, | ||
| int | length | ||
| ) | [pure virtual] |
Called when a transfer has been completed that had a callback ID set.
Any other transfers without a callback ID will not trigger this.
Generated on Wed Jul 13 2022 15:27:32 by
1.7.2