Difference between revisions of "83Plus:Software:usb8x/Asm Interface/DriverInit"
From WikiTI
(→Notes: TIOS reqs) |
|||
Line 17: | Line 17: | ||
== Notes == | == Notes == | ||
All other routines, aside from GetVersion and IsDeviceConnected, require the driver to be initialized. Call this routine before attempting to use USB devices or the driver will crash. | All other routines, aside from GetVersion and IsDeviceConnected, require the driver to be initialized. Call this routine before attempting to use USB devices or the driver will crash. | ||
+ | |||
+ | If this routine returns carry to indicate failure, it generally means the user doesn't have a compatible version of TIOS loaded. TIOS version 2.30 or higher is required by usb8x. | ||
== See Also == | == See Also == | ||
* [[../HostInit|HostInit]] - Initializes the USB device | * [[../HostInit|HostInit]] - Initializes the USB device |
Latest revision as of 14:35, 9 September 2006
Synopsis
Name: DriverInit
Minimum usb8x version: 0.05
Initializes the USB driver.
Inputs
- HL: Address of 128-byte static RAM area for use by the USB driver
Outputs
- NC: Success
Destroys
- AF, BC, DE, HL
Notes
All other routines, aside from GetVersion and IsDeviceConnected, require the driver to be initialized. Call this routine before attempting to use USB devices or the driver will crash.
If this routine returns carry to indicate failure, it generally means the user doesn't have a compatible version of TIOS loaded. TIOS version 2.30 or higher is required by usb8x.
See Also
- [[../HostInit|HostInit]] - Initializes the USB device