Mistake on this page?
Report an issue in GitHub or email us
Macros
EMAC configuration

Configuration options for the LPC EMAC. More...

Macros

#define LPC_EMAC_RMII   1
 Selects RMII or MII connection type in the EMAC peripheral. More...
 
#define LPC_NUM_BUFF_RXDESCS   4
 Defines the number of descriptors used for RX. More...
 
#define LPC_NUM_BUFF_TXDESCS   9
 Defines the number of descriptors used for TX. More...
 
#define LPC_TX_PBUF_BOUNCE_EN   1
 Set this define to 1 to enable bounce buffers for transmit memory buffers that cannot be sent via the zero-copy method. More...
 

Detailed Description

Configuration options for the LPC EMAC.

Macro Definition Documentation

#define LPC_EMAC_RMII   1

Selects RMII or MII connection type in the EMAC peripheral.

Use the RMII or MII driver variant .

Definition at line 76 of file lpc_emac_config.h.

#define LPC_NUM_BUFF_RXDESCS   4

Defines the number of descriptors used for RX.

This must be a minimum value of 2.

Definition at line 81 of file lpc_emac_config.h.

#define LPC_NUM_BUFF_TXDESCS   9

Defines the number of descriptors used for TX.

Must be a minimum value of 2.

Definition at line 86 of file lpc_emac_config.h.

#define LPC_TX_PBUF_BOUNCE_EN   1

Set this define to 1 to enable bounce buffers for transmit memory buffers that cannot be sent via the zero-copy method.

Some chained buffers may have a payload address that links to an area of memory that cannot be used for transmit DMA operations. If this define is set to 1, an extra check will be made with the buffers. If a buffer is determined to be non-usable for zero-copy, a temporary bounce buffer will be created and used instead.

Definition at line 96 of file lpc_emac_config.h.

Important Information for this Arm website

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies. If you are not happy with the use of these cookies, please review our Cookie Policy to learn how they can be disabled. By disabling cookies, some features of the site will not work.