AN2836 Freescale Semiconductor / Motorola, AN2836 Datasheet - Page 32

no-image

AN2836

Manufacturer Part Number
AN2836
Description
Web Server Development with MC9S12NE64 and OpenTCP
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
Overview of a Web Server Developed Using OpenTCP TCP/IP Stack
#include "datatypes.h"
#include "timers.h"
#include "system.h"
#include "ethernet.h"
#include "arp.h"
#include "ip.h"
#include "tcp_ip.h"
#include "http_server.h"
#include "smtp_client.h"
#include "ne64driver.h"
#include "ne64api.h"
#include "mBuf.h"
#include "ne64config.h"
#include "udp_demo.h"
#include "address.h"
#include "MC9S12NE64.h"
/* Including used modules for compiling procedure */
/* Network Interface definition. Must be somewhere so why not here? :-)*/
struct netif localmachine;
extern void RTI_Enable (void);
extern void porth_isr_handler (void);
extern
tU08
gotlink;
#if USE_SWLED
tU16 LEDcounter=0;
#endif
//============================================================
tU08 OldSwitchValue=255;
tU16 Pot=0;
tU16 OldPot=1050;
tU08 OldB1=255;
tU08 OldB2=255;
tU08 OldB3=255;
tU08 OldB4=255;
//============================================================
#pragma CODE_SEG NON_BANKED
interrupt void PortHInterrupt (void)
{
porth_isr_handler();
}
#pragma CODE_SEG DEFAULT
//============================================================
//Initialize ATD
//============================================================
void ATD_init(void)
Web Server Development with MC9S12NE64 and OpenTCP, Rev. 0
32
Freescale Semiconductor

Related parts for AN2836