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

From WikiTI
Jump to: navigation, search
 
(** Silverlink inputs changed **)
Line 7: Line 7:
  
 
=== Inputs ===
 
=== Inputs ===
* DE: Callback routine (if not using U_CALL interface)
+
* DE: Temporary buffer for descriptors
* HL: Temporary buffer for descriptors
+
  
 
=== Outputs ===
 
=== Outputs ===
Line 17: 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, you don't need to set the callback address for this routine.  The routine you provided for U_CALL_INIT will be used.
+
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.
  
 
== See Also ==
 
== See Also ==
 
* [[../SilverSend|SilverSend]] - Send data via SilverLink
 
* [[../SilverSend|SilverSend]] - Send data via SilverLink

Revision as of 22:06, 1 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 BC.

See Also

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