Difference between revisions of "83Plus:Software:usb8x/Asm Interface/SetupOutPipe"

From WikiTI
Jump to: navigation, search
 
(Pipe/Endpoint #)
 
Line 7: Line 7:
  
 
=== Inputs ===
 
=== Inputs ===
 +
* B: Pipe/Endpoint number
 
* C: Pipe type (pipeBulk or pipeInt)
 
* C: Pipe type (pipeBulk or pipeInt)
 
* D: Packet size, in 8-byte chunks
 
* D: Packet size, in 8-byte chunks

Latest revision as of 09:27, 17 August 2006

Synopsis

Name: SetupOutPipe

Minimum usb8x version: 0.05

Sets up an outgoing pipe.

Inputs

  • B: Pipe/Endpoint number
  • C: Pipe type (pipeBulk or pipeInt)
  • D: Packet size, in 8-byte chunks
  • E: Polling interval

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

  • [[../SetupInPipe|SetupInPipe]] - Sets up an incoming pipe