Difference between revisions of "83Plus:Software:usb8x/Asm Interface/Silver/SilverInit"
From WikiTI
(→Destroys: IX) |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 7: | Line 7: | ||
=== Inputs === | === Inputs === | ||
− | * DE | + | * DE: Temporary buffer for descriptors |
− | + | ||
=== Outputs === | === Outputs === | ||
Line 14: | Line 13: | ||
=== Destroys === | === Destroys === | ||
− | * AF, BC, DE, HL | + | * AF, BC, DE, HL, IX |
== 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, | + | 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 |
Latest revision as of 13:15, 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, IX
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