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_ohci.h contains all the configurable parameters. Configure these as required. For details of these options, see Configuration Options.
These files in src/usb-host/usb-driver/ohci are the source code files. These files should only be modified by HCC.
|ohci.c||Source file for OHCI code.|
|ohci.h||Header file for OHCI public functions.|
|ohci_hc.c||Source file for OHCI HC descriptor.|
|ohci_hc.h||OHCI-specific header file.|
|ohci_hub.c||Source file for OHCI hub.|
|ohci_hub.h||Header file for OHCI hub public functions.|
|ohci_reg.h||OHCI register file.|
The file src/version/ver_usbh_ohci.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_ohci. They provide functions and elements the core code may need to use, depending on the hardware.
|psp_usbh_ohci.c||Functions source code.|
|psp_usbh_ohci.h||Functions header file.|
The PSP also has a version file, ver_psp_usbh_ohci.h.