32.19.1 Host Pipe n Configuration

Name: PCFGn
Offset: 0x100
Reset: 0x00
Property: PAC Write-Protection

Bit 76543210 
   PTYPE[2:0]BKPTOKEN[1:0] 
Access R/WR/WR/WR/WR/WR/W 
Reset 000000 

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

These bits contains the pipe type.

PTYPE[2:0]Description
0x0Pipe is disabled
0x1Pipe is enabled and configured as CONTROL
0x2Pipe is enabled and configured as ISO
0x3Pipe is enabled and configured as BULK
0x4Pipe is enabled and configured as INTERRUPT
0x5Pipe is enabled and configured as EXTENDED
0x06-0x7Reserved

These bits are cleared upon sending a USB reset.

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

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

These bits contains the pipe token.

PTOKEN[1:0](1)Description
0x0SETUP(2)
0x1IN
0x2OUT
0x3Reserved
  1. PTOKEN field is ignored when PTYPE is configured as EXTENDED.
  2. Available only when PTYPE is configured as CONTROL

Theses bits are cleared upon sending a USB reset.