LUN_Write
Default mainpageat91libusbdevicemassstorageLUN_Write
Description Source Call Graph
LUN_Write
Writes data on the a LUN starting at the specified block address.
 
Syntax / parameters
unsigned char LUN_Write (MSDLun *lun, unsigned int blockAddress, void *data, unsigned int length, TransferCallback callback, void *argument)

Name Type Default Description
lun MSDLun *
   
blockAddress unsigned int
  First block address to write
data void *
  Pointer to the data to write
length unsigned int
  Number of blocks to write
callback TransferCallback
  Optional callback to invoke when the write finishes
argument void *
   
 
Return value unsigned char
  Operation result code
Description
Writes data on the a LUN starting at the specified block address.

 
Source
The documentation for this Member was generated from the following files:
  • MSDLun.c