83Plus:Software:usb8x/Asm Interface/DriverInit

From WikiTI
Revision as of 15:35, 9 September 2006 by Dan Englender (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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