Alessandro Angelino / target-mcu-k64f

Fork of target-mcu-k64f by Morpheus

Embed: (wiki syntax)

« Back to documentation index

_hw_enet_mrbr Union Reference

_hw_enet_mrbr Union Reference

HW_ENET_MRBR - Maximum Receive Buffer Size Register (RW) More...

#include <MK64F12_enet.h>


Detailed Description

HW_ENET_MRBR - Maximum Receive Buffer Size Register (RW)

Reset value: 0x00000000U

The MRBR is a user-programmable register that dictates the maximum size of all receive buffers. This value should take into consideration that the receive CRC is always written into the last receive buffer. To allow one maximum size frame per buffer, MRBR must be set to RCR[MAX_FL] or larger. To properly align the buffer, MRBR must be evenly divisible by 16. To ensure this, bits 3-0 are set to zero by the device. To minimize bus usage (descriptor fetches), set MRBR greater than or equal to 256 bytes. This register must be initialized before operation.

Definition at line 3204 of file MK64F12_enet.h.