Jump to main content

##

# 3.2.4.15 USB_HOST_DeviceSuspend Function

## C

    USB_HOST_RESULT USB_HOST_DeviceSuspend(
        USB_HOST_DEVICE_OBJ_HANDLE deviceObjHandle
    );

## Summary

The function suspends the specified device.

## Precondition

The USB_HOST_BusEnable() function should have been called.

## Parameters

Parameters | Description
deviceObjHandle | handle to the device to suspend.

## Returns

USB_HOST_RESULT_SUCCESS - The request was accepted and the device will be suspended.

USB_HOST_RESULT_DEVICE_UNKNOWN - The request failed. The device may have been detached.

USB_HOST_RESULT_FAILURE - An unknown failure occurred.

## Remarks

None.