Source File List
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/config/config_usbh_lms.h contains all the configurable parameters. Configure these as required. For details of these options, see Configuration Options.
The source code files are in the directory src/usb-host/usb-driver/lms. These files should only be modified by HCC.
|lms.c||Source file for code.|
|lms.h||Header file for code.|
|lms_hc.c||Source file for the HC descriptor.|
|lms_hc.h||HC descriptor header file.|
|lms_hub.c||Source file for hub.|
|lms_hub.h||Header file for hub public functions.|
The file src/version/ver_usbh_lms.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.
Platform Support Package (PSP) Files
These files are in the directory src/psp/target/usb-host-lms. These provide functions and elements the core code may need to use, depending on the hardware.
The files are as follows:
|target/usb-host-lms/lms_hw.c||Functions source code.|
|target/usb-host-lms/lms-hw.h||Header file for functions.|
There is also a version file, ver_psp_usbh_lms_hw.h.