USB Library
USBHostMSDDeviceStatus Function
Syntax
uint8_t USBHostMSDDeviceStatus(
    uint8_t deviceAddress
);
Description

This function determines the status of a mass storage device.

Preconditions

None

Return Values
Return Values 
Description 
Illegal device address, or the device is not an MSD 
MSD is attached and in the process of initializing 
MSD is in normal running mode 
MSD is resetting 
MSD detached. Should not occur 
MSD is holding due to an error. No communication is allowed.
 
Other 
Return codes from USBHostDeviceStatus() will also be returned if the device is in the process of enumerating. 
Remarks

None

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