29.01.2015 Views

STM32F101xx, STM32F102xx, STM32F103xx, STM32F105xx and ...

STM32F101xx, STM32F102xx, STM32F103xx, STM32F105xx and ...

STM32F101xx, STM32F102xx, STM32F103xx, STM32F105xx and ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Ethernet (ETH): media access control (MAC) with DMA controller<br />

RM0008<br />

27.8.2 MMC register description<br />

Ethernet MMC control register (ETH_MMCCR)<br />

Address offset: 0x0100<br />

Reset value: 0x0000 0000<br />

The Ethernet MMC Control register establishes the operating mode of the management<br />

counters.<br />

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0<br />

Reserved<br />

MCF<br />

ROR<br />

CSR<br />

CR<br />

rw rw rw rw<br />

Bits 31:4 Reserved<br />

Bit 3 MCF: MMC counter freeze<br />

When set, this bit freezes all the MMC counters to their current value. (None of the MMC<br />

counters are updated due to any transmitted or received frame until this bit is cleared to 0. If<br />

any MMC counter is read with the Reset on Read bit set, then that counter is also cleared in<br />

this mode.)<br />

Bit 2 ROR: Reset on read<br />

When this bit is set, the MMC counters is reset to zero after read (self-clearing after reset). The<br />

counters are cleared when the least significant byte lane (bits [7:0]) is read.<br />

Bit 1 CSR: Counter stop rollover<br />

When this bit is set, the counter does not roll over to zero after it reaches the maximum value.<br />

Bit 0 CR: Counter reset<br />

When it is set, all counters are reset. This bit is cleared automatically after 1 clock cycle.<br />

Ethernet MMC receive interrupt register (ETH_MMCRIR)<br />

Address offset: 0x0104<br />

Reset value: 0x0000 0000<br />

The Ethernet MMC receive interrupt register maintains the interrupts generated when<br />

receive statistic counters reach half their maximum values. (MSB of the counter is set.) It is<br />

a 32-bit wide register. An interrupt bit is cleared when the respective MMC counter that<br />

caused the interrupt is read. The least significant byte lane (bits [7:0]) of the respective<br />

counter must be read in order to clear the interrupt bit.<br />

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0<br />

Reserved<br />

RGUFS<br />

Reserved<br />

RFAES<br />

RFCES<br />

Reserved<br />

rc_r rc_r rc_r<br />

Bits 31:18 Reserved<br />

Bit 17 RGUFS: Received Good Unicast Frames Status<br />

This bit is set when the received, good unicast frames, counter reaches half the maximum<br />

value.<br />

922/995 Doc ID 13902 Rev 9

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!