STM32F10X+ENC28J60 TCP以太网连接


STM32F103XX+ENC28J60的TCP连接,里面有我自己写的一个简单的连接网络的一个简单例程,也有ENC28J60资料与及一些简单服务器连接的程序
资源截图
代码片段和文件信息
/******************************************************************************
 * @file:    core_cm3.c
 * @purpose: CMSIS Cortex-M3 Core Peripheral Access layer Source File
 * @version: V1.10
 * @date:    24. Feb. 2009
 *----------------------------------------------------------------------------
 *
 * Copyright (C) 2009 ARM Limited. All rights reserved.
 *
 * ARM Limited (ARM) is supplying this software for use with Cortex-Mx 
 * processor based microcontrollers.  This file can be freely distributed 
 * within development tools that are supporting such ARM based processors. 
 *
 * THIS SOFTWARE IS PROVIDED “AS IS“.  NO WARRANTIES WHETHER EXPRESS IMPLIED
 * OR STATUTORY INCLUDING BUT NOT LIMITED TO IMPLIED WARRANTIES OF
 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE.
 * ARM SHALL NOT IN ANY CIRCUMSTANCES BE LIABLE FOR SPECIAL INCIDENTAL OR
 * CONSEQUENTIAL DAMAGES FOR ANY REASON WHATSOEVER.
 *
 ******************************************************************************/



#include 


/* define compiler specific symbols */
#if defined   ( __CC_ARM   )
  #define __ASM            __asm           /*!< asm keyword for armcc          */
  #define __INLINE         __inline        /*!< inline keyword for armcc        */

#elif defined ( __ICCARM__ )
  #define __ASM           __asm            /*!< asm keyword for iarcc           */
  #define __INLINE        inline           /*!< inline keyword for iarcc. Only avaiable in High optimization mode! */
  #define __nop           __no_operation   /*!< no operation intrinsic in iarcc */

#elif defined (  __GNUC__  )
  #define __ASM             asm            /*!< asm keyword for gcc            */
  #define __INLINE          inline         /*!< inline keyword for gcc         */
#endif



#if defined ( __CC_ARM   ) /*------------------RealView Compiler -----------------*/

/**
 * @brief  Return the Process Stack Pointer
 *
 * @param  none
 * @return uint32_t ProcessStackPointer
 *
 * Return the actual process stack pointer
 */
__ASM uint32_t __get_PSP(void)
{
  mrs r0 psp
  bx lr
}

/**
 * @brief  Set the Process Stack Pointer
 *
 * @param  uint32_t Process Stack Pointer
 * @return none
 *
 * Assign the value ProcessStackPointer to the MSP 
 * (process stack pointer) Cortex processor register
 */
__ASM void __set_PSP(uint32_t topOfProcStack)
{
  msr psp r0
  bx lr
}

/**
 * @brief  Return the Main Stack Pointer
 *
 * @param  none
 * @return uint32_t Main Stack Pointer
 *
 * Return the current value of the MSP (main stack pointer)
 * Cortex processor register
 */
__ASM uint32_t __get_MSP(void)
{
  mrs r0 msp
  bx lr
}

/**
 * @brief  Set the Main Stack Pointer
 *
 * @param  uint32_t Main Stack Pointer
 * @return none
 *
 * Assign the value mainStackPointer to the MSP 
 * (main stack pointer) Cortex processor register
 */
__ASM void __set_MSP(uint32_t mainStackP

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

     文件       8366  2006-03-28 16:16  ethUIPmain.c

     文件       2965  2006-04-29 12:01  ethUIPmakefile

     文件       6315  2006-04-04 22:06  ethUIPstartupconfig.h

     文件      13961  2005-08-15 23:08  ethUIPstartupconsol.c

     文件       7147  2005-08-15 23:07  ethUIPstartupconsol.h

     文件       1696  2005-08-13 17:33  ethUIPstartupea_init.h

     文件      14690  2005-10-14 21:08  ethUIPstartupframework.c

     文件       3177  2005-08-13 17:34  ethUIPstartupframework.h

     文件       2547  2005-03-15 21:27  ethUIPstartupgeneral.h

     文件      31607  2006-01-13 14:39  ethUIPstartuplpc2xxx.h

     文件       2776  2006-03-28 16:08  ethUIPstartupmakefile

     文件        405  2005-08-15 23:10  ethUIPstartupprintf_P.h

     文件       9701  2006-02-06 10:07  ethUIPstartupstartup.S

     文件       2802  2006-01-29 15:58  ethUIPuipmakefile

     文件       5688  2003-10-07 15:23  ethUIPuipslipdev.c

     文件       2969  2003-10-07 00:42  ethUIPuipslipdev.h

     文件      47728  2005-12-29 22:05  ethUIPuipuip.c

     文件       4453  2005-12-29 23:16  ethUIPuipuip_arch.c

     文件       4414  2003-10-06 17:10  ethUIPuipuip_arch.h

     文件      13590  2005-12-29 22:06  ethUIPuipuip_arp.c

     文件       1543  2005-12-29 20:26  ethUIPincludeethapi.h

     文件       2547  2005-08-19 10:57  ethUIPincludegeneral.h

     文件       2406  2003-10-07 00:56  ethUIPincludehttpd.h

     文件      27991  2005-12-29 15:22  ethUIPincludeosapi.h

     文件      31865  2005-12-29 21:29  ethUIPincludeuip.h

     文件      16235  2005-12-29 22:08  ethUIPincludeuipopt.h

     文件       4414  2003-10-06 17:10  ethUIPincludeuip_arch.h

     文件       6366  2005-12-29 21:20  ethUIPincludeuip_arp.h

     文件       6640  2003-10-07 15:22  ethUIPhttpdcgi.c

     文件       1972  2003-10-07 15:22  ethUIPhttpdcgi.h

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

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。

发表评论

评论列表(条)