unsigned char AUDDSpeakerDriver_Read (void *buffer, unsigned int length, TransferCallback callback, void *argument) |
Name | Type | Default | Description |
buffer | void * |
Pointer to the data storage buffer. |
|
length | unsigned int |
Size of the buffer in bytes. |
|
callback | TransferCallback |
Optional callback function. |
|
argument | void * |
Optional argument to the callback function. |
|
Return value | unsigned char |
USBD_STATUS_SUCCESS if the transfer is started successfully; otherwise an error code. |
Variants | Brief description |
(void *, unsigned int, TransferCallback, void *) | Reads incoming audio data sent by the USB host into the provided buffer. |