• 大小: 7.35MB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2023-10-16
  • 语言: 其他
  • 标签: ENC28J60  SPI网络  STM32  

资源简介

ENC28J60最全资料,含51,AVR,LPC,STM32程序源代码及源理图及中文DATASHEET,全部调试通过,是卖模块附送的好资料,试试如何?

资源截图

代码片段和文件信息

/**
 * \addtogroup httpd
 * @{
 */

/**
 * \file
 * HTTP server script language C functions file.
 * \author Adam Dunkels 
 *
 * This file contains functions that are called by the web server
 * scripts. The functions takes one argument and the return value is
 * interpreted as follows. A zero means that the function did not
 * complete and should be invoked for the next packet as well. A
 * non-zero value indicates that the function has completed and that
 * the web server should move along to the next script line.
 *
 */

/*
 * Copyright (c) 2001 Adam Dunkels.
 * All rights reserved. 
 *
 * Redistribution and use in source and binary forms with or without 
 * modification are permitted provided that the following conditions 
 * are met: 
 * 1. Redistributions of source code must retain the above copyright 
 *    notice this list of conditions and the following disclaimer. 
 * 2. Redistributions in binary form must reproduce the above copyright 
 *    notice this list of conditions and the following disclaimer in the 
 *    documentation and/or other materials provided with the distribution. 
 * 3. The name of the author may not be used to endorse or promote
 *    products derived from this software without specific prior
 *    written permission.  
 *
 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ‘‘AS IS‘‘ AND ANY EXPRESS
 * OR IMPLIED WARRANTIES INCLUDING BUT NOT LIMITED TO THE IMPLIED
 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
 * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
 * DIRECT INDIRECT INCIDENTAL SPECIAL EXEMPLARY OR CONSEQUENTIAL
 * DAMAGES (INCLUDING BUT NOT LIMITED TO PROCUREMENT OF SUBSTITUTE
 * GOODS OR SERVICES; LOSS OF USE DATA OR PROFITS; OR BUSINESS
 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY
 * WHETHER IN CONTRACT STRICT LIABILITY OR TORT (INCLUDING
 * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
 * SOFTWARE EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
 *
 * This file is part of the uIP TCP/IP stack.
 *
 * $Id: cgi.cv 1.23.2.4 2003/10/07 13:22:27 adam Exp $
 *
 */

#include “uip.h“
#include “cgi.h“
#include “httpd.h“
#include “fs.h“

#include 
#include 

static u8_t print_stats(u8_t next);
static u8_t file_stats(u8_t next);
static u8_t tcp_stats(u8_t next);

cgifunction cgitab[] = {
  print_stats   /* CGI function “a“ */
  file_stats    /* CGI function “b“ */
  tcp_stats      /* CGI function “c“ */
};

static const char closed[] =   /*  “CLOSED“*/
{0x43 0x4c 0x4f 0x53 0x45 0x44 0};
static const char syn_rcvd[] = /*  “SYN-RCVD“*/
{0x53 0x59 0x4e 0x2d 0x52 0x43 0x56 
 0x44  0};
static const char syn_sent[] = /*  “SYN-SENT“*/
{0x53 0x59 0x4e 0x2d 0x53 0x45 0x4e 
 0x54  0};
static const char established[] = /*  “ESTABLISHED“*/
{0x45 0x53 0x54 0x41 0x42 0x4c 0x49 0x53

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件       1528  2010-06-17 16:30  网络模块\原理图\ENC28J60.BOM

     文件     182231  2010-06-17 16:29  网络模块\原理图\ENC28J60.pdf

     文件         33  2011-01-02 19:52  网络模块\源代码\51\ReadMe.txt

     文件       2561  2008-02-12 00:15  网络模块\源代码\51\uIP_0.9_51_ENC28J60\arp.h

     文件       6851  2008-10-07 11:45  网络模块\源代码\51\uIP_0.9_51_ENC28J60\cgi.c

     文件       1972  2003-10-07 21:22  网络模块\源代码\51\uIP_0.9_51_ENC28J60\cgi.h

     文件      11442  2011-01-02 16:07  网络模块\源代码\51\uIP_0.9_51_ENC28J60\debug\cgi.lst

     文件      23638  2011-01-02 16:07  网络模块\源代码\51\uIP_0.9_51_ENC28J60\debug\cgi.obj

     文件      23493  2011-01-02 16:07  网络模块\源代码\51\uIP_0.9_51_ENC28J60\debug\enc28j60.lst

     文件      45194  2011-01-02 16:07  网络模块\源代码\51\uIP_0.9_51_ENC28J60\debug\enc28j60.obj

     文件       7500  2011-01-02 16:07  网络模块\源代码\51\uIP_0.9_51_ENC28J60\debug\fs.lst

     文件      21844  2011-01-02 16:07  网络模块\源代码\51\uIP_0.9_51_ENC28J60\debug\fs.obj

     文件      51667  2011-01-02 16:07  网络模块\源代码\51\uIP_0.9_51_ENC28J60\debug\fsdata.lst

     文件      15751  2011-01-02 16:07  网络模块\源代码\51\uIP_0.9_51_ENC28J60\debug\fsdata.obj

     文件      17985  2011-01-02 16:07  网络模块\源代码\51\uIP_0.9_51_ENC28J60\debug\httpd.lst

     文件      28210  2011-01-02 16:07  网络模块\源代码\51\uIP_0.9_51_ENC28J60\debug\httpd.obj

     文件       8573  2011-01-02 16:07  网络模块\源代码\51\uIP_0.9_51_ENC28J60\debug\main.lst

     文件      32193  2011-01-02 16:07  网络模块\源代码\51\uIP_0.9_51_ENC28J60\debug\main.obj

     文件       4857  2011-01-02 16:07  网络模块\源代码\51\uIP_0.9_51_ENC28J60\debug\MCU_UART.lst

     文件       4101  2011-01-02 16:07  网络模块\源代码\51\uIP_0.9_51_ENC28J60\debug\MCU_UART.obj

     文件       1655  2011-01-02 16:07  网络模块\源代码\51\uIP_0.9_51_ENC28J60\debug\spi.lst

     文件      15767  2011-01-02 16:07  网络模块\源代码\51\uIP_0.9_51_ENC28J60\debug\spi.obj

     文件     276276  2011-01-02 16:07  网络模块\源代码\51\uIP_0.9_51_ENC28J60\debug\uIP

     文件      58144  2011-01-02 16:07  网络模块\源代码\51\uIP_0.9_51_ENC28J60\debug\uIP.hex

     文件        303  2011-01-02 16:07  网络模块\源代码\51\uIP_0.9_51_ENC28J60\debug\uIP.lnp

     文件      74190  2011-01-02 16:07  网络模块\源代码\51\uIP_0.9_51_ENC28J60\debug\uip.lst

     文件      92492  2011-01-02 16:07  网络模块\源代码\51\uIP_0.9_51_ENC28J60\debug\uIP.m51

     文件      56672  2011-01-02 16:07  网络模块\源代码\51\uIP_0.9_51_ENC28J60\debug\uip.obj

     文件       2012  2011-01-02 16:07  网络模块\源代码\51\uIP_0.9_51_ENC28J60\debug\uIP.plg

     文件       7399  2011-01-02 16:07  网络模块\源代码\51\uIP_0.9_51_ENC28J60\debug\uip_arch.lst

............此处省略187个文件信息

评论

共有 条评论