83Plus:Software:usb8x/Asm Interface/FindPipe

From WikiTI
Jump to: navigation, search

Synopsis

Name: FindPipe

Minimum usb8x version: 0.09

Find a pipe matching certain characteristics

Inputs

  • B: pipeInt or pipeBulk
  • C: PipeIn or pipeOut
  • HL: Address of temporary buffer for descriptors

Outputs

  • B: Endpoint address
  • NC: Success

Destroys

  • AF, C, DE, HL

Notes

This routine checks endpoints as listed in the config descriptor, not pipes as actually configured in the hardware.

See Also

  • [[../PipeInfo|PipeInfo]] - Gets information on allocated pipes