资源简介
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 ethUIP\main.c
文件 2965 2006-04-29 12:01 ethUIP\makefile
文件 6315 2006-04-04 22:06 ethUIP\startup\config.h
文件 13961 2005-08-15 23:08 ethUIP\startup\consol.c
文件 7147 2005-08-15 23:07 ethUIP\startup\consol.h
文件 1696 2005-08-13 17:33 ethUIP\startup\ea_init.h
文件 14690 2005-10-14 21:08 ethUIP\startup\fr
文件 3177 2005-08-13 17:34 ethUIP\startup\fr
文件 2547 2005-03-15 21:27 ethUIP\startup\general.h
文件 31607 2006-01-13 14:39 ethUIP\startup\lpc2xxx.h
文件 2776 2006-03-28 16:08 ethUIP\startup\makefile
文件 405 2005-08-15 23:10 ethUIP\startup\printf_P.h
文件 9701 2006-02-06 10:07 ethUIP\startup\startup.S
文件 2802 2006-01-29 15:58 ethUIP\uip\makefile
文件 5688 2003-10-07 15:23 ethUIP\uip\slipdev.c
文件 2969 2003-10-07 00:42 ethUIP\uip\slipdev.h
文件 47728 2005-12-29 22:05 ethUIP\uip\uip.c
文件 4453 2005-12-29 23:16 ethUIP\uip\uip_arch.c
文件 4414 2003-10-06 17:10 ethUIP\uip\uip_arch.h
文件 13590 2005-12-29 22:06 ethUIP\uip\uip_arp.c
文件 1543 2005-12-29 20:26 ethUIP\include\ethapi.h
文件 2547 2005-08-19 10:57 ethUIP\include\general.h
文件 2406 2003-10-07 00:56 ethUIP\include\httpd.h
文件 27991 2005-12-29 15:22 ethUIP\include\osapi.h
文件 31865 2005-12-29 21:29 ethUIP\include\uip.h
文件 16235 2005-12-29 22:08 ethUIP\include\uipopt.h
文件 4414 2003-10-06 17:10 ethUIP\include\uip_arch.h
文件 6366 2005-12-29 21:20 ethUIP\include\uip_arp.h
文件 6640 2003-10-07 15:22 ethUIP\httpd\cgi.c
文件 1972 2003-10-07 15:22 ethUIP\httpd\cgi.h
............此处省略62个文件信息
评论
共有 条评论