gnptxsts

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

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

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
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 INOUTTK
0x1 ZEROTX
0x2 PINGCSPLIT
0x3 CHNHALT
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 FULL
0x1 QUE1
0x2 QUE2
0x3 QUE3
0x4 QUE4
0x5 QUE5
0x6 QUE6
0x7 QUE7
0x8 QUE8
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