USB Library
usb_host_msd.h

This is file usb_host_msd.h.

Functions
 
Name 
Description 
 
This function determines the status of a mass storage device. 
 
This function is the event handler for this client driver. 
 
This function is the initialization routine for this client driver. 
 
This function starts a bulk-only mass storage reset. 
 
This function performs the maintenance tasks required by the mass storage class. 
 
This function terminates a mass storage transfer. 
 
This function starts a mass storage transfer. 
 
This function indicates whether or not the last transfer is complete. 
Macros
 
Name 
Description 
 
This is macro _USBHOSTMSD_H_. 
 
Class code for Mass Storage. 
 
Protocol code for Bulk-only mass storage. 
 
SubClass code for a CD/DVD drive (not supported). 
 
SubClass code for a floppy disk interface (not supported). 
 
SubClass code for Reduced Block Commands (not supported). 
 
SubClass code for removable media (not supported). 
 
SubClass code for a SCSI interface device (supported). 
 
SubClass code for a tape drive (not supported). 
 
MSD device has attached 
 
Set maximum LUN for the device 
 
No event occured (NULL event) 
 
If the application has not defined an offset for MSD events, set it to 0. 
 
MSD reset complete 
 
A MSD transfer has completed 
 
Transfer failed. Returned in dCSWStatus. 
 
Transfer was successful. Returned in dCSWStatus. 
 
Transfer phase error. Returned in dCSWStatus. 
 
The CBW was not transferred successfully. 
 
Command failed at the device. 
 
Command was successful. 
 
The CSW was not transferred successfully. 
 
A transfer is currently in progress. 
 
Device is detached. 
 
Device with the specified address is not available. 
 
Error code offset. 
 
Device is holding due to a MSD error. 
 
Cannot perform requested operation. 
 
Device is initializing. 
 
Invalid LUN specified. 
 
The media interface layer cannot support the device. 
 
Device is running and available for data transfers. 
 
No dynamic memory is available. 
 
Command had a phase error at the device. 
 
An error occurred while resetting the device. 
 
Device is being reset. 
 
This function starts a mass storage read, utilizing the function USBHostMSDTransfer(); 
 
This function starts a mass storage write, utilizing the function USBHostMSDTransfer(); 
Module
MLA - USB Library Help Version : 2.16
http://www.microchip.com/mla