HPTXSTS

         Host Periodic Transmit FIFO/Queue Status Register
      
Module Instance Base Address Register Address
i_usbotg_0_DWC_otg_intreg 0xFFB00000 0xFFB00410
i_usbotg_1_DWC_otg_intreg 0xFFB40000 0xFFB40410

Size: 32

Offset: 0x410

Access: RO

Important: The value of a reserved bit must be maintained in software. When you modify registers containing reserved bit fields, you must use a read-modify-write operation to preserve state and prevent indeterminate system behavior.
Bit Fields
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16

PTxQTop

RO 0x0

PTxQSpcAvail

RO 0x10

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

PTxFSpcAvail

RO 0x2000

HPTXSTS Fields

Bit Name Description Access Reset
31:24 PTxQTop
Top of the Periodic Transmit Request Queue (PTxQTop)
This indicates the Entry in the Periodic Tx Request Queue that is
currently being processes by the MAC.
This register is used For debugging.
 Bit [31]: Odd/Even (micro)Frame
- 1'b0: send in even (micro)Frame
- 1'b1: send in odd (micro)Frame
 Bits [30:27]: Channel/endpoint number
 Bits [26:25]: Type
- 2'b00: IN/OUT
- 2'b01: Zero-length packet
- 2'b10: CSPLIT
- 2'b11: Disable channel command
 Bit [24]: Terminate (last Entry For the selected
channel/endpoint)
RO 0x0
23:16 PTxQSpcAvail
Periodic Transmit Request Queue Space Available
(PTxQSpcAvail)
Indicates the number of free locations available to be written in
the Periodic Transmit Request Queue. This queue holds both IN
and OUT requests.
 8'h0: Periodic Transmit Request Queue is full
 8'h1: 1 location available
 8'h2: 2 locations available
 n: n locations available (0 <= n <= 16)
 Others: Reserved
Value Description
0xa 10 locations available
0xb 11 locations available
0xc 12 locations available
0xd 13 locations available
0xe 14 locations available
0xf 15 locations available
0x0 Periodic Transmit Request Queue is full
0x1 1 location available
0x2 2 locations available
0x3 3 locations available
0x4 4 locations available
0x5 5 locations available
0x6 6 locations available
0x7 7 locations available
0x8 8 locations available
0x9 9 locations available
RO 0x10
15:0 PTxFSpcAvail
Periodic Transmit Data FIFO Space Available
(PTxFSpcAvail)
Indicates the number of free locations available to be written to in the Periodic
TxFIFO.
Values are in terms of 32-bit words
 16'h0    : Periodic TxFIFO is full
 16'h1    : 1 word available
 16'h2    : 2 words available
 16'hn    : n words available (where 0  n  32,768)
 16'h8000 : 32,768 words
 Others   : Reserved
RO 0x2000