GNPTXSTS

         Non-periodic Transmit FIFO/Queue Status Register
      
Module Instance Base Address Register Address
i_usbotg_0_DWC_otg_intreg 0xFFB00000 0xFFB0002C
i_usbotg_1_DWC_otg_intreg 0xFFB40000 0xFFB4002C

Size: 32

Offset: 0x2C

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

RESERVED

RO 0x0

NPTxQTop

RO 0x0

NPTxQSpcAvail

RO 0x8

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

NPTxFSpcAvail

RO 0x2000

GNPTXSTS Fields

Bit Name Description Access Reset
31 RESERVED
RESERVED
RO 0x0
30:24 NPTxQTop
Top of the Non-periodic Transmit Request Queue (NPTxQTop)
Entry in the Non-periodic Tx Request Queue that is currently
being processed by the MAC.
 Bits [30:27]: Channel/endpoint number
 Bits [26:25]:
- 2'b00: IN/OUT token
- 2'b01: Zero-length transmit packet (device IN/host OUT)
- 2'b10: PING/CSPLIT token
- 2'b11: Channel halt command
 Bit [24]: Terminate (last Entry For selected channel/endpoint)
Value Description
0x0 IN/OUT token
0x1 Zero-length transmit packet (device IN/host OUT)
0x2 PING/CSPLIT token
0x3 Channel halt command
RO 0x0
23:16 NPTxQSpcAvail
Non-periodic Transmit Request Queue Space Available
(NPTxQSpcAvail)
Indicates the amount of free space available in the Non-periodic
Transmit Request Queue. This queue holds both IN and OUT
requests in Host mode. Device mode has only IN requests.
 8'h0: Non-periodic Transmit Request Queue is full
 8'h1: 1 location available
 8'h2: 2 locations available
 n: n locations available (0 <= n <= 8)
 Others: Reserved
Value Description
0x0 Non-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
RO 0x8
15:0 NPTxFSpcAvail
Non-periodic TxFIFO Space Avail (NPTxFSpcAvail)
Indicates the amount of free space available in the Non-periodic
TxFIFO.
Values are in terms of 32-bit words.
 16'h0: Non-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 available
 Others: Reserved
RO 0x2000