
3–12
3.2.11
ITF Status Register (@34h)
The ITF status register allows access to the registers that control or monitor the ITF. The register is at
address 34h. All the FIFO flag bits are read only, and the FIFO control bits are read/write. Its initial value
is 0000_0000h.
Table 3–11. ITF Status Register
BITS
ACRONYM
FUNCTION NAME
DESCRIPTION
0
1
Full
ITF full flag
When Full is set, the FIFO is full and all writes are ignored.
Empty
Empty
When Empty is set, ITF is empty.
2–22
23–31
Reserved
Reserved
Reserved
ITFSpace
Count
ITF space count in
quadlets
ITF available space for loading the next packet to the ITF. If
ITFSpaceCount is larger than the next packet quadlet, then the
software can burst write the next packet into ITF. It only requires two
host bus transactions: One ITF Status read and one burst write to
ITF
This bit or bits are new to the TSB12LV01A and do not exist in the TSB12C01A.
3.2.12
GRF Status Register (@3Ch)
The GRF status register allows access to the registers that control or monitor the GRF. The register is at
address 3Ch. All the FIFO flag bits are read only, and the FIFO control bits are read/write. Its initial value
is 0000_0000h.
Table 3–12. GRF Status Register
BITS
0
1
ACRONYM
FUNCTION NAME
DESCRIPTION
Empty
GRF empty flag
When Empty is set, the GRF is empty.
cd
GRF controller bit
If cd is 1, a packet token is on the top of GRF. The next GRF read
returns the packet token.
2
PacCom
Packet complete
When cd=1 and PacComp=1 then the next block of data from the
GRF is the last one for the packet. When cd=1 and PacComp=0,
then the next block of data from the GRF is just one block of the
current receive packet.
If the trigger size function is disabled or flush bad packet function is
enabled, cd=1 and PacComp is 1. This means each received packet
only contains one block of GRF data. When cd=0 PacCom is not
valid.
GRF stored data count which includes all stored received packets
and internally-generated packet tokens.
3–12
GRFTotal
Count
Total GRF data count
stored in quadlet
13–22
GRFSize
GRF size
GRF Size=512–(ATFSize+ITFSize)
GRF Size is total assigned space for GRF
23–31
WriteCount
Received data
quadlet count of next
block in GRF
This number is valid when cd bit is 1. It indicates the received data
quadlet count of next block. Write count also contains the packet
token. The packet token is always stored on the top of each receive
data block to provide status report, so software can burst read the
next block from GRF.
For the case of disable trigger size function or enable flush bad
receive packets:
To read each received packet from GRF, first read GRF status
register and make sure cd=1 so the packet token is on the top of
GRF. Next do burst read from GRF to read (WriteCount+1) quadlet,
which includes the packet token.
In cases when the trigger size function enable and FhBad is 0 : read
each block of received data as above, until PacCom is 1, which
indicates that the block is the ending block of the current packet.
This bit or bits are new to the TSB12LV01A and do not exist in the TSB12C01A.