83Plus:Software:usb8x/Asm Interface/HostInit

From WikiTI
Jump to: navigation, search

Synopsis

Name: HostInit

Minimum usb8x version: 0.05

Initializes USB host and USB device.

Inputs

  • None

Outputs

  • NC: Success

Destroys

  • AF, BC, DE, HL

Notes

The driver must be initialized with [[../DriverInit|DriverInit]] before this entry point is used. This entry point initializes both the USB hardware locally and on the connected device. It will fail if no device is connected.

See Also

  • [[../HostKill|HostKill]] - Uninitializes the USB hardware