83Plus:Software:usb8x/Asm Interface/IsDeviceConnected

From WikiTI
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.