Difference between revisions of "83Plus:Software:usb8x/Asm Interface/SetupInPipe"
From WikiTI
(→Inputs: No longer takes callback) |
|||
(One intermediate revision by the same user not shown) | |||
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 | ||
* E: Polling interval | * E: Polling interval | ||
− | |||
=== Outputs === | === Outputs === | ||
Line 19: | Line 19: | ||
== Notes == | == 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. | + | The [[../AutoSetup|AutoSetup]] entry point automatically sets up incoming and outgoing pipes. You don't need to use this routine if you use AutoSetup. The pipe number is the address with the direction bit removed. So the pipe number for address 81h would just be 01h. |
== See Also == | == See Also == | ||
* [[../SetupOutPipe|SetupOutPipe]] - Sets up an outgoing pipe | * [[../SetupOutPipe|SetupOutPipe]] - Sets up an outgoing pipe |
Latest revision as of 12:37, 28 August 2006
Synopsis
Name: SetupInPipe
Minimum usb8x version: 0.05
Sets up an incoming 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. The pipe number is the address with the direction bit removed. So the pipe number for address 81h would just be 01h.
See Also
- [[../SetupOutPipe|SetupOutPipe]] - Sets up an outgoing pipe