USB Library
USBIsDeviceSuspended Function
Syntax
bool USBIsDeviceSuspended();
Description

This function indicates if the USB module is in suspend mode. This function does NOT indicate that a suspend request has been received. It only reflects the state of the USB module. 

Typical Usage:

if(USBIsDeviceSuspended() == true)
{
    return;
}
// otherwise do some application specific tasks
Preconditions

None

Returns

None

Remarks

None

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