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
Initialization
Class Drivers
Low-Level API
Using RTUSB-32 with Delphi
Demo Programs
Advanced Topics
RTUSB-32 Reference Manual
|
Using RTUSB-32 with Delphi
Please see section Using Borland Delphi in the RTTarget-32 Programming Manual for general information on compiling and linking On Time RTOS-32 programs with Delphi.
The RTUSB-32 low-level API is contained in unit RTUSB.PAS and can be used as described in the previous sections. Each class driver is contained in a separate unit: USBKeyboard.pas, USBMouse.pas, USBPrinter.pas, USBDisk.pas, and USBAudio.pas respectively. USBKeyboard.pas, USBMouse.pas, and USBDisk are self-initializing. It is sufficient to merely use these units to enable USB keyboard and/or mouse support. For the disk driver, a suitable RTFiles-32 device list is also required.
All Pascal unit source files are located in directory Libdel. The use of RTTarget-32 unit RTTHeap is recommended for best heap efficiency.
Programming with RTUSB-32
Low-Level API
|