83Plus:Software:usb8x/Asm Interface/SetupInPipe

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

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

Synopsis

Name: SetupInPipe

Minimum usb8x version: 0.05

Sets up an incoming pipe.

Inputs

  • C: Pipe type (pipeBulk or pipeInt)
  • D: Packet size, in 8-byte chunks
  • E: Polling interval
  • HL: Address of callback routine

Outputs

None

Destroys

  • AF, BC, DE, HL

Notes

The [[../AutoSetup|AutoSetup]] entry point automatically sets up incoming and outgoing pipes. You don't need to use this routine if you use AutoSetup.

See Also

  • [[../SetupOutPipe|SetupOutPipe]] - Sets up an outgoing pipe