English
Language : 

USS-820FD Datasheet, PDF (32/56 Pages) Agere Systems – USB Device Controller
USS-820FD
USB Device Controller
Data Sheet, Rev. 1
August 2004
Register Interface (continued)
Table 30. Receive FIFO Flag Register (RXFLG)—Address: 09H; Default: 0000 1000B
These flags indicate the status of the data packets in the receive FIFO specified by EPINDEX. This register is
endpoint indexed.
Bit 7
RXFIF1
R
Bit 6
RXFIF0
Bit 5
—
—
Bit 4
RXFLUSH
R
Bit 3
Bit 2
RXEMP
RXFULL
R
Bit 1
Bit 0
RXURF
RXOVF
R/W
Bit
Symbol
Function/Description
7:6 RXFIF[1:0] Receive FIFO Index Flags (Read Only). These read-only flags indicate which data
packets are present in the receive FIFO (see below).
RXFIF[1:0]
00
01
10
11
Data Sets Present
ds1
ds0
Status
No
No
Empty
No
Yes
1 set
Yes
No
1 set
Yes
Yes
2 sets
The RXFIF bits are updated after each write to RXCNT to reflect the addition of a data
packet. Likewise, the RXFIF bits are cleared in sequence after each setting of the
RXFFRC bit. The next-state table for RXFIF bits is shown below for operation in dual-
packet mode.
RXFIF[1:0]
00
01
10
11
Operation
Advance Write Marker
Advance Write Marker
Advance Write Marker
Advance Write Marker
Not Possible—Device
will NACK any OUT.
Next RXFIF[1:0]
01
11
11
11
00
Set RXFFRC
01
Set RXFFRC
11
Set RXFFRC
10
Set RXFFRC
00
00
10/01
00
00
Reverse Write Pointer
Unchanged
When the receive FIFO is programmed to operate in single-packet mode (RXSPM set in
EPCON), valid RXFIF states are 00 and 01 only.
In isochronous mode, RXOVF, RXURF, and RXFIF are handled using the following rule:
firmware events cause status change immediately, while USB events cause status
change only at SOF. RXFIF is incremented by the USB and decremented by firmware.
Therefore, setting RXFFRC decrements RFIF immediately. However, a successful USB
transaction within a frame increments RXFIF only at SOF.
If MCSR.FEAT = 1:
An old data set is flushed from an isochronous FIFO if it is not read out by firmware
during the intended frame (see RXFLG.RXFLUSH description). This flush occurs at
SOF, sets RXFLG.RXFLUSH, and causes RXFIF to decrement without firmware
intervention.
32
Agere Systems Inc.