Difference between revisions of "83Plus:Software:usb8x/Asm Interface/DriverInit"

From WikiTI
Jump to: navigation, search
 
(min version)
Line 2: Line 2:
 
'''Name:''' DriverInit
 
'''Name:''' DriverInit
  
'''UCALL Address:''' 1
+
'''Minimum usb8x version:''' 0.05
  
 
Initializes the USB driver.
 
Initializes the USB driver.

Revision as of 20:56, 15 July 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.

See Also

[[../HostInit|HostInit]] - Initializes the USB device