CDCDSerialDriver_Write
Default mainpageat91libusbdevicecdc-serialCDCDSerialDriver_Write
Description Source Call Graph
CDCDSerialDriver_Write
Sends a data buffer through the virtual COM port created by the CDC device serial driver.
 
Syntax / parameters
unsigned char CDCDSerialDriver_Write (void *data, unsigned int size, TransferCallback callback, void *argument)

Name Type Default Description
data void *
  Pointer to the data buffer to send.
size unsigned int
  Size of the data buffer in bytes.
callback TransferCallback
  Optional callback function to invoke when the transfer finishes.
argument void *
  Optional argument to the callback function.
 
Return value unsigned char
  USBD_STATUS_SUCCESS if the read operation has been started normally; otherwise, the corresponding error code.
Description
Sends a data buffer through the virtual COM port created by the CDC device serial driver.
This function behaves exactly like USBD_Write.
 
Source
The documentation for this Member was generated from the following files:
  • CDCDSerialDriver.c