MSDLun.h
Default mainpageat91libusbdevicemassstorageMSDLun.h
Description Overview  
Description
Purpose
Logical Unit Number (LUN) used by the Mass Storage driver and the SCSI protocol. Represents a logical hard-drive.

Usage
  1. Initialize Memory related pins (see pio & board.h).
  2. Initialize a Media instance for the LUN (see memories).
  3. Initlalize the LUN with LUN_Init, and link to the initialized Media.
  4. To read data from the LUN linked media, uses LUN_Read.
  5. To write data to the LUN linked media, uses LUN_Write.