83Plus:Software:usb8x/Asm Interface/SetupInPipe
From WikiTI
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