LUN_Init
Default mainpageat91libusbdevicemassstorageLUN_Init
Description Source Call Graph
LUN_Init
Initializes a LUN instance.
 
Syntax / parameters
void LUN_Init (MSDLun *lun, Media *media, unsigned char *buffer, unsigned int baseAddress, unsigned int size, unsigned int blockSize)

Name Type Default Description
lun MSDLun *
  Pointer to the MSDLun instance to initialize
media Media *
  Media on which the LUN is constructed
buffer unsigned char *
  Pointer to a buffer used for read/write operation and which must be blockSize bytes long.
baseAddress unsigned int
  Base address of the LUN on the media
size unsigned int
  Total size of the LUN in bytes
blockSize unsigned int
  Length of one block of the LUN
Description
Initializes a LUN instance.

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