On Time RTOS-32 Documentation
Welcome
RTTarget-32
RTKernel-32
RTFiles-32
RTIP-32
RTPEG-32
RTUSB-32
RTUSB-32 Programming Manual
Introduction
The Universal Serial Bus
Programming with RTUSB-32
Demo Programs
Advanced Topics
Isochronous Transfers
HID (Human Interface Devices)
Porting RTUSB-32 to other Platforms
Compile Time Options, Rtucfg.h
The System Driver
Source Code Structure
Compiling RTUSB-32
RTUSB-32 Reference Manual
|
Source Code Structure
RTUSB-32 comes with four header files in directory Include:
Filename |
Depends on |
Comments |
Rtucfg.h |
- |
Defines basic data types and compile time options. |
Rtusb.h |
Rtucfg.h |
Defines the RTUSB-32 API. Applications need to include this file. |
Rtuprv.h |
Rtusb.h |
Declares RTUSB-32 internal functions and data structures. The portable USB host stack as well as the host controller drivers need this file. |
Rtusys.h |
Rtucfg.h |
Defines the RTUSB-32 system driver API. |
The USB host protocol stack and the host controller drivers are located in directory Source\Rtu32:
Filename |
Comments |
Rtusb.c |
USB host protocol stack driver and hub class driver. |
Usbutil.c |
Helper functions for memory management used by Rtusb.c, Ehci.c, Uhci.c, Ohci.c, and Xhci.c. |
Usbcfg.c |
Default RTUSBConfig structure. |
Uhci.c |
UHCI host controller driver. |
Ohci.c |
OHCI host controller driver. |
Ehci.c |
EHCI host controller driver. |
Xhci.c |
XHCI host controller driver. |
The class drivers are located in directory Driver\Rtu32. The following files in directory Driver\Rtu32 comprise the class drivers:
Porting RTUSB-32 to other Platforms
The System Driver
Compiling RTUSB-32
|