USB Libraries Help > USB Host Libraries > USB CDC Host Library > Library Interface > c) CDC Class-specific Functions > USB_HOST_CDC_ACM_ControlLineStateSet Function
MPLAB Harmony USB Stack
USB_HOST_CDC_ACM_ControlLineStateSet Function

This function sends a request to the attached to set its Control Line State. The function schedules a SET CONTROL LINE STATE control transfer. If successful, the requestHandle parameter will contain a valid request handle, else it will contain USB_HOST_CDC_REQUEST_HANDLE_INVALID. When completed, the CDC client driver will generate a USB_HOST_CDC_EVENT_ACM_SET_CONTROL_LINE_STATE_COMPLETE event.

C
USB_HOST_CDC_RESULT USB_HOST_CDC_ACM_ControlLineStateSet(
    USB_HOST_CDC_HANDLE handle, 
    USB_HOST_CDC_REQUEST_HANDLE * requestHandle, 
    USB_CDC_CONTROL_LINE_STATE * controlLineState
);
Remarks

Refer to usb_host_cdc_acm.h for usage information.