USB Library
USBHostMSDTransfer Function
Syntax
uint8_t USBHostMSDTransfer(
    uint8_t deviceAddress, 
    uint8_t deviceLUN, 
    uint8_t direction, 
    uint8_t * commandBlock, 
    uint8_t commandBlockLength, 
    uint8_t * data, 
    uint32_t dataLength
);
Description

This function starts a mass storage transfer. Usually, applications will probably utilize a read/write wrapper to access this function.

Preconditions

None

Return Values
Return Values 
Description 
USB_SUCCESS 
Request started successfully 
No device with specified address 
Device not in proper state for performing a transfer 
Specified LUN does not exist 
Remarks

None

MLA - USB Library Help Version : 2.16
http://www.microchip.com/mla