hctsiz15

Module Instance Base Address Register Address
usb0 0xFFB00000 0xFFB006F0
usb1 0xFFB40000 0xFFB406F0

Offset: 0x6F0

Access: RW

Bit Fields
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16

dopng

RW 0x0

pid

RW 0x0

pktcnt

RW 0x0

xfersize

RW 0x0

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

xfersize

RW 0x0

hctsiz15 Fields

Bit Name Description Access Reset
31 dopng

This bit is used only for OUT transfers.Setting this field to 1 directs the host to do PING protocol. Do not Set this bit for IN transfers. If this bit is set for IN transfers it disables the channel.

Value Description
0x0 No ping protocol
0x1 Ping protocol
RW 0x0
30:29 pid

The application programs this field with the type of PID to use forthe initial transaction. The host maintains this field for the rest of the transfer.

Value Description
0x0 DATA0
0x1 DATA2
0x2 DATA1
0x3 MDATA (non-control)/SETUP (control)
RW 0x0
28:19 pktcnt

This field is programmed by the application with the expected number of packets to be transmitted (OUT) or received (IN). The host decrements this count on every successful transmission or reception of an OUT/IN packet. Once this count reaches zero, the application is interrupted to indicate normal completion. The width of this counter is specified as 10 bits.

RW 0x0
18:0 xfersize

for an OUT, this field is the number of data bytes the host sends during the transfer. for an IN, this field is the buffer size that the application has Reserved for the transfer. The application is expected to program this field as an integer multiple of the maximum packet size for IN transactions (periodic and non-periodic).The width of this counter is specified as 19 bits.

RW 0x0