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

From WikiTI
Jump to: navigation, search
(** Silverlink inputs changed **)
(callback bc->ix)
Line 16: Line 16:
  
 
== Notes ==
 
== Notes ==
Initializes the USB host but assumes the USB driver has already been initialized with [[../../DriverInit|DriverInit]].  The callback routine will be called when data is received from the link cable.  If you are using the U_CALL interface, the routine you provided for U_CALL_INIT will be used.  Otherwise, pass the callback routine in BC.
+
Initializes the USB host but assumes the USB driver has already been initialized with [[../../DriverInit|DriverInit]].  The callback routine will be called when data is received from the link cable.  If you are using the U_CALL interface, the routine you provided for U_CALL_INIT will be used.  Otherwise, pass the callback routine in IX.
  
 
== See Also ==
 
== See Also ==
 
* [[../SilverSend|SilverSend]] - Send data via SilverLink
 
* [[../SilverSend|SilverSend]] - Send data via SilverLink

Revision as of 13:51, 8 September 2006

Synopsis

Name: SilverInit

Minimum usb8x version: 0.11

Initialize the SilverLink driver

Inputs

  • DE: Temporary buffer for descriptors

Outputs

  • NC: Success

Destroys

  • AF, BC, DE, HL

Notes

Initializes the USB host but assumes the USB driver has already been initialized with [[../../DriverInit|DriverInit]]. The callback routine will be called when data is received from the link cable. If you are using the U_CALL interface, the routine you provided for U_CALL_INIT will be used. Otherwise, pass the callback routine in IX.

See Also

  • [[../SilverSend|SilverSend]] - Send data via SilverLink