MPLAB Harmony USB Stack
|
This function sends a request to the attached device to set its line coding. The function schedules a SET LINE CODING 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_LINE_CODING_COMPLETE event.
USB_HOST_CDC_RESULT USB_HOST_CDC_ACM_LineCodingSet( USB_HOST_CDC_HANDLE handle, USB_HOST_CDC_REQUEST_HANDLE * requestHandle, USB_CDC_LINE_CODING * lineCoding );
Refer to usb_host_cdc_acm.h for usage information.
MPLAB Harmony USB Stack
|