EMAC Module Registers
1903
SPNU563A – March 2018
Copyright © 2018, Texas Instruments Incorporated
EMAC/MDIO Module
32.5.27 Receive Channel Flow Control Threshold Registers (RX0FLOWTHRESH-
RX7FLOWTHRESH)
The receive channel 0-7 flow control threshold register (RX
n
FLOWTHRESH) is shown in
and
described in
Figure 32-68. Receive Channel n Flow Control Threshold Register (RXnFLOWTHRESH)
(offset = 120h-13Ch)
31
16
Reserved
R-0
15
8
7
0
Reserved
RX
n
FLOWTHRESH
R-0
R/W-0
LEGEND: R/W = Read/Write; R = Read only; -
n
= value after reset
Table 32-66. Receive Channel n Flow Control Threshold Register (RXnFLOWTHRESH)
Field Descriptions
Bit
Field
Value
Description
31-8
Reserved
0
Reserved
7-0
RX
n
FLOWTHRESH
0-FFh
Receive flow threshold. These bits contain the threshold value for issuing flow control on
incoming frames for channel
n
(when enabled).
32.5.28 Receive Channel Free Buffer Count Registers (RX0FREEBUFFER-RX7FREEBUFFER)
The receive channel 0-7 free buffer count register (RX
n
FREEBUFFER) is shown in
and
described in
Figure 32-69. Receive Channel n Free Buffer Count Register (RXnFREEBUFFER)
(offset = 140h-15Ch)
31
16
Reserved
R-0
15
0
RX
n
FREEBUF
WI-0
LEGEND: R = Read only; WI = Write to increment; -
n
= value after reset
Table 32-67. Receive Channel n Free Buffer Count Register (RXnFREEBUFFER) Field Descriptions
Bit
Field
Value
Description
31-16
Reserved
0
Reserved
15-0
RX
n
FREEBUF
0-FFh
Receive free buffer count. These bits contain the count of free buffers available. The
RXFILTERTHRESH value is compared with this field to determine if low priority frames should be
filtered. The RX
n
FLOWTHRESH value is compared with this field to determine if receive flow
control should be issued against incoming packets (if enabled). This is a write-to-increment field.
This field rolls over to 0 on overflow.
If hardware flow control or QOS is used, the host must initialize this field to the number of available
buffers (one register per channel). The EMAC decrements the associated channel register for each
received frame by the number of buffers in the received frame. The host must write this field with
the number of buffers that have been freed due to host processing.