MPLAB Harmony USB Stack
|
This function returns the suspend state of the specified USB device. This function can be used to check the completion of the Resume operation started by using the USB_HOST_Resume() function. If the Resume signaling has completed, the USB_HOST_IsSuspended() function would return USB_HOST_RESULT_TRUE.
USB_HOST_RESULT USB_HOST_DeviceIsSuspended( USB_HOST_DEVICE_OBJ_HANDLE deviceObjHandle );
The USB_HOST_BusEnable() function should have been called.
Parameters |
Description |
deviceObjHandle |
handle to the device that needs to be checked for suspend status. |
USB_HOST_RESULT_TRUE - if the device is suspended. USB_HOST_RESULT_FALSE - if the device is not suspended. USB_HOST_RESULT_DEVICE_UNKNOWN - the specified device does not exist in the system. USB_HOST_RESULT_FAILURE - An unknown failure occurred.
None.
TBD.
MPLAB Harmony USB Stack
|