AN2700 Freescale Semiconductor / Motorola, AN2700 Datasheet - Page 30

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 Ether_Init.h:
/* LINK SPEED/DUPLEX CONTROL */
/* ===================== */
/* Configure for manual or auto_neg configuration */
#define AUTO_NEG
#if
/* what I advertise */
#define HALF100
& not= 0...
#define FULL100
& not= 0...
#define HALF10
& not= 0...
#define FULL10
& not= 0...
#else
#define SPEED100
#define FULL_DUPLEX 0
#endif
/* EMAC CONTROL */
/* =============== */
/* Address Filtering; RXMODE setting: PAUSE frame supported, Accept Unique, Brodcast, MultiCast
*/
#define
*/
#define
addresses. */
#define PROM_MODE
*/
/* Ethertype Control */
#define ETYPE_PET
#define ETYPE_EMW
#define ETYPE_IPV6
#define ETYPE_ARP
#define ETYPE_IPV4
#define ETYPE_IEEE
#define ETYPE_ALL
/* Programable Ethertype */
#define ETYPE_PRG
/* Recieve maximum frame length
#define RX_MAX_FL
30
AUTO_NEG
BRODC_REJ
CON_MULTIC
*/
*/
*/
*/
/* AUTO_NEG */
/* AUTO_NEG */
Basic Web Server with MC9S12NE64 and CMX-MicroNet TCP/IP Stack, Rev. 0.3
1
1
1
1
1536
0 /**<
0
0 /**<
0 /**<
0 /**<
1 /**<
1 /**<
0 /**<
0
0
1
0
0
/**< 1 - enable 100 MBps / 0 - enable 10 MBps */
/**< 1 - enable full duplex / 0 - disable
/**< Enter Value if ETYPE_PET is set for filter target
/**< 1 = All frames are received regardless of address.
/**< Receive maximum frame length
1 = accept Accept all ethertypes. THIS OVERRIDES OTHER SETTINGS */
1 = accept Programmable Ethertype, 'etype' parameter is used */
1 = accept Emware Ethertype
1 = accept Internet IP version (IPV6) Ethertype */
1 = accept Address Resolution Protocol (ARP) Ethertype */
1 = accept Internet IP version 4 (IPV6) Ethertype */
1 = accept IEEE802.3 Length Field Ethertype
/**< Configure mode that the device should advertise (advertise=1
/**< Configure mode that the device should advertise (advertise=1
/**< Configure mode that the device should advertise (advertise=1
/**< Configure mode that the device should advertise (advertise=1
/**< 1 - enable AUTO_NEG / 0 - disable AUTO_NEG
/**< 1 = All broadcast address frames are rejected.
/**<
1 = Multicast hash table is used for checking multicast
*/
*/
*/
Freescale Semiconductor
*/
*/
*/
*/

Related parts for AN2700