83Plus:Software:usb8x/Asm Interface/IsDeviceConnected

From WikiTI
Revision as of 21:33, 15 July 2006 by Dan Englender (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Synopsis

Name: IsDeviceConnected

Minimum usb8x version: 0.05

Determines whether a USB device is connected.

Inputs

  • None

Outputs

  • NZ: A device is connected

Destroys

  • None

Notes

This routine doesn't actually determine if a device is connected. It determines whether an A-cable is connected to the calculator's USB port. This routine will return positive even if there is no device connected to the other side of the cable. This routine does not require the USB Driver to be initialized prior to use.