USB Libraries Help > USB Host Libraries > USB CDC Host Library > Library Interface
MPLAB Harmony USB Stack
Library Interface
a) Client Access Functions
 
Name 
Description 
 
This function opens the specified CDC device. 
 
This function closes the CDC device. 
 
This function will set an attach event handler. 
 
Registers an event handler with the CDC Host Client Driver. 
 
This function returns the Device Object Handle for this CDC device. 
b) Data Transfer Functions
 
Name 
Description 
 
This function will read data from the attached device. 
 
This function will write data to the attached device. 
 
This function will request Serial State Notification from the attached device. 
c) CDC Class-specific Functions
 
Name 
Description 
 
This function sends a request to the attached device to set its Control Line State. 
 
This function sends a request to the attached device to set its Line Coding. 
d) Data Types and Constants
 
Name 
Description 
 
USB Host CDC Client Driver Event Handler Function Pointer Type. 
 
Return type of the USB CDC Host Client Driver Event Handler. 
 
USB Host CDC Client Driver Invalid Transfer Handle Definition. 
 
USB Host CDC Client Driver Attach Event Handler Function Pointer Type. 
 
USB Host CDC Client Driver Command Event Data. 
 
USB Host CDC Client Driver Command Event Data. 
 
USB Host CDC Client Driver Command Event Data. 
 
USB Host CDC Client Driver Command Event Data. 
 
USB Host CDC Client Driver Event Data. 
 
USB Host CDC Client Driver Event Data. 
 
USB Host CDC Client Driver Event Data. 
 
Defines the type of the CDC Host Client Object. 
 
USB Host CDC Client Driver Request Handle 
 
Defines an Invalid CDC Client Driver Handle. 
 
USB HOST CDC Client Driver Interface 
 
USB Host CDC Client Driver Invalid Request Handle