Host Pipe n Configuration
Bit7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
PTYPE[2:0] | BK | PTOKEN[1:0] | |||||
Access | R/W | R/W | R/W | R/W | R/W | R/W | |
Reset | 0 | 0 | 0 | 0 | 0 | 0 |
Type of the Pipe
These bits contains the pipe type.
PTYPE[2:0] | Description |
---|---|
0x0 | Pipe is disabled |
0x1 | Pipe is enabled and configured as CONTROL |
0x2 | Pipe is enabled and configured as ISO |
0x3 | Pipe is enabled and configured as BULK |
0x4 | Pipe is enabled and configured as INTERRUPT |
0x5 | Pipe is enabled and configured as EXTENDED |
0x06-0x7 | Reserved |
These bits are cleared upon sending a USB reset.
Pipe Bank
This bit selects the number of banks for the pipe.
For control endpoints writing a zero to this bit is required as only Bank0 is used for Setup/In/Out transactions.
This bit is cleared when a USB reset is sent.
BK(1) | Description |
---|---|
0x0 | Single-bank endpoint |
0x1 | Dual-bank endpoint |
Value | Description |
---|---|
0 | A single bank is used for the pipe. |
1 | A dual bank is used for the pipe. |