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

From WikiTI
Jump to: navigation, search
(No difference)

Revision as of 13:32, 27 August 2006

Synopsis

Name: SilverInit

Minimum usb8x version: 0.11

Initialize the SilverLink driver

Inputs

  • DE: Callback routine (if not using U_CALL interface)
  • HL: 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, you don't need to set the callback address for this routine. The routine you provided for U_CALL_INIT will be used.

See Also

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