USB Libraries Help > USB Host Libraries > USB CDC Host Library > Building the Library
MPLAB Harmony USB Stack
Building the Library

The following three tables list and describe the header (.h) and source (.c) files that implement this library. The parent folder for these files is <install-dir>/framework/usb.

Interface File(s)

This table lists and describes the header files that must be included (i.e., using #include) by any code that uses this library.

Source File Name 
Description 
This header file should be included in any .c file that accesses the CDC Host Client Driver API. 
sub_host_cdc_acm.h 
This header file should be included in any .c file that accesses the CDC Host Client Driver command request API. 
Required File(s)
 
All of the required files listed in the following table are automatically added into the MPLAB X IDE project by the MHC when the library is selected for use. 

This table lists and describes the source and header files that must always be included in the MPLAB X IDE project to build this library.

Source File Name 
Description 
/src/dynamic/usb_host_cdc.c 
This file implements the CDC Host Client Driver interface and should be included in the project if the CDC Host Client Driver operation is desired. 
/src/dynamic/usb_host_cdc_acm.c 
This file implements the CDC Host Client Driver command request functions and should be included if any class specific function must be called. 
Optional File(s)

This table lists and describes the source and header files that may optionally be included if required for the desired implementation.

Source File Name 
Description 
N/A 
There are no optional files for this library. 
Module Dependencies

The USB CDC Host Library depends on the following modules: