Jump to main content

##

# 3.4.4.2 USB_HOST_CDC_Close Function

## C

    void USB_HOST_CDC_Close(
        USB_HOST_CDC_HANDLE cdcDeviceHandle
    );

## Summary

This function will close the open CDC device. This closes the association between the application entity that opened the device and device. The driver handle becomes invalid.

## Precondition

None.

## Parameters

Parameters | Description
cdcDeviceHandle | handle to the CDC device obtained from the USB_HOST_CDC_Open() function.

## Returns

None.

## Remarks

The device handle becomes invalid after calling this function.