RM0008 Ethernet (ETH): media access control (MAC) with DMA controller
Doc ID 13902 Rev 12 969/1096
29.5.6 MAC loopback mode
The MAC supports loopback of transmitted frames onto its receiver. By default, the MAC
loopback function is disabled, but this feature can be enabled by programming the Loopback
bit in the MAC ETH_MACCR register.
29.5.7 MAC management counters: MMC
The MAC management counters (MMC) maintain a set of registers for gathering statistics
on the received and transmitted frames. These include a control register for controlling the
behavior of the registers, two 32-bit registers containing generated interrupts (receive and
transmit), and two 32-bit registers containing masks for the Interrupt register (receive and
transmit). These registers are accessible from the application. Each register is 32 bits wide.
Multicast
1 X X X X X X Pass all frames
X X X X X 1 X Pass all frames
0XX0 0 0X
Pass on Perfect/Group filter match and
drop PAUSE control frames if PCF = 0x
00X0 1 0 X
Pass on hash filter match and drop
PAUSE control frames if PCF = 0x
01X0 1 0 X
Pass on hash or perfect/Group filter
match and drop PAUSE control frames if
PCF = 0x
0XX1 0 0X
Fail on perfect/Group filter match and
drop PAUSE control frames if PCF = 0x
00X1 1 0 X
Fail on hash filter match and drop PAUSE
control frames if PCF = 0x
01X1 1 0 X
Fail on hash or perfect/Group filter match
and drop PAUSE control frames if PCF =
0x
Table 212. Source address filtering table
Frame type
RTP
R
SAIF SAF SA filter operation
Unicast
1 X X Pass all frames
000
Pass status on perfect/Group filter match but do not drop
frames that fail
010Fail status on perfect/group filter match but do not drop frame
001Pass on perfect/group filter match and drop frames that fail
011Fail on perfect/group filter match and drop frames that fail
Table 211. Destination address filtering table (continued)
Frame
type
PM HPF HU DAIF HM PAM DB DA filter operation