www.ti.com

EMAC Module Registers

5.28 Receive Channel Free Buffer Count Registers (RX0FREEBUFFER-RX7FREEBUFFER)

The receive channel 0-7 free buffer count register (RXnFREEBUFFER) is shown in Figure 66 and described in Table 65.

 

Figure 66. Receive Channel n Free Buffer Count Register (RXnFREEBUFFER)

31

 

 

16

 

 

 

 

 

 

 

Reserved

 

 

 

 

 

 

 

R-0

15

 

 

0

 

 

 

 

 

 

 

RXnFREEBUF

 

 

 

 

 

 

 

WI-0

LEGEND: R = Read only; WI = Write to increment; -n= value after reset

 

Table 65. Receive Channel n Free Buffer Count Register (RXnFREEBUFFER) Field Descriptions

 

 

 

 

Bit

Field

Value

Description

 

 

 

 

31-16

Reserved

0

Reserved

 

 

 

 

15-0

RXnFREEBUF

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 RXnFLOWTHRESH 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.

 

 

 

 

SPRUFL5B –April 2011

EMAC/MDIO Module

109

Submit Documentation Feedback

 

 

© 2011, Texas Instruments Incorporated

Page 109
Image 109
Texas Instruments TMS320C674X manual Receive Channel n Free Buffer Count Register RXnFREEBUFFER