AN2700 Freescale Semiconductor / Motorola, AN2700 Datasheet - Page 32

no-image

AN2700

Manufacturer Part Number
AN2700
Description
Basic Web Server Development with MC9S12NE64 and CMX-MicroNet TCP/IP Stack
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
Overview of a Web Server Developed Using CMX-MicroNet TCP/IP Stack
Excerpt from emac_fifo_cfg.h:
/******************************************************************************
#ifndef EMAC_FIFO_CFG_H
#define EMAC_FIFO_CFG_H
#define BUFMAP 4
#if BUFMAP > 4
#error Illegal FIFO buffer size
#endif
#if BUFMAP == 0
#define EMAC_RX_SZ 128
#define EMAC_TX_SZ 128
#elif BUFMAP == 1
#define EMAC_RX_SZ 256
#define EMAC_TX_SZ 256
#elif BUFMAP == 2
#define EMAC_RX_SZ 512
#define EMAC_TX_SZ 512
#elif BUFMAP == 3
#define EMAC_RX_SZ 1024
#define EMAC_TX_SZ 1024
#elif BUFMAP == 4
#define EMAC_RX_SZ 1536
#define EMAC_TX_SZ 1536
#endif
#endif
32
*
* Freescale Semiconductor, Inc. 2003 All rights reserved
*
*******************************************************************************
*
* $File Name
* Description
*
*
* $Version
* $Date
*
* $Last Modified By : r29303$
*
******************************************************************************/
/* EMAC_FIFO_CFG_H */
Basic Web Server with MC9S12NE64 and CMX-MicroNet TCP/IP Stack, Rev. 0.3
: emac_fifo_cfg.h$
: definition of EMAC Ethernet buffer allocation
: 1.0.3.0$
: Sep-23-2003$
Freescale Semiconductor

Related parts for AN2700