This section describes all the source code files included in the system. These files follow the HCC Embedded standard source tree system, described in the HCC Source Tree Guide. All references to file pathnames refer to locations within this standard source tree, not within the package you initially receive.
API Header File
The file src/api/api_usbd_cdcacm.h is the only file that should be included by an application using this module. For details of the API functions, see Application Programming Interface.
The file src/config/config_usbd_cdcacm.h contains all the configurable parameters of the system. Configure these as required. For details of these options, see Configuration Options.
The file src/usb-device/class-drivers/cdc-acm/usbd_cdcacm.c is the main code for USB device CDC-ACM class drivers. This file should only be modified by HCC.
The file src/version/ver_usbd_cdcacm.h contains the version number of this module. This version number is checked by all modules that use this module to ensure system consistency over upgrades.
Windows Driver Files
These files in the directory driver/usb-device/class-drivers/cdc-ser are provided for your convenience:
|usb_cdc_ser.inf||Windows .inf file for starting usbser.sys on Windows based PCs.|
|KB935892.reg||Windows specific patch for usbser.sys to work correctly on older versions of Windows.|