Host Pipe n Configuration

Name:
PCFGn
Offset:
0x100 + (n x 0x20) [ID-0000306e]
Reset:
0x0000
Access:
PAC Write-Protection
Bit76543210
PTYPE[2:0]BKPTOKEN[1:0]
AccessR/WR/WR/WR/WR/WR/W
Reset000000

Bits 5:3 – PTYPE[2:0]: Type of the Pipe

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.

Bit 2 – BK: Pipe Bank

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
  1. 1.Bank field is ignored when PTYPE is configured as EXTENDED.
ValueDescription
0 A single bank is used for the pipe.
1 A dual bank is used for the pipe.

Bits 1:0 – PTOKEN[1:0]: Pipe Token

Pipe Token

These bits contains the pipe token.

PTOKEN[1:0](1) Description
0x0 SETUP(2)
0x1 IN
0x2 OUT
0x3 Reserved
  1. 1.PTOKEN field is ignored when PTYPE is configured as EXTENDED.
  2. 2.Available only when PTYPE is configured as CONTROL

Theses bits are cleared upon sending a USB reset.