AN2836 Freescale Semiconductor / Motorola, AN2836 Datasheet - Page 31

no-image

AN2836

Manufacturer Part Number
AN2836
Description
Web Server Development with MC9S12NE64 and OpenTCP
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
Excerpt from FileSys.c:
/******************************************************************************
/********* Include Web server files here *************/
#include "index.h"
#include "NE64DemoNOPIC.h"
#include "demo.h"
#include "devtools.h"
#include "features.h"
#include "freescale.h"
#include "space.h"
/*****************************************************/
const TFileEntry FAT [] = {
};
mainwebserver.c
mainwebserver.c contains main() for the user application. In main(), the MC9S12NE64 MCU and its
integrated Ethernet controller are configured and enabled. main() also initializes the OpenTCP TCP/IP
stack then waits and serves a web page on request.
mainwebserver.c Source Code:
/**************************************************************************
#include "debug.h"
Freescale Semiconductor
*
*
*
* File Name
* Description
*
* Version : 1.0
* Date
*
*
******************************************************************************/
#include "FileSys.h"
*
*
*
*
*
***************************************************************************/
{
{
{
{
{
{
{
{
115,
247,
160,
139,
242,
193,
120,
0,
Copyright (C) 2003 Freescale Semiconductor, Inc.
All Rights Reserved
: Mar/05/2004
and 2000-2002 Viola Systems Ltd.
index_file,
NE64DemoNOPIC_file,
demo_file,
devtools_file,
features_file,
freescale_file,
space_file,
(unsigned char *)0,
: FileSys.c
:
Web Server Development with MC9S12NE64 and OpenTCP, Rev. 0
(c) Freescale
DEMO_FILE_LEN
INDEX_FILE_LEN
SPACE_FILE_LEN
DEVTOOLS_FILE_LEN
FEATURES_FILE_LEN
FREESCALE_FILE_LEN
0
Inc. 2004 All rights reserved
}
Overview of a Web Server Developed Using OpenTCP TCP/IP Stack
NE64DEMONOPIC_FILE_LEN
},
},
},
},
},
},
},
31

Related parts for AN2836