83Plus:Software:usb8x/Asm Interface/PipeInfo

From WikiTI
Jump to: navigation, search

Synopsis

Name: PipeInfo

Minimum usb8x version: 0.08

Gets direction, type, and packet size for a pipe

Inputs

  • B: Pipe number

Outputs

  • B: pipeBulk or pipeInt
  • C: Packet size
  • D: pipeIn and/or pipeOut
  • NC: Success

Destroys

  • A, HL

Notes

The output of this routine is of questionable accuracy. If possible use [[../FindPipe|FindPipe]] instead.

See Also

  • [[../FindPipe|FindPipe]] - Returns the number of a pipe matching certain characteristics.