文件名称:241000DM9000

  • 所属分类:
  • 并口编程
  • 资源属性:
  • [C/C++] [源码]
  • 上传时间:
  • 2012-11-26
  • 文件大小:
  • 676kb
  • 下载次数:
  • 0次
  • 提 供 者:
  • 程**
  • 相关连接:
  • 下载说明:
  • 别用迅雷下载,失败请重下,重下不扣分!

介绍说明--下载内容均来自于网络,请自行研究使用

int main (void)

{

PINSEL0 = (0x00000005)|(0x03<<18) //P0.0 P0.1用作UART

PINSEL1 = 0x00000000 //其余为GPIO



  ReadModuleP() // 读参数

SetNetPort()

  InitializeInterrupt()

  InitNic(0)       //RTL8019芯片初始化,在global.c中定义

  

  //WDTC =27662592 //2s

  //WDMOD =0X03

  

  printf("Start OK!\n")   

while(1)

{

if(WorkMode==CLIENTHOST) //TCP客户端

ClientHostProcess()



if(WorkMode==SERVERHOST) //tcp 服务器

ServerHostProcess()



if(WorkMode==UDPHOST) //UDP 模式

UDPHostProcess()



}

return 0

}

- int main (void)

{

  PINSEL0 = (0x00000005)|(0x03<<18)    //P0.0 P0.1用作UART

  PINSEL1 = 0x00000000    //其余为GPIO

 

  ReadModuleP()   // 读参数

  SetNetPort() 

  InitializeInterrupt()    

  InitNic(0)       //RTL8019芯片初始化,在global.c中定义

  

  //WDTC =27662592  //2s

  //WDMOD =0X03

  

  printf("Start OK!\n")   

  while(1)

  {

     if(WorkMode==CLIENTHOST)    //TCP客户端

       ClientHostProcess()

       

     if(WorkMode==SERVERHOST)       //tcp 服务器

       ServerHostProcess()



     if(WorkMode==UDPHOST)  //UDP 模式

       UDPHostProcess()



   }  

   return 0

}


(系统自动生成,下载前可以参看下载内容)

下载文件列表

241000DM9000\DM9000v1.1.HEX

............\USER\main.c

............\TCPIP\ARP.C

............\.....\Ethernet.c

............\.....\Hardware.c

............\.....\Hardware.c.bak

............\.....\http.c

............\.....\ICMP.C

............\.....\IP.C

............\.....\TCP.C

............\.....\UDP.C

............\.....\zlg_socket.c

............\INCLUDE\ARP.H

............\.......\at24c.h

............\.......\cfg_net.h

............\.......\driver.h

............\.......\ETHERNET.H

............\.......\HARDWARE.H

............\.......\http.h

............\.......\ICMP.H

............\.......\IP.H

............\.......\main.h

............\.......\TCP.H

............\.......\UDP.H

............\.......\Udp_bak.h

............\.......\UTILITS.H

............\.......\zlg_socket.h

............\HAL\at24c04.c

............\...\driver.c

............\DM9000\DM9000ARel.mcp

............\......\......_Data\CWSettingsWindows.stg

............\......\...........\Release\DM9000.axf

............\......\...........\.......\DM9000.bin

............\......\...........\.......\TargetDataWindows.tdt

............\......\...........\.......\ObjectCode\ARP.o

............\......\...........\.......\..........\at24c04.o

............\......\...........\.......\..........\driver.o

............\......\...........\.......\..........\Ethernet.o

............\......\...........\.......\..........\Hardware.o

............\......\...........\.......\..........\http.o

............\......\...........\.......\..........\ICMP.o

............\......\...........\.......\..........\IP.o

............\......\...........\.......\..........\IRQ.o

............\......\...........\.......\..........\main.o

............\......\...........\.......\..........\Startup.o

............\......\...........\.......\..........\target.o

............\......\...........\.......\..........\TCP.o

............\......\...........\.......\..........\UDP.o

............\......\...........\.......\..........\zlg_socket.o

............\......\...........\DebugRel\TargetDataWindows.tdt

............\......\...........\.....\TargetDataWindows.tdt

............\......\......ARel_Data\CWSettingsWindows.stg

............\......\...............\Release\DM9000ARel.axf

............\......\...............\.......\TargetDataWindows.tdt

............\......\...............\.......\ObjectCode\ARP.o

............\......\...............\.......\..........\at24c04.o

............\......\...............\.......\..........\driver.o

............\......\...............\.......\..........\Ethernet.o

............\......\...............\.......\..........\Hardware.o

............\......\...............\.......\..........\http.o

............\......\...............\.......\..........\ICMP.o

............\......\...............\.......\..........\IP.o

............\......\...............\.......\..........\IRQ.o

............\......\...............\.......\..........\main.o

............\......\...............\.......\..........\Startup.o

............\......\...............\.......\..........\target.o

............\......\...............\.......\..........\TCP.o

............\......\...............\.......\..........\UDP.o

............\......\...............\.......\..........\zlg_socket.o

............\......\...............\DebugRel\TargetDataWindows.tdt

............\......\...............\.....\TargetDataWindows.tdt

............\BOOT\config.h

............\....\INCLUDES.H

............\....\IRQ.s

............\....\LPC2294.h

............\....\mem_c.scf

............\....\Startup.s

............\....\Startup.s.bak

............\....\target.c

............\....\target.h

............\未命名项目.IMB

............\未命名项目.IMD

............\未命名项目.IAB

............\未命名项目.IAD

............\未命名项目.PR

............\未命名项目.PS

............\未命名项目.PFI

............\未命名项目.PO

............\未命名项目.PRI

............\未命名项目.WK3

............\DM9000\DM9000_Data\Release\ObjectCode

............\......\......ARel_Data\Release\ObjectCode

............\......\......_Data\Release

............\......\...........\DebugRel

............\......\...........\

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度更多...
  • 请直接用浏览器下载本站内容,不要使用迅雷之类的下载软件,用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*主  题:
*内  容:
*验 证 码:

源码中国 www.ymcn.org